Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 718ac9d814039371b482827bd17238a0ea7e1cc0
      
https://github.com/WebKit/WebKit/commit/718ac9d814039371b482827bd17238a0ea7e1cc0
  Author: Cheng-You Bai <[email protected]>
  Date:   2023-08-17 (Thu, 17 Aug 2023)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/fetch/api/abort/general.any-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/fetch/api/abort/general.any.serviceworker-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/fetch/api/abort/general.any.sharedworker-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/fetch/api/abort/general.any.worker-expected.txt
    M Source/WebCore/Modules/fetch/WindowOrWorkerGlobalScopeFetch.cpp

  Log Message:
  -----------
  Reject with AbortSignal's reason when the signal is already aborted
https://bugs.webkit.org/show_bug.cgi?id=258187

Reviewed by Ryosuke Niwa.

Previously, WebKit always reject fetch with AbortError when the signal
is already aborted. However, based on the spec, when the abort reason
is given, we should reject the promise with the given reason.

* 
LayoutTests/imported/w3c/web-platform-tests/fetch/api/abort/general.any-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/fetch/api/abort/general.any.serviceworker-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/fetch/api/abort/general.any.sharedworker-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/fetch/api/abort/general.any.worker-expected.txt:
* Source/WebCore/Modules/fetch/WindowOrWorkerGlobalScopeFetch.cpp:
(WebCore::doFetch):

Canonical link: https://commits.webkit.org/267033@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to