Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d6f3d9c7c304a8d5768e4a5ff4f1ce27e2dbfa47
      
https://github.com/WebKit/WebKit/commit/d6f3d9c7c304a8d5768e4a5ff4f1ce27e2dbfa47
  Author: Yusuke Suzuki <[email protected]>
  Date:   2025-04-17 (Thu, 17 Apr 2025)

  Changed paths:
    A JSTests/stress/iterator-helper-close-timing.js
    M Source/JavaScriptCore/builtins/JSIteratorPrototype.js
    M Source/JavaScriptCore/runtime/JSIteratorPrototype.cpp

  Log Message:
  -----------
  [JSC] Iterator helpers incorrectly close iterators on early errors
https://bugs.webkit.org/show_bug.cgi?id=291195
rdar://148774612

Reviewed by Keith Miller and Sosuke Suzuki.

NaN / Integer checks should be done without iterator closing.
We also fix iterator helpers' closing timing for the other methods as
well.

* JSTests/stress/iterator-helper-close-timing.js: Added.
(shouldBe):
(shouldThrow):
* Source/JavaScriptCore/builtins/JSIteratorPrototype.js:

Canonical link: https://commits.webkit.org/293842@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to