标签: javascript error-handling web-worker
我已经尝试过谷歌搜索,莫兹搜索,甚至阅读过规范。我正在寻找有关Web Workers所有错误的规范以及错误代码的定义方式。
具体来说,代码18为"SecurityError",消息为"Failed to construct 'Worker': Script at '{REMOTE URL}' cannot be accessed from origin '{LOCAL URL}'"。 “
18
"SecurityError"
"Failed to construct 'Worker': Script at '{REMOTE URL}' cannot be accessed from origin '{LOCAL URL}'"
错误代码18仅是 远程安全错误吗?还有哪些其他安全错误及其代码?