arbor
arbor copied to clipboard
Failed to use Web Workers on Firefox
Issue
- I've been using the arborjs library for graph visualization since few month ago. It had worked well on Firefox, but about 1 month ago, it started to make an error when initializing. I found that it fails when using Worker on Firefox (there is no problem with chrome, and safari).
- The strange thing is..
- http://arborjs.org/ page is working well on Firefox
- No change was made on the code but the error suddenly appeared
- I'm currently using arborjs with out Web Worker on Firefox... If you have ever met this problem, please give me comments :)
For more details about the issue, please refer the remaining part:
-
In the part of initializing kernel at arbor.js, following part occurs the error:
at init:
- The error message is:
```error: Could not get domain!
-
I found following code snippets of firefox on the web.
if (NS_FAILED(tldService->GetBaseDomain(codebase, 0, domain))) { /* ERROR */ JS_ReportError(aCx, "Could not get domain!"); return nsnull; }
-
There are several bug reports about Web Worker problem on Firefox like: https://bugzilla.mozilla.org/show_bug.cgi?id=682450 https://bugzilla.mozilla.org/show_bug.cgi?id=683280