majacQ / iframe-ie11-document-register-element

MVCE to demonstrate an issue in document-register-element

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Edit: The issue demonstrated in this repository was successfully resolved in https://github.com/WebReflection/document-register-element/commit/cad527591c6ad0dd5450de4b9624e3dc53894c3d and this repository is going to be deleted by October 31st, 2019, EOD, CEST.

IE 11 problem when refreshing an iframe

When document-register-element is loaded in a document which is inside an iframe, refreshing that iframe breaks the polyfill and makes it so document.createElement is undefined.

Steps to reproduce

  1. Clone the repository
  2. npm install
  3. npm start
  4. Open http://127.0.0.1:8080 in IE 11
  5. Open developer tools (F12)
  6. Rightclick inside the iframe -> refresh
  7. Check console errors.

About

MVCE to demonstrate an issue in document-register-element


Languages

Language:HTML 100.0%