Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7fdc018c4dd77266f919db0a9ff495ebafde757e
https://github.com/WebKit/WebKit/commit/7fdc018c4dd77266f919db0a9ff495ebafde757e
Author: Tetsuharu Ohzeki <[email protected]>
Date: 2026-04-08 (Wed, 08 Apr 2026)
Changed paths:
A JSTests/stress/iterator-prototype-includes.js
M Source/JavaScriptCore/runtime/JSIteratorPrototype.cpp
M Source/JavaScriptCore/runtime/OptionsList.h
Log Message:
-----------
[JSC] Implement `Iterator.prototype.includes` (disabled by default)
https://bugs.webkit.org/show_bug.cgi?id=309883
Reviewed by Yusuke Suzuki.
This implements Iterator Includes proposal
https://tc39.es/proposal-iterator-includes/
that refers rev. March 12, 2026.
https://github.com/tc39/proposal-iterator-includes/tree/8787f1ae4500fc6c7851f4eccb9557f9d74fa694
This feature is behind the flag `--useIteratorIncludes`.
Test: JSTests/stress/iterator-prototype-includes.js
* JSTests/stress/iterator-prototype-includes.js: Added.
* Source/JavaScriptCore/runtime/JSIteratorPrototype.cpp:
* Source/JavaScriptCore/runtime/OptionsList.h:
This introduces `--useIteratorIncludes` flag.
Canonical link: https://commits.webkit.org/310769@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications