Skip to content

"Access is denied" with iframes in IE #28

@tmsns

Description

@tmsns

In IE, when iframes are being added to the page, the GOPN function throws with"Access is denied".

Screenshot

image

How to reproduce

  1. Go to https://jsbin.com/pafazegato/edit?html,output
    (I used a reference do a dummy doubleclick host, as my issue occurs when tags are being added to the page)
  2. Open up the preview in IE, and open up dev tools
  3. Make sure to refresh the page to see the "Access is denied" errors

Remarks

  • I suspect that this only happens when opening up the dev tools. As getOwnPropertyNames is being used by the dev tools themselves.
  • I'll send a PR later on today where I wrap the GOPN function (get-own-property-symbols.js#L125) with a try/catch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions