Open
Bug 1851141
Opened 1 year ago
Updated 1 year ago
Handle failure asynchronously when a worker loads an unsupported URL
Categories
(Core :: DOM: Workers, defect, P3)
Core
DOM: Workers
Tracking
()
NEW
People
(Reporter: allstars.chh, Unassigned)
References
Details
See WPT PR https://github.com/web-platform-tests/wpt/pull/41758
The error should be thrown asynchronously, like when a worker loads a cross-origin script in bug 1833891
Now in our worker implementation, NewChannel will fail and it will throw a SecurityError.
https://searchfox.org/mozilla-central/rev/8f09f6a6ff0d8b6ea75a1e1279a06ba02479578c/dom/workers/ScriptLoader.cpp#153
Updated•1 year ago
|
Severity: -- → S3
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•