diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
commit | 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch) | |
tree | a4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /devtools/client/shared/remote-debugging | |
parent | Adding debian version 124.0.1-1. (diff) | |
download | firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/client/shared/remote-debugging')
4 files changed, 8 insertions, 8 deletions
diff --git a/devtools/client/shared/remote-debugging/adb/adb-addon.js b/devtools/client/shared/remote-debugging/adb/adb-addon.js index ddce411cb3..e597d34231 100644 --- a/devtools/client/shared/remote-debugging/adb/adb-addon.js +++ b/devtools/client/shared/remote-debugging/adb/adb-addon.js @@ -7,7 +7,7 @@ const { AddonManager } = ChromeUtils.importESModule( "resource://gre/modules/AddonManager.sys.mjs", // AddonManager is a singleton, never create two instances of it. - { loadInDevToolsLoader: false } + { global: "shared" } ); const EventEmitter = require("resource://devtools/shared/event-emitter.js"); diff --git a/devtools/client/shared/remote-debugging/adb/adb-process.js b/devtools/client/shared/remote-debugging/adb/adb-process.js index ade509125e..f916388124 100644 --- a/devtools/client/shared/remote-debugging/adb/adb-process.js +++ b/devtools/client/shared/remote-debugging/adb/adb-process.js @@ -68,7 +68,7 @@ class AdbProcess extends EventEmitter { params, params.length, { - observe(subject, topic, data) { + observe(subject, topic) { switch (topic) { case "process-finished": resolve(); diff --git a/devtools/client/shared/remote-debugging/adb/adb-running-checker.js b/devtools/client/shared/remote-debugging/adb/adb-running-checker.js index 7f952ca39b..5660e3ddc7 100644 --- a/devtools/client/shared/remote-debugging/adb/adb-running-checker.js +++ b/devtools/client/shared/remote-debugging/adb/adb-running-checker.js @@ -64,18 +64,18 @@ exports.check = async function check() { }; const setupSocket = function () { - socket.s.onerror = function (event) { + socket.s.onerror = function () { dumpn("running checker onerror"); finish(false); }; - socket.s.onopen = function (event) { + socket.s.onopen = function () { dumpn("running checker onopen"); state = "start"; runFSM(); }; - socket.s.onclose = function (event) { + socket.s.onclose = function () { dumpn("running checker onclose"); }; diff --git a/devtools/client/shared/remote-debugging/adb/commands/shell.js b/devtools/client/shared/remote-debugging/adb/commands/shell.js index 03f4bfcf78..e891ab218d 100644 --- a/devtools/client/shared/remote-debugging/adb/commands/shell.js +++ b/devtools/client/shared/remote-debugging/adb/commands/shell.js @@ -81,18 +81,18 @@ const shell = async function (deviceId, command) { }; const socket = client.connect(); - socket.s.onerror = function (event) { + socket.s.onerror = function () { dumpn("shell onerror"); reject("SOCKET_ERROR"); }; - socket.s.onopen = function (event) { + socket.s.onopen = function () { dumpn("shell onopen"); state = "start"; runFSM(); }; - socket.s.onclose = function (event) { + socket.s.onclose = function () { resolve(stdout); dumpn("shell onclose"); }; |