tor-browser

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

commit 8293a2ae485dd25a16a4987a2cd92986dee19992
parent 4a56445424b3f42ac1891220c09294a43817bd68
Author: Lando <lando@lando.test>
Date:   Wed,  5 Nov 2025 19:24:30 +0000

Bug 1881130: apply code formatting via Lando

# ignore-this-changeset

Diffstat:
Mjs/src/shell/js.cpp | 11+++++------
1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/js/src/shell/js.cpp b/js/src/shell/js.cpp @@ -1162,9 +1162,9 @@ static bool ShellInterruptCallback(JSContext* cx) { JS::RealmOptions options; SetStandardRealmOptions(options); - RootedObject glob( - cx, NewGlobalObject(cx, options, nullptr, ShellGlobalKind::WindowProxy, - /* immutablePrototype = */ true)); + RootedObject glob(cx, NewGlobalObject(cx, options, nullptr, + ShellGlobalKind::WindowProxy, + /* immutablePrototype = */ true)); if (!glob) { return false; } @@ -3117,9 +3117,8 @@ static bool EvaluateInner(JSContext* cx, HandleString code, } if (execute) { - if (!(envChain.empty() - ? JS_ExecuteScript(cx, script, rval) - : JS_ExecuteScript(cx, envChain, script, rval))) { + if (!(envChain.empty() ? JS_ExecuteScript(cx, script, rval) + : JS_ExecuteScript(cx, envChain, script, rval))) { if (catchTermination && !JS_IsExceptionPending(cx)) { ShellContext* sc = GetShellContext(cx); if (sc->quitting) {