[webkit-changes] [WebKit/WebKit] a084fc: Iterator completion should check for exceptions.

Justin Michaud noreply at github.com
Fri Nov 11 15:57:05 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a084fca782e9142dc900e500ac7d4971df65c1e9
      https://github.com/WebKit/WebKit/commit/a084fca782e9142dc900e500ac7d4971df65c1e9
  Author: Justin Michaud <justin_michaud at apple.com>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    A JSTests/stress/iterator-done-exception-check.js
    M Source/JavaScriptCore/runtime/IteratorOperations.cpp

  Log Message:
  -----------
  Iterator completion should check for exceptions.
https://bugs.webkit.org/show_bug.cgi?id=247419.

Reviewed by Yusuke Suzuki.

Let's add a happy little exception check after calling iterator.done.

* JSTests/stress/iterator-done-exception-check.js: Added.
(main):
* Source/JavaScriptCore/runtime/IteratorOperations.cpp:
(JSC::iteratorComplete):

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




More information about the webkit-changes mailing list