Skip to main content

Bug Tracker

Side navigation

#12432 closed bug (duplicate)

Opened August 30, 2012 10:57PM UTC

Closed August 31, 2012 05:09PM UTC

Access is Denied error when wrapping HTML strings in IE 9

Reported by: cap10morgan Owned by: cap10morgan
Priority: low Milestone: None
Component: unfiled Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:
Description

In IE 9 on Windows 7, under some circumstances* when wrapping HTML strings to make them jQuery objects like this: $("<p>Test!</p>"), jQuery 1.8.0 fails with an Access is Denied error.

The same code works just fine under jQuery 1.7.2 in IE 9, and I haven't seen it happen on any other non-IE browser on any version of jQuery.

*It appears that the bug shows up on initial page load, but refreshing the page will make it go away.

Attachments (0)
Change History (4)

Changed August 30, 2012 11:43PM UTC by sindresorhus comment:1

owner: → cap10morgan
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.

Changed August 30, 2012 11:44PM UTC by sindresorhus comment:2

priority: undecidedlow

This might be related to #12282. Make sure you also test using jQuery edge.

Changed August 31, 2012 03:36PM UTC by cap10morgan comment:3

status: pendingnew

Looks like it may have already been fixed in edge: #12266.

Changed August 31, 2012 05:09PM UTC by dmethvin comment:4

resolution: → duplicate
status: newclosed

Duplicate of #12266.Thanks cap10morgan!