[webkit-changes] [WebKit/WebKit] 2ce995: ReadableStream.pipeTo should reuse AbortSignal rea...
youennf
noreply at github.com
Wed Dec 7 01:48:02 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2ce995ef5fcb3664bca39f318d6581e97eb943e7
https://github.com/WebKit/WebKit/commit/2ce995ef5fcb3664bca39f318d6581e97eb943e7
Author: Youenn Fablet <youennf at gmail.com>
Date: 2022-12-07 (Wed, 07 Dec 2022)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/streams/piping/abort.any-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/streams/piping/abort.any.serviceworker-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/streams/piping/abort.any.worker-expected.txt
M LayoutTests/platform/glib/imported/w3c/web-platform-tests/streams/piping/abort.any-expected.txt
M Source/WebCore/Modules/streams/ReadableStreamInternals.js
M Source/WebCore/dom/AbortAlgorithm.h
M Source/WebCore/dom/AbortAlgorithm.idl
M Source/WebCore/dom/AbortSignal.cpp
Log Message:
-----------
ReadableStream.pipeTo should reuse AbortSignal reason when needed
https://bugs.webkit.org/show_bug.cgi?id=248591
rdar://problem/102849934
Reviewed by Alex Christensen.
Makr the AbortAlgorithm take the abort reason.
Use this value in ReadableStream code.
Covered by rebased tests.
* LayoutTests/imported/w3c/web-platform-tests/streams/piping/abort.any-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/streams/piping/abort.any.js:
(Object.create):
(promise_test.t.string_appeared_here.then):
(async promise_test):
(const.reason.of.null.promise_test.async t): Deleted.
* LayoutTests/imported/w3c/web-platform-tests/streams/piping/abort.any.serviceworker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/streams/piping/abort.any.sharedworker-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/streams/piping/abort.any.worker-expected.txt:
* LayoutTests/platform/glib/imported/w3c/web-platform-tests/streams/piping/abort.any-expected.txt:
* Source/WebCore/Modules/streams/ReadableStreamInternals.js:
(readableStreamPipeToWritableStream):
(readableStreamReaderGenericRelease):
* Source/WebCore/dom/AbortAlgorithm.h:
* Source/WebCore/dom/AbortAlgorithm.idl:
* Source/WebCore/dom/AbortSignal.cpp:
(WebCore::AbortSignal::addAbortAlgorithmToSignal):
Canonical link: https://commits.webkit.org/257464@main
More information about the webkit-changes
mailing list