Bug Tracker

Opened 7 years ago

Closed 7 years ago

#13700 closed bug (notabug)

Removing object element

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

Description

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) )

Change History (3)

comment:1 Changed 7 years ago by Rick Waldron

Owner: set to nathan@…
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: http://blog.jquery.com/2013/01/15/jquery-1-9-final-jquery-2-0-beta-migrate-final-released/

comment:2 Changed 7 years ago by nathan@…

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!

N

comment:3 Changed 7 years ago by Rick Waldron

Resolution: notabug
Status: newclosed
Note: See TracTickets for help on using tickets.