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: nathan@maxmo.net Owned by: nathan@maxmo.net
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) )
Attachments (0)
Change History (3)

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

owner: → nathan@maxmo.net
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/

Changed April 01, 2013 02:47PM UTC by nathan@maxmo.net 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!

N

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

resolution: → notabug
status: newclosed