Closed
Bug 1799107
Opened 2 years ago
Closed 2 years ago
Worklet.addModule should return AbortError when importing a non-existent script
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
108 Branch
Tracking | Status | |
---|---|---|
firefox108 | --- | fixed |
People
(Reporter: allstars.chh, Assigned: allstars.chh)
Details
Attachments
(1 file)
According to https://html.spec.whatwg.org/multipage/worklets.html#dom-worklet-addmodule
If the script is null, 'AbortError' DOMException should be thrown.
But in the implementation, a NetworkError is thrown actually.
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Severity: -- → S2
Pushed by allstars.chh@gmail.com: https://hg.mozilla.org/integration/autoland/rev/943068a995f1 Worklet.addModule should return AbortError when importing a non-existent script. r=smaug
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox108:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•