Crashing entire app on IE and Edge
See original GitHub issueDescribe the bug
When project is opened in IE11 or Edge it’s freezing on loading page. The error is at eval('BrowserCodeReader ...')
It happens only if ZXingScannerModule.forRoot()
was called. There is n way to even put a try catch there, because eval is happening in vendor, and even conditionally calling forRoot() is causing the issue e.g.
if(!isIEorEdge) {
imports.push(ZXingScannerModule.forRoot())
}
To Reproduce Steps to reproduce the behavior:
- Open project with plugin in IE11 or Edge
Expected behavior Throw an error that can be handled or show warning.
Desktop (please complete the following information):
- OS: Windows
- Browser IE-11 and Edge
- Version any
Smartphone (please complete the following information):
- Probably windows phone will cause the same, not tested
Additional context I know that this plugin is not supporting Edge and IE, but issue is not about support it’s about crashing entire app.
Issue Analytics
- State:
- Created 5 years ago
- Comments:34 (17 by maintainers)
Top Results From Across the Web
Edge crashes when opening an external link while playing full ...
If you open Edge in windowed mode, i.e. not in full screen. Then open a video and play it full screen (for example...
Read more >9 Fixes When Microsoft Edge Keeps Crashing - Help Desk Geek
As noted above, a corrupted cache can cause Microsoft Edge to crash. Here's how to clear your cache. Open Microsoft Edge. Click on...
Read more >How to Fix Microsoft Edge Keeps Crashing? - BrowserHow
We can fix the crashing issue by clearing the browsing data, disabling the browser extensions, or killing the unwanted processes from the task ......
Read more >Microsoft Edge Keeps Crashing on Windows 10/11? 4 Easy Tips
If Microsoft Edge crashes when you launch it, rest assured as we've got four solutions for you to implement and fix the error....
Read more >Common Microsoft Edge Problems, and How to Fix Them
A recent app or program you downloaded could be causing problems. Run the Windows app troubleshooter or try uninstalling the last apps you ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Everyone makes mistakes, even ninjas. 🐱👤 (ninjacat Windows’s emoji)
I tested
1.1.1-dev.ca33ea
version and it worked on IE. Thanks for that. @Danieliverant just don’t forget to addimport 'core-js/es6/typed';
at polyfills