This repository has been archived by the owner on Sep 20, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 490
IE can't reload webcomponents.js on a framed page #6
Comments
I've confirmed that this is still happening. document.createElementNS is undefined in Element.js in an iframe. @sorvell It seems like we're somehow bashing over this function on document in the iframe's context. I have a minimal repro locally. |
Fixed in IE's March 10th patch. |
I'm able to reproduce the same issue above using the release v0.7.15.
|
lurk mode: engaged |
A naive fix would be inserting something like this on top of the webcomponents.js.
|
I'm running 0.17 in my project and ran into this problem. Updating to 0.22/0.23 did not fix the problem. Adding the fix from @proxyLaw solves the problem for now. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
One common method to force a framed page (on the same domain) to reload is to invoke
contentWindow.location.reload()
. This method fails in IE if the framed page loads webcomponents.js.To repro:
On IE, this causes an exception to be thrown in HTMLElement.js, line 247:
When the exception is thrown, OriginalHTMLElement is undefined.
This problem is not seen in Chrome, Firefox, and Safari.
The text was updated successfully, but these errors were encountered: