[webkit-changes] [WebKit/WebKit] 634d22: [JSC] Microtask should not care about exceptions
Yusuke Suzuki
noreply at github.com
Fri Sep 16 01:16:29 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 634d22fbdc856a59f02b6527d68a415bf1d7841a
https://github.com/WebKit/WebKit/commit/634d22fbdc856a59f02b6527d68a415bf1d7841a
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2022-09-16 (Fri, 16 Sep 2022)
Changed paths:
M Source/JavaScriptCore/runtime/CatchScope.h
M Source/JavaScriptCore/runtime/JSMicrotask.cpp
M Source/WebCore/bindings/js/JSDOMMicrotask.cpp
M Source/WebCore/bindings/js/ScheduledAction.cpp
Log Message:
-----------
[JSC] Microtask should not care about exceptions
https://bugs.webkit.org/show_bug.cgi?id=245199
rdar://99237677
Reviewed by Mark Lam.
Microtask execution should be done without exception, and any exceptions thrown can be cleared when running microtasks.
We clear exceptions extensively for all cases, plus, we early return if termination exception is already thrown.
* Source/JavaScriptCore/runtime/JSMicrotask.cpp:
(JSC::runJSMicrotask):
Canonical link: https://commits.webkit.org/254546@main
More information about the webkit-changes
mailing list