Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 918d694777b91696db7a24f39f9334ae67c551ea
https://github.com/WebKit/WebKit/commit/918d694777b91696db7a24f39f9334ae67c551ea
Author: Yusuke Suzuki <[email protected]>
Date: 2026-05-20 (Wed, 20 May 2026)
Changed paths:
M
JSTests/stress/asynciterator-prototype-symbol-async-dispose-return-argument.js
A JSTests/stress/iterator-prototype-flatMap-return-no-arguments.js
M Source/JavaScriptCore/builtins/AsyncIteratorPrototype.js
M Source/JavaScriptCore/builtins/JSIteratorPrototype.js
Log Message:
-----------
[JSC] Fix / Update iterator return function call's arguments
https://bugs.webkit.org/show_bug.cgi?id=315095
rdar://177429981
Reviewed by Yijia Huang.
This patch updates explicit-resource-management's return function
call[1]. Also we fix an issue in iterator flatMap's function call as well.
[1]: https://github.com/tc39/proposal-explicit-resource-management/issues/273
Test: JSTests/stress/iterator-prototype-flatMap-return-no-arguments.js
*
JSTests/stress/asynciterator-prototype-symbol-async-dispose-return-argument.js:
(const.AsyncIteratorPrototype.Object.getPrototypeOf.Object.getPrototypeOf.Object.getPrototypeOf.ag):
(shouldBe):
(shouldBe.async gen):
(shouldBe.it.return):
* JSTests/stress/iterator-prototype-flatMap-return-no-arguments.js: Added.
(shouldBe):
(throw.new.Error):
(shouldBe.iterated.next):
* Source/JavaScriptCore/builtins/AsyncIteratorPrototype.js:
(overriddenName.string_appeared_here.asyncDispose):
* Source/JavaScriptCore/builtins/JSIteratorPrototype.js:
(flatMap.iteratedWrapper.return):
Canonical link: https://commits.webkit.org/313556@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications