[Webkit-unassigned] [Bug 246069] New: Use AbortSignal.reason in Fetch code
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 5 00:23:15 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=246069
Bug ID: 246069
Summary: Use AbortSignal.reason in Fetch code
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: nidhijaju at chromium.org
In https://github.com/whatwg/fetch/pull/1343, the Http-network fetch and fetch() method have been updated to use AbortSignal's abort reason (or a serialized version of it) when erroring streams and aborting the fetch() call, rather than unconditionally using an AbortError. This change also includes using the abort reason to abort the fetch controller.
There are some related changes in the Service Worker spec in https://github.com/w3c/ServiceWorker/pull/1655. When a service worker intercepts a fetch request, the signal's abort reason is passed to the service worker to abort the fetch controller and signal abort in the Handle Fetch algorithm.
The same change needs to be made to the Safari implementation.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221005/2194a207/attachment.htm>
More information about the webkit-unassigned
mailing list