diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:14:29 +0000 |
commit | fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch) | |
tree | 4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /testing/talos/talos/tests/devtools | |
parent | Releasing progress-linux version 124.0.1-1~progress7.99u1. (diff) | |
download | firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/talos/talos/tests/devtools')
10 files changed, 13 insertions, 16 deletions
diff --git a/testing/talos/talos/tests/devtools/addon/content/actors/DampLoadChild.sys.mjs b/testing/talos/talos/tests/devtools/addon/content/actors/DampLoadChild.sys.mjs index 1f7db91c4b..5ef462c7f8 100644 --- a/testing/talos/talos/tests/devtools/addon/content/actors/DampLoadChild.sys.mjs +++ b/testing/talos/talos/tests/devtools/addon/content/actors/DampLoadChild.sys.mjs @@ -5,7 +5,7 @@ /* eslint-disable no-restricted-globals */ export class DampLoadChild extends JSWindowActorChild { - handleEvent(evt) { + handleEvent() { this.sendAsyncMessage("DampLoadChild:PageShow", { browsingContext: this.browsingContext, }); diff --git a/testing/talos/talos/tests/devtools/addon/content/damp-tests.js b/testing/talos/talos/tests/devtools/addon/content/damp-tests.js index 4a7a6fe78d..d55af15efd 100644 --- a/testing/talos/talos/tests/devtools/addon/content/damp-tests.js +++ b/testing/talos/talos/tests/devtools/addon/content/damp-tests.js @@ -5,6 +5,7 @@ "use strict"; const isWindows = Services.appinfo.OS === "WINNT"; +const isMacOS = Services.appinfo.OS === "Darwin"; // DAMP is split in sub-suites to run the tests faster on continuous integration. // See the initial patches in Bug 1749928 if we need to add more suites. @@ -232,6 +233,8 @@ module.exports = { { name: "browser-toolbox", path: "toolbox/browser-toolbox.js", + // Bug 1881503 - disabled toolbox/browser-toolbox on windows and mac for causing permafails + disabled: isWindows || isMacOS, }, { name: "server.protocoljs", diff --git a/testing/talos/talos/tests/devtools/addon/content/damp.js b/testing/talos/talos/tests/devtools/addon/content/damp.js index 9f710763d1..cad8c8433d 100644 --- a/testing/talos/talos/tests/devtools/addon/content/damp.js +++ b/testing/talos/talos/tests/devtools/addon/content/damp.js @@ -216,7 +216,7 @@ Damp.prototype = { return tab; }, - async testTeardown(url) { + async testTeardown() { // Disable closing animation to avoid intermittents and prevent having to wait for // animation's end. (See bug 1480953) this._win.gBrowser.removeCurrentTab({ animate: false }); diff --git a/testing/talos/talos/tests/devtools/addon/content/tests/debugger/custom.js b/testing/talos/talos/tests/devtools/addon/content/tests/debugger/custom.js index d0815bd514..3f2f8bc6e2 100644 --- a/testing/talos/talos/tests/devtools/addon/content/tests/debugger/custom.js +++ b/testing/talos/talos/tests/devtools/addon/content/tests/debugger/custom.js @@ -145,7 +145,7 @@ async function stepDebuggerAndLog(dbg, tab, testFunction) { } } -async function testProjectSearch(dbg, tab) { +async function testProjectSearch(dbg) { dump("Executing project search\n"); const test = runTest(`custom.jsdebugger.project-search.DAMP`); const firstSearchResultTest = runTest( @@ -216,7 +216,7 @@ async function testPreview(dbg, tab, testFunction) { await garbageCollect(); } -async function testOpeningLargeMinifiedFile(dbg, tab) { +async function testOpeningLargeMinifiedFile(dbg) { const fileFirstMinifiedChars = `(()=>{var e,t,n,r,o={82603`; dump("Open minified.js (large minified file)\n"); diff --git a/testing/talos/talos/tests/devtools/addon/content/tests/debugger/debugger-helpers.js b/testing/talos/talos/tests/devtools/addon/content/tests/debugger/debugger-helpers.js index ee1e52ed00..53ad52e65e 100644 --- a/testing/talos/talos/tests/devtools/addon/content/tests/debugger/debugger-helpers.js +++ b/testing/talos/talos/tests/devtools/addon/content/tests/debugger/debugger-helpers.js @@ -352,13 +352,7 @@ async function removeBreakpoints(dbg) { } exports.removeBreakpoints = removeBreakpoints; -async function pauseDebugger( - dbg, - tab, - testFunction, - { line, file }, - pauseOptions -) { +async function pauseDebugger(dbg, tab, testFunction, { line, file }) { const { getSelectedLocation, isMapScopesEnabled } = dbg.selectors; const state = dbg.store.getState(); diff --git a/testing/talos/talos/tests/devtools/addon/content/tests/head.js b/testing/talos/talos/tests/devtools/addon/content/tests/head.js index 559ca21d2d..910cbe1e30 100644 --- a/testing/talos/talos/tests/devtools/addon/content/tests/head.js +++ b/testing/talos/talos/tests/devtools/addon/content/tests/head.js @@ -114,7 +114,7 @@ function waitForDOMPredicate( return Promise.resolve(rv); } return new Promise(resolve => { - const observer = new target.ownerGlobal.MutationObserver(mutations => { + const observer = new target.ownerGlobal.MutationObserver(() => { rv = predicate(); if (rv) { resolve(rv); diff --git a/testing/talos/talos/tests/devtools/addon/content/tests/netmonitor/netmonitor-helpers.js b/testing/talos/talos/tests/devtools/addon/content/tests/netmonitor/netmonitor-helpers.js index 4b860bfd1b..f981c399f6 100644 --- a/testing/talos/talos/tests/devtools/addon/content/tests/netmonitor/netmonitor-helpers.js +++ b/testing/talos/talos/tests/devtools/addon/content/tests/netmonitor/netmonitor-helpers.js @@ -45,7 +45,7 @@ async function waitForAllRequestsFinished( let payloadReady = 0; let resolveWithLessThanMaxRequestsTimer = null; - function onPayloadReady(_, id) { + function onPayloadReady() { payloadReady++; dump(`Waiting for ${maxExpectedRequests - payloadReady} requests\n`); maybeResolve(); diff --git a/testing/talos/talos/tests/devtools/addon/content/tests/server/actor.js b/testing/talos/talos/tests/devtools/addon/content/tests/server/actor.js index 7180365c40..e27059d420 100644 --- a/testing/talos/talos/tests/devtools/addon/content/tests/server/actor.js +++ b/testing/talos/talos/tests/devtools/addon/content/tests/server/actor.js @@ -12,7 +12,7 @@ class DampTestActor extends Actor { super(conn, dampTestSpec); } - testMethod(arg, { option }, arraySize) { + testMethod(arg, { option }) { // Emit an event with second argument's option. this.emit("testEvent", option); diff --git a/testing/talos/talos/tests/devtools/addon/content/tests/server/protocol.js b/testing/talos/talos/tests/devtools/addon/content/tests/server/protocol.js index 7cbd58d9dd..8aae57618a 100644 --- a/testing/talos/talos/tests/devtools/addon/content/tests/server/protocol.js +++ b/testing/talos/talos/tests/devtools/addon/content/tests/server/protocol.js @@ -67,7 +67,7 @@ module.exports = async function () { bigObject["attribute-" + i] = bigString; } - let bigArray = Array.from({ length: ARRAY_SIZE }, (_, i) => bigObject); + let bigArray = Array.from({ length: ARRAY_SIZE }, _ => bigObject); // Open against options to avoid noise from tools let toolbox = await openToolbox("options"); diff --git a/testing/talos/talos/tests/devtools/addon/content/tests/toolbox/panels-in-background.js b/testing/talos/talos/tests/devtools/addon/content/tests/toolbox/panels-in-background.js index 852e65467b..7f27560a85 100644 --- a/testing/talos/talos/tests/devtools/addon/content/tests/toolbox/panels-in-background.js +++ b/testing/talos/talos/tests/devtools/addon/content/tests/toolbox/panels-in-background.js @@ -40,7 +40,7 @@ function waitForPayload(count, panelWin) { return new Promise(resolve => { let payloadReady = 0; - function onPayloadReady(_, id) { + function onPayloadReady() { payloadReady++; maybeResolve(); } |