Skip to content
This repository has been archived by the owner on Dec 20, 2021. It is now read-only.

Latest commit

 

History

History
32 lines (23 loc) · 1.06 KB

File metadata and controls

32 lines (23 loc) · 1.06 KB

ie11 corejs stack overflow

When get-own-property-symbols is included before core-js web.dom-collections.iterator, it causes ie11 to stack overflow.

This repo is a minimal reproduction of this error. To test, run:

npm install
npm run build

And then open ./dist/index.html in ie11.

More background

get-own-property-symbols is included within the webcomponentsjs polyfills for custom elements. To properly use it in an app, it needs to be a script included in the head of the document.

If that app also uses core-js, which it would if it is using @babel/preset-env with useBuiltIns: 'usage', then it will cause a stack overflow in ie11.

Screenshot of debugger during infinite recursion

screenshot of ie11 debugger