Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: eee373837616774d98f9d0129674084edb444e7a
      
https://github.com/WebKit/WebKit/commit/eee373837616774d98f9d0129674084edb444e7a
  Author: Shu-yu Guo <[email protected]>
  Date:   2026-10-06 (Tue, 06 Oct 2026)

  Changed paths:
    M Source/JavaScriptCore/runtime/AsyncFromSyncIteratorPrototype.cpp
    M Source/JavaScriptCore/runtime/JSMicrotask.cpp

  Log Message:
  -----------
  [JSC] Release exception scope in asyncFromSync iterator functions
https://bugs.webkit.org/show_bug.cgi?id=326606
rdar://189176359

Reviewed by Mark Lam.

Add missing scope releases from asyncFromSync iterator functions and
asyncModuleResolveEvaluation to satisfy the validator, as the callers already
all correctly check for exceptions. The only exception that can be thrown in
these sites is the termination exception.

No tests are added as timing the termination exceptions is flaky.

* Source/JavaScriptCore/runtime/AsyncFromSyncIteratorPrototype.cpp:
(JSC::asyncFromSyncIteratorNext):
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/JavaScriptCore/runtime/JSMicrotask.cpp:
(JSC::asyncModuleResolveEvaluation):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to