Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2d66db3c081d49a7a22bee2bcb2ca41072932eee
https://github.com/WebKit/WebKit/commit/2d66db3c081d49a7a22bee2bcb2ca41072932eee
Author: Yusuke Suzuki <[email protected]>
Date: 2025-11-14 (Fri, 14 Nov 2025)
Changed paths:
M Source/JavaScriptCore/builtins/JSIteratorHelperPrototype.js
M Source/JavaScriptCore/runtime/IteratorOperations.cpp
Log Message:
-----------
[JSC] Cleaning up iterator related code
https://bugs.webkit.org/show_bug.cgi?id=302562
rdar://164768602
Reviewed by Yijia Huang.
This is fixing a bug introduced in 302914@main.
JSIteratorHelperPrototype is using generator too, so it needs to be
changed too. This is caught by test262.
We also change iterator result object inlineCapacity to align it to the
JS generated ones.
* Source/JavaScriptCore/builtins/JSIteratorHelperPrototype.js:
(next):
(return):
* Source/JavaScriptCore/runtime/IteratorOperations.cpp:
(JSC::createIteratorResultObjectStructure):
Canonical link: https://commits.webkit.org/303065@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications