question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception while loading this polyfill together with webcomponents-lite polyfill

See original GitHub issue

Describe the bug An exception is thrown just by loading the polyfill. This is the exception:

0: NotFoundError
lui-all.min.js (17875,366)

[object DOMException]: {code: 8, message: "NotFoundError", name: "NotFoundError"}
code: 8
message: "NotFoundError"
name: "NotFoundError"

__proto__: DOMExceptionPrototype

0: NotFoundError
lui-all.min.js (17875,366)

Screenshot Screen Shot 2019-11-13 at 11 34 23

To Reproduce Load this polyfill in addition: https://github.com/webcomponents/webcomponentsjs/blob/v1/webcomponents-lite.js

Expected behavior No exception are thrown when loading the page with webcomponents-lite polyfill and construct-style-sheets polyfill.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Edge
  • Version 44

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
calebdwilliamscommented, Nov 16, 2019

Hey @timaschew, could you check the latest version (2.3.1) and let us know if this can stay closed?

Thanks!

0reactions
timaschewcommented, Nov 18, 2019

Hey, it’s working now! Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

webcomponents-loader usage causes IE11 SCRIPT28 Out ...
My reading of this is that webcomponents-loader uses Promise , which is one of the things it needs to load a polyfill for....
Read more >
javascript - Webcomponents Polyfill not working
Just load the webomponents-lite.js script in the <head> part of your ... HTML Imports polyfill is not shipped any more, but can be...
Read more >
Polyfills
In the mean time, polyfills simulate the missing browser capabilities as closely as possible. You can feature-detect for the necessary browser features before...
Read more >
Integrating with Polymer
Integrating with Polymer. Polymer is a library for creating reusable web components declaratively with extra features like data binding and property ...
Read more >
Why Web Components Aren't Ready for Production... Yet
Because cross-browser support won't be possible for a very long time, if it happens at all, a polyfill is a long-term necessity for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found