Bug 258187
| Summary: | When the option of signal for fetch is already aborted, fetch should reject with the AbortSignal's reason if it's not undefined | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Cheng You Bai (:cybai) <cyb.ai.815> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Mac (Intel) | ||
| OS: | macOS 13 | ||
Cheng You Bai (:cybai)
Currently, if fetch's signal already gets aborted, fetch should reject with the signal's reason if it's not undefined.
Related WPT test at https://github.com/web-platform-tests/wpt/blob/83976e7d1f6a7b175947209736bd40e94a7cae77/fetch/api/abort/general.any.js#L37-L45
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Cheng You Bai (:cybai)
I will send a patch to fix this later.
Cheng You Bai (:cybai)
Pull request: https://github.com/WebKit/WebKit/pull/15039
Radar WebKit Bug Importer
<rdar://problem/111201381>
EWS
Committed 267033@main (718ac9d81403): <https://commits.webkit.org/267033@main>
Reviewed commits have been landed. Closing PR #15039 and removing active labels.