Bug 232299 - Add abort reason to AbortSignal
Summary: Add abort reason to AbortSignal
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks: 232747
  Show dependency treegraph
 
Reported: 2021-10-26 02:12 PDT by nidhijaju
Modified: 2021-11-12 13:52 PST (History)
13 users (show)

See Also:


Attachments
Patch (15.57 KB, patch)
2021-11-08 09:57 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 nidhijaju 2021-10-26 02:12:46 PDT
Add an abort reason property to AbortSignal (i.e. signal.reason) which is a JavaScript value used when aborting a signal.

See https://github.com/whatwg/streams/issues/1165 and https://github.com/whatwg/dom/pull/1027.
Comment 1 Radar WebKit Bug Importer 2021-11-02 02:13:14 PDT
<rdar://problem/84921281>
Comment 2 Chris Dumez 2021-11-08 09:57:09 PST
Created attachment 443562 [details]
Patch
Comment 3 EWS Watchlist 2021-11-08 09:57:57 PST
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Comment 4 Alexey Shvayka 2021-11-08 13:04:53 PST
Comment on attachment 443562 [details]
Patch

Neatly done!
Comment 5 EWS 2021-11-08 13:36:42 PST
Committed r285428 (243984@main): <https://commits.webkit.org/243984@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 443562 [details].