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

Security Error on WebWorker Still Exist in IE11 Windows 7 #7377

Closed
thu07 opened this issue Oct 8, 2018 · 4 comments
Closed

Security Error on WebWorker Still Exist in IE11 Windows 7 #7377

thu07 opened this issue Oct 8, 2018 · 4 comments

Comments

@thu07
Copy link

thu07 commented Oct 8, 2018

I try to use mapbox-gl-draw in IE 11 Windows 7 OS. The running page is the example listed at https://bl.ocks.org/dnseminara/0790e53cef9867e848e716937727ab18. The Chrome and Firefox works great. However, the Security Error Problem in IE is still there.

The IE Version is the latest: 11.0.9600.18860

Mapbox Version: v0.49.0

mapbox-gl-draw Version: v1.0.9

Please help me to figure it out. Thanks.

@ryanhamley
Copy link
Contributor

Hi @thu07 unfortunately, you haven't given us enough to determine what's happening. In the future, please fill out the fields in the issue template and provide a minimal reproduction of the bug if possible. That being said, there are known issues with certain versions of IE11. See #3040 and #4623 especially this comment #4623 (comment). Microsoft released a patch to fix this issue in Edge but not for IE11. It's likely that this is an IE bug which we can't address.

@thu07
Copy link
Author

thu07 commented Oct 8, 2018

Hi @ryanhamley Thank you so much for your response. The error I met is SCRIPT5022: SecurityError. When I trace into the code, the problem is in web_worker.js file and the line is "return (new window.Worker(workerURL) );"

The problem is similar with https://github.com/mapbox/mapbox-gl-js/issues/6384. However, it still can not be resolved.

@ryanhamley
Copy link
Contributor

ryanhamley commented Oct 8, 2018

Yep, see this comment #3040 (comment) Some versions of IE11 unfortunately have a bug in the way they handle web workers, which are essential to the Mapbox GL JS library. This bug is known by Microsoft but they've chosen not to patch it on IE11. I'm sad to say that I don't think there's any way for us to handle this on our end. #4623 does have some potential workarounds that people have provided that you may want to try.

@thu07
Copy link
Author

thu07 commented Oct 8, 2018

Got it. Thank you so much for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants