diff options
Diffstat (limited to 'devtools/server/tests/browser')
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"); |