diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /testing/xpcshell/head.js | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/xpcshell/head.js')
-rw-r--r-- | testing/xpcshell/head.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/xpcshell/head.js b/testing/xpcshell/head.js index a487c481ef..d3b19719ab 100644 --- a/testing/xpcshell/head.js +++ b/testing/xpcshell/head.js @@ -434,7 +434,7 @@ function _setupDevToolsServer(breakpointFiles, callback) { // Or when devtools are destroyed and we should stop observing. "xpcshell-test-devtools-shutdown", ]; - let observe = function (subject, topic, data) { + let observe = function (subject, topic) { if (topic === "devtools-thread-ready") { const threadActor = subject.wrappedJSObject; threadActor.setBreakpointOnLoad(breakpointFiles); @@ -745,7 +745,7 @@ function _execute_test() { * @param aFiles Array of files to load. */ function _load_files(aFiles) { - function load_file(element, index, array) { + function load_file(element) { try { let startTime = Cu.now(); load(element); @@ -1829,7 +1829,7 @@ function run_next_test() { } function frontLoadSetups() { - _gTests.sort(([propsA, funcA], [propsB, funcB]) => { + _gTests.sort(([propsA], [propsB]) => { if (propsB.isSetup === propsA.isSetup) { return 0; } |