Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ad1d5f243875e10d09e88069dc272bf83f5e6699
https://github.com/WebKit/WebKit/commit/ad1d5f243875e10d09e88069dc272bf83f5e6699
Author: Sosuke Suzuki <[email protected]>
Date: 2025-10-11 (Sat, 11 Oct 2025)
Changed paths:
M Source/JavaScriptCore/runtime/MicrotaskQueue.h
M Source/WebCore/bindings/js/JSDOMWindowCustom.cpp
M Source/WebCore/bindings/js/JSWorkerGlobalScopeCustom.cpp
Log Message:
-----------
[JSC] Use a `maxArguments` instead of hardcoding the number of arguments in
the `QueuedTask` constructor
https://bugs.webkit.org/show_bug.cgi?id=300431
Reviewed by Yusuke Suzuki.
This patch changes to use a `maxArguments` instead of hardcoding the number of
arguments in
the `QueuedTask` constructor.
Unset arguments are empty JSValue both before and after this patch.
* Source/JavaScriptCore/runtime/MicrotaskQueue.h:
(JSC::QueuedTask::QueuedTask):
* Source/WebCore/bindings/js/JSDOMWindowCustom.cpp:
(WebCore::JSDOMWindow::queueMicrotask):
* Source/WebCore/bindings/js/JSWorkerGlobalScopeCustom.cpp:
(WebCore::JSWorkerGlobalScope::queueMicrotask):
Canonical link: https://commits.webkit.org/301368@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