Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Object.fromEntries polyfill throws an error in IE11 #552

Closed
SimpleCreations opened this issue Mar 18, 2020 · 1 comment · Fixed by #559
Closed

[bug] Object.fromEntries polyfill throws an error in IE11 #552

SimpleCreations opened this issue Mar 18, 2020 · 1 comment · Fixed by #559
Assignees
Labels
bug Something isn't working library Relates to an Origami library

Comments

@SimpleCreations
Copy link

Steps to reproduce:

  1. Include a polyfill for Object.fromEntries
  2. Call the function in IE11

Demo

<script src="https://polyfill.io/v3/polyfill.js?features=Object.fromEntries"></script>
<script>
    console.log(Object.fromEntries([["a", 1], ["b", 2]]));
</script>

Error in console:

SCRIPT5022: Exception thrown and not caught
polyfill.js (85,3)

The issue is present only in IE11. Works as expected in Edge, Chrome, Firefox.

@JakeChampion JakeChampion self-assigned this Mar 19, 2020
@bobbjedi
Copy link

bobbjedi commented Mar 24, 2020

This total bug polifill.io
Open your link https://polyfill.io/v3/polyfill.js?features=Object.fromEntries
Result: No polyfills found for current settings

@JakeChampion JakeChampion transferred this issue from polyfillpolyfill/polyfill-service Mar 24, 2020
@JakeChampion JakeChampion added bug Something isn't working library Relates to an Origami library labels Mar 24, 2020
Origami ✨ automation moved this from incoming to complete Apr 5, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 3, 2020
@robertboulton robertboulton removed this from Done in Origami ✨ Jul 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working library Relates to an Origami library
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants