Skip to main content

Bug Tracker

Side navigation

#13700 closed bug (notabug)

Opened March 31, 2013 03:41PM UTC

Closed April 01, 2013 03:51PM UTC

Removing object element

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:

In Internet Explorer 10, when removing an element that contains an <object> element (in my case, a Flash movie object), an exception occurs due to this call:

elem.getAttribute("classid") === noData

I am not sure what IE10 has changed under the hood, but it seems like <object> elements no longer support the get attribute function.

You can easily recreate this bug in IE10 on a page with a Flash object and jQuery by just calling the following code:

jQuery.acceptData( jQuery("object").get(0) )
Attachments (0)
Change History (3)

Changed April 01, 2013 02:27PM UTC by rwaldron comment:1

owner: →
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—you may need to change this to a specific version depending on the test case.

To get you started, use the appropriate boilerplate:

Open the link and click to "Fork" (in the top menu) to begin.

Also, please read:

Changed April 01, 2013 02:47PM UTC by comment:2

status: pendingnew

I tried recreating it in a fiddle, and figured out it's more subtle than my original report. If I manage to recreate it, I'll create a new bug, but for now I think it is safe to delete this.

Sorry for the trouble!


Changed April 01, 2013 03:51PM UTC by rwaldron comment:3

resolution: → notabug
status: newclosed