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.

Element polyfill - DOMException in Opera Mini, Samsung Browser and Amazon Silk

See original GitHub issue

We observed that Element polyfill (which is not a third-party code) throws errors in these browsers:

  • Opera Mini (4.2-4.5) - Uncaught exception: DOMException: HIERARCHY_REQUEST_ERR (e.g. ua: Opera/9.80 (J2ME/MIDP; Opera Mini/4.1.13572/37.9224; U; en) Presto/2.12.423 Version/12.16)
  • Samsung Internet (2.0-3.5) - Failed to execute 'appendChild' on 'Node': Nodes of type 'BODY' may not be inserted inside nodes of type '#document'. (e.g. ua: Mozilla/5.0 (Linux; Android 4.4.4; SAMSUNG SM-J100ML Build/KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/2.0 Chrome/34.0.1847.76 Mobile Safari/537.36)
  • Amazon Silk (46-55) - Failed to execute 'appendChild' on 'Node': Only one element on document allowed. (e.g. ua: Mozilla/5.0 (Linux; Android 4.0.3; KFTT Build/IML74K) AppleWebKit/537.36 (KHTML, like Gecko) Silk/54.4.4 like Chrome/54.0.2840.85 Safari/537.36)

This was caught by our error tracking solution, please let me know if you need more details.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
JakeChampioncommented, Jan 22, 2019

In version 3 of https://polyfill.io the browsers mentioned in this issue would now fall under the unsupported browser list and get the polyfills served with feature detects and no longer execute the polyfills which were causing the errors 🎉

1reaction
JakeChampioncommented, Jan 12, 2017

@kdzwinel You can add feature detects using &flags=gated to the polyfill.io url you are using. This will check if a polyfill is needed before executing it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

scandit-sdk - UNPKG
n throw new DOMException(\n 'The adapter.js addTrack polyfill only supports a single ' +\n ' stream which is associated with the specified track....
Read more >
Free Automated Malware Analysis Service - Hybrid Analysis
Submit malware for free analysis with Falcon Sandbox and Hybrid Analysis technology. Hybrid Analysis develops and licenses analysis tools to fight malware.
Read more >
Customer reviews: Opera Mini - fast web browser - Amazon.com
I'm testing many browsers for android, since the terrible release of my long time favorite, Firefox. Opera and the Mini version, Brave, Vivaldi,...
Read more >
https://git.kolab.org/rOV58dc5d130ee8f4511a7be9174...
debug":2,"_process":114}],2:[function(require,module,exports){ + +/** + * This is the common logic for both the Node.js and web browser + * implementations ...
Read more >
Browser Support | Tippy.js
Proxy mobile browsers like Opera Mini are not supported. ... If you need to support SVG elements in IE11, you will need to...
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