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

bschlenk/ie11-corejs-stack-overflow-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published