Internet explorer crashes after document.open execution for loaded same-domain iframe

Fixed Issue #8187450

Details

Created
Jul 15, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

The following code crushes the Internet Explorer (see IE version in attachment)

<iframe id="iframe" src="/iframe.html"></iframe>
    <script>
        var iframe = document.querySelector('#iframe');

        iframe.addEventListener('load', function () {
            iframe.contentDocument.open();
            iframe.contentDocument.write('test');
            iframe.contentDocument.close();
        });
    </script>

Step to reproduce:
1)install node 0.10 and above
2)unpack attached archive
3)run node index.js
4)open in IE http://locahost:3000 page

Attachments

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Brad E.”

    Changed Status to “Fixed”

  • This looks to be broken in the current public stable release of Win 10 / IE / Edge which is: 10586. However, we are seeing this problem as fixed in our internal builds already.  Here is a screenshot showing this running in 14386:

    https://1drv.ms/i/s!Aj5TlyX5MkUmhMtBT_Y2R3Yc58iudg

    We will close out the item as fixed to reflect this. Please also note that we are not working on IE  feature bugs any longer unless they are security related. Since this is fixed in Edge, we are basing our fixed ruling on the performance of that browser in relation to this item.

    All the best,

    The MS Edge Team

You need to sign in to your Microsoft account to add a comment.

Sign in