activeElement property inside iframe causes "Unspecified error"

Fixed Issue #12733599


Oliver A.
Jul 12, 2017
This issue is public.
Found in
  • Microsoft Edge
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

On Edge/14.14393, accessing document.activeElement inside an iframe causes an “Unspecified error”

Create an iframe in an index.html file:

<iframe src="./iframe.html"></iframe>

In iframe.html include:

    console.log('activeElement: ', document.activeElement );

This results in the following error:

SCRIPT16389: Unspecified error.


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

    • Hi,


      I repro’d this issue in 15063.483. 

      I’m happy to report that we have a fix ready for this.  
      If you are using Windows Insider builds, you
      should see this fix soon.


      Your feedback is extremely helpful as it helps us to improve the
      quality of Microsoft Edge.  
      continue testing and submitting anything you find.


      Appreciate the support,

      The Microsoft Edge Team

    • Microsoft Edge Team

      Changed Status to “Fixed”

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

    Sign in