Bug 219135 - Worklet.addModule() should reject promise with an AbortError when the network load fails
Summary: Worklet.addModule() should reject promise with an AbortError when the network...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Audio (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on: 219121
Blocks:
  Show dependency treegraph
 
Reported: 2020-11-18 16:50 PST by Chris Dumez
Modified: 2020-11-19 09:25 PST (History)
11 users (show)

See Also:


Attachments
Patch (9.96 KB, patch)
2020-11-18 16:53 PST, Chris Dumez
no flags Details | Formatted Diff | Diff
Patch (13.50 KB, patch)
2020-11-19 08:49 PST, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2020-11-18 16:50:44 PST
Worklet.addModule() should reject promise with an AbortError when the network load fails:
- https://html.spec.whatwg.org/multipage/worklets.html#dom-worklet-addmodule
Comment 1 Chris Dumez 2020-11-18 16:53:52 PST
Created attachment 414515 [details]
Patch
Comment 2 Chris Dumez 2020-11-19 08:49:16 PST
Created attachment 414587 [details]
Patch
Comment 3 Geoffrey Garen 2020-11-19 09:11:33 PST
Comment on attachment 414587 [details]
Patch

r=me
Comment 4 Chris Dumez 2020-11-19 09:24:10 PST
Comment on attachment 414587 [details]
Patch

Clearing flags on attachment: 414587

Committed r270033: <https://trac.webkit.org/changeset/270033>
Comment 5 Chris Dumez 2020-11-19 09:24:12 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2020-11-19 09:25:17 PST
<rdar://problem/71589502>