Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6050cd84dc0a41519f8d07c9536b28f472418956
https://github.com/WebKit/WebKit/commit/6050cd84dc0a41519f8d07c9536b28f472418956
Author: Youenn Fablet <[email protected]>
Date: 2025-12-01 (Mon, 01 Dec 2025)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/streams/idlharness.any-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/idlharness.any.serviceworker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/idlharness.any.sharedworker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/idlharness.any.worker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/async-iterator.any-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/async-iterator.any.serviceworker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/async-iterator.any.sharedworker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/async-iterator.any.worker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/from.any-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/from.any.serviceworker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/from.any.sharedworker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/from.any.worker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/patched-global.any-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/patched-global.any.serviceworker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/patched-global.any.sharedworker-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/streams/readable-streams/patched-global.any.worker-expected.txt
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebCore/Modules/streams/ReadableStream.cpp
M Source/WebCore/Modules/streams/ReadableStream.h
M Source/WebCore/Modules/streams/ReadableStream.idl
M Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
M Source/WebCore/bindings/scripts/test/BindingTestGlobalConstructors.idl
M Source/WebCore/bindings/scripts/test/JS/JSTestAsyncIterable.cpp
A
Source/WebCore/bindings/scripts/test/JS/JSTestAsyncIterableWithoutFlags.cpp
A Source/WebCore/bindings/scripts/test/JS/JSTestAsyncIterableWithoutFlags.h
M Source/WebCore/bindings/scripts/test/JS/JSTestGlobalObject.cpp
M Source/WebCore/bindings/scripts/test/SupplementalDependencies.dep
A Source/WebCore/bindings/scripts/test/TestAsyncIterableWithoutFlags.idl
Log Message:
-----------
Add a runtime flag for ReadableStream async iterator
https://bugs.webkit.org/show_bug.cgi?id=303296
rdar://problem/165603336
Reviewed by Chris Dumez.
We add a runtime flag for ReadableStream async iterator, off by default.
We add the async iterable declaration in ReadableStream IDL and use the flag to
control exposure.
We add a shell for ReadableStream iterator.
We update the binding generator to properly hide methods and
asyncIteratorSymbol using the runtime flag.
We update the binding tests to cover those changes.
We rebase WPT tests.
Some tests are timing out due to the partial iterator implementation.
This will be fixed in the next related patch.
* Source/WebCore/bindings/scripts/test/JS/JSTestAsyncIterableWithoutFlags.cpp:
Added.
(WebCore::JSTestAsyncIterableWithoutFlagsDOMConstructor::prototypeForStructure):
(WebCore::JSTestAsyncIterableWithoutFlagsDOMConstructor::initializeProperties):
(WebCore::JSTestAsyncIterableWithoutFlagsPrototype::finishCreation):
(WebCore::JSTestAsyncIterableWithoutFlags::JSTestAsyncIterableWithoutFlags):
(WebCore::JSTestAsyncIterableWithoutFlags::createPrototype):
(WebCore::JSTestAsyncIterableWithoutFlags::prototype):
(WebCore::JSTestAsyncIterableWithoutFlags::getConstructor):
(WebCore::JSTestAsyncIterableWithoutFlags::destroy):
(WebCore::JSC_DEFINE_CUSTOM_GETTER):
(WebCore::jsTestAsyncIterableWithoutFlagsPrototypeFunction_entriesCaller):
(WebCore::JSC_DEFINE_HOST_FUNCTION):
(WebCore::jsTestAsyncIterableWithoutFlagsPrototypeFunction_keysCaller):
(WebCore::jsTestAsyncIterableWithoutFlagsPrototypeFunction_valuesCaller):
(WebCore::JSTestAsyncIterableWithoutFlags::subspaceForImpl):
(WebCore::JSTestAsyncIterableWithoutFlags::analyzeHeap):
(WebCore::JSTestAsyncIterableWithoutFlagsOwner::isReachableFromOpaqueRoots):
(WebCore::JSTestAsyncIterableWithoutFlagsOwner::finalize):
(WebCore::verifyVTable):
(WebCore::toJSNewlyCreated):
(WebCore::toJS):
(WebCore::JSTestAsyncIterableWithoutFlags::toWrapped):
* Source/WebCore/bindings/scripts/test/JS/JSTestAsyncIterableWithoutFlags.h:
Added.
(WebCore::JSTestAsyncIterableWithoutFlags::create):
(WebCore::JSTestAsyncIterableWithoutFlags::createStructure):
(WebCore::JSTestAsyncIterableWithoutFlags::subspaceFor):
(WebCore::wrapperOwner):
(WebCore::wrapperKey):
(WebCore::toJS):
(WebCore::toJSNewlyCreated):
* Source/WebCore/bindings/scripts/test/TestAsyncIterableWithoutFlags.idl: Added.
Canonical link: https://commits.webkit.org/303678@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications