javascript antlr4 and IE11 acejs webworker.

27 views
Skip to first unread message

Gangadhar Balikai

unread,
May 8, 2018, 8:55:12 AM5/8/18
to antlr-di...@googlegroups.com
Hi, 

I have packed antlr and my language parser into single file using webpack. 
ace Syntax check works as expected on Chrome and Firefox via web worker (using importScripts and window.location).  


But importScripts in IE (version 11 in my case) seems bit tricky. Turns out ace web worker gets loaded with origin as "blob" and fails to download antlr4 script with "Access denied" exception from my web domain. 

I spent some time thinking relative path might fix the issue, but problem seems to be more complex then i thought. 

Please let me know if someone got solution for above issue i have?

Thanks, Gangadhar
Reply all
Reply to author
Forward
0 new messages