summaryrefslogtreecommitdiffstats
path: root/devtools/server/tests/browser
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:33 +0000
commit086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch)
treea4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /devtools/server/tests/browser
parentAdding debian version 124.0.1-1. (diff)
downloadfirefox-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/server/tests/browser')
-rw-r--r--devtools/server/tests/browser/browser_accessibility_keyboard_audit.js6
-rw-r--r--devtools/server/tests/browser/browser_connectToFrame.js2
-rw-r--r--devtools/server/tests/browser/browser_debugger_server.js2
-rw-r--r--devtools/server/tests/browser/browser_storage_updates.js2
4 files changed, 8 insertions, 4 deletions
diff --git a/devtools/server/tests/browser/browser_accessibility_keyboard_audit.js b/devtools/server/tests/browser/browser_accessibility_keyboard_audit.js
index fee9814b6c..e59cac87a3 100644
--- a/devtools/server/tests/browser/browser_accessibility_keyboard_audit.js
+++ b/devtools/server/tests/browser/browser_accessibility_keyboard_audit.js
@@ -186,7 +186,11 @@ add_task(async function () {
null,
],
["Interactive grid that is not focusable.", "#grid-1", null],
- ["Focusable interactive grid.", "#grid-2", null],
+ [
+ "Focusable interactive grid.",
+ "#grid-2",
+ { score: "WARNING", issue: "FOCUSABLE_NO_SEMANTICS" },
+ ],
[
"Non interactive ARIA table does not need to be focusable.",
"#table-1",
diff --git a/devtools/server/tests/browser/browser_connectToFrame.js b/devtools/server/tests/browser/browser_connectToFrame.js
index 568eb1acc1..1047393470 100644
--- a/devtools/server/tests/browser/browser_connectToFrame.js
+++ b/devtools/server/tests/browser/browser_connectToFrame.js
@@ -39,7 +39,7 @@ add_task(async function () {
const { Actor } = require("resource://devtools/shared/protocol/Actor.js");
class ConnectToFrameTestActor extends Actor {
- constructor(conn, tab) {
+ constructor(conn) {
super(conn, { typeName: "connectToFrameTest", methods: [] });
dump("instantiate test actor\n");
this.requestTypes = {
diff --git a/devtools/server/tests/browser/browser_debugger_server.js b/devtools/server/tests/browser/browser_debugger_server.js
index 8b36076b34..11a96a66c9 100644
--- a/devtools/server/tests/browser/browser_debugger_server.js
+++ b/devtools/server/tests/browser/browser_debugger_server.js
@@ -181,7 +181,7 @@ async function assertDevToolsOpened(tab, expected, message) {
);
}
-async function setContentServerKeepAlive(tab, keepAlive, message) {
+async function setContentServerKeepAlive(tab, keepAlive) {
await SpecialPowers.spawn(
tab.linkedBrowser,
[keepAlive],
diff --git a/devtools/server/tests/browser/browser_storage_updates.js b/devtools/server/tests/browser/browser_storage_updates.js
index 50926538a5..c1b56f6706 100644
--- a/devtools/server/tests/browser/browser_storage_updates.js
+++ b/devtools/server/tests/browser/browser_storage_updates.js
@@ -17,7 +17,7 @@ const sessionString = l10n.formatValueSync("storage-expires-session");
const TESTS = [
// index 0
{
- async action(win) {
+ async action() {
await addCookie("c1", "foobar1");
await addCookie("c2", "foobar2");
await localStorageSetItem("l1", "foobar1");