IE10 Fails to remove flash content from rendered page when it is removed from DOM - by banksyw

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

ID 785687 Comments
Status Closed Workarounds
Type Bug Repros 3
Opened 4/26/2013 9:37:44 AM
Access Restriction Public


In the latest public release of IE10 under windows 7. I have found an issue where Flash content in an iframe whic is removed from DOM does not get removed from display.

This was discovered in context of a real site but can be trivially recreated in a simple demo. Please view this example:

Note that this occurs on both IE10 and IE9 browser/document modes. It *may* occur in earlier version modes however jsFiddle fails to load the example in these modes anyway.

IE version: 10.0.9200.16540

Flash version (just updated): 11,7,700,169
Sign in to post a comment.
Posted by Microsoft on 6/28/2013 at 5:06 PM
Thank you for your feedback.

We have released a new preview version of Internet Explorer which is included with Windows 8.1 available from the following location:
During our testing we are no longer able to reproduce the issue using Internet Explorer 11 please verify you are still experiencing the reported problem in this new release. If the issue continues please reopen this connect feedback item and provide additional details that will help us continue our investigation. We welcome your feedback, please send us additional comments so that we can investigate further.

Best regards,

The Internet Explorer Team
Posted by banksyw on 5/9/2013 at 7:53 AM
As yet another followup. My previous comment was not quite correct.

I have found cases where even if the iframe's src is an html document containing embedded flash, IE 10 can still refuse to remove the content correctly from display when the iframe is removed from DOM.

In the specific case, the HTML src of iframe was NOT using a JS library like SWFObject to manage embed and instead had raw <object> and <embed> tags.

It seems (although still not exhaustivly tested) that the only ways flash in iframes *do* work right in IE 10 is when the iframe src document contains JS which is designed to manage the flash content directly. i.e. it uses SWFObject or some other library that handles edge cases of this bug. For example SWFObject has the following code:
Posted by banksyw on 4/29/2013 at 11:38 AM
After further testing this appears to only be reproducible when the flash content is loaded directly as the iframe's src.

For instance loading a .html URL in an iframe, even if it contains an embedded flash object does NOT cause same behaviour. In that case the flash content is correctly removed from display when the iframe is removed from DOM.