Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: cc66425b1afa041ff723ccaab13b07f8ceaeca56 https://github.com/WebKit/WebKit/commit/cc66425b1afa041ff723ccaab13b07f8ceaeca56 Author: Yusuke Suzuki <ysuz...@apple.com> Date: 2025-04-17 (Thu, 17 Apr 2025)
Changed paths: A JSTests/stress/iterator-reduce-should-accept-undefined-as-a-value.js M Source/JavaScriptCore/builtins/JSIteratorPrototype.js Log Message: ----------- [JSC] Iterator.prototype.reduce fails with `undefined` initial parameter https://bugs.webkit.org/show_bug.cgi?id=291651 rdar://149470140 Reviewed by Keith Miller. We should check whether an argument is offered instead of checking `=== @undefined` * JSTests/stress/iterator-reduce-should-accept-undefined-as-a-value.js: Added. * Source/JavaScriptCore/builtins/JSIteratorPrototype.js: (reduce): Canonical link: https://commits.webkit.org/293797@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes