[webkit-changes] [WebKit/WebKit] 3201e5: [JSC] Early return in microtask draining when term...

Yusuke Suzuki noreply at github.com
Mon May 22 18:09:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3201e5f5a718fc241b820adb575455d2e3bc9b95
      https://github.com/WebKit/WebKit/commit/3201e5f5a718fc241b820adb575455d2e3bc9b95
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2023-05-22 (Mon, 22 May 2023)

  Changed paths:
    A JSTests/stress/exception-check-unhandled-promise-rejection-in-shell.js
    M Source/JavaScriptCore/runtime/VM.cpp

  Log Message:
  -----------
  [JSC] Early return in microtask draining when termination happens
https://bugs.webkit.org/show_bug.cgi?id=257163
rdar://109401883

Reviewed by Mark Lam.

This is Debug only, JSC shell only issue. Early returning from microtask draining when termination happens.

* JSTests/stress/exception-check-unhandled-promise-rejection-in-shell.js: Added.
(async foo):
* Source/JavaScriptCore/runtime/VM.cpp:
(JSC::VM::didExhaustMicrotaskQueue):
(JSC::VM::drainMicrotasks):

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




More information about the webkit-changes mailing list