tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 7326d5e59a3b5816e5597a1e3e8ee095b6d602d7
parent f69e7f7cec491994d0f03f43f15f7c3d8210d094
Author: Matthew Gaudet <mgaudet@mozilla.com>
Date:   Mon, 10 Nov 2025 23:09:49 +0000

Bug 1993582 - Fix missed use of typedef r=arai

Differential Revision: https://phabricator.services.mozilla.com/D271831

Diffstat:
Mjs/public/friend/MicroTask.h | 2+-
Mjs/src/builtin/Promise.cpp | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/js/public/friend/MicroTask.h b/js/public/friend/MicroTask.h @@ -60,7 +60,7 @@ namespace JS { // sees fit. using MicroTask = JS::Value; -JS_PUBLIC_API bool IsJSMicroTask(const JS::Value& hv); +JS_PUBLIC_API bool IsJSMicroTask(const JS::MicroTask& hv); // Run a MicroTask that is known to be a JS MicroTask. This will crash // if provided an invalid task kind. diff --git a/js/src/builtin/Promise.cpp b/js/src/builtin/Promise.cpp @@ -7821,7 +7821,7 @@ JS_PUBLIC_API bool JS::GetFlowIdFromJSMicroTask(const MicroTask& entry, return true; } -JS_PUBLIC_API bool JS::IsJSMicroTask(const JS::Value& hv) { +JS_PUBLIC_API bool JS::IsJSMicroTask(const JS::MicroTask& hv) { if (!hv.isObject()) { return false; }