From da4c7e7ed675c3bf405668739c3012d140856109 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:34:42 +0200 Subject: Adding upstream version 126.0. Signed-off-by: Daniel Baumann --- .../tests/browser/browser_inspector-anonymous.js | 4 +- .../browser/doc_accessibility_keyboard_audit.html | 6 +- .../doc_accessibility_text_label_audit.html | 72 +++++++++++++--------- devtools/server/tests/browser/head.js | 2 + 4 files changed, 50 insertions(+), 34 deletions(-) (limited to 'devtools/server/tests/browser') diff --git a/devtools/server/tests/browser/browser_inspector-anonymous.js b/devtools/server/tests/browser/browser_inspector-anonymous.js index 024b7af1bb..526a3a5572 100644 --- a/devtools/server/tests/browser/browser_inspector-anonymous.js +++ b/devtools/server/tests/browser/browser_inspector-anonymous.js @@ -7,11 +7,11 @@ add_task(async function () { await SpecialPowers.pushPermissions([ - { type: "allowXULXBL", allow: true, context: MAIN_DOMAIN }, + { type: "allowXULXBL", allow: true, context: MAIN_DOMAIN_HTTPS }, ]); const { walker } = await initInspectorFront( - MAIN_DOMAIN + "inspector-traversal-data.html" + MAIN_DOMAIN_HTTPS + "inspector-traversal-data.html" ); await testXBLAnonymousInHTMLDocument(walker); diff --git a/devtools/server/tests/browser/doc_accessibility_keyboard_audit.html b/devtools/server/tests/browser/doc_accessibility_keyboard_audit.html index 00c002efe9..c4991a5f40 100644 --- a/devtools/server/tests/browser/doc_accessibility_keyboard_audit.html +++ b/devtools/server/tests/browser/doc_accessibility_keyboard_audit.html @@ -95,8 +95,10 @@
-
-
+
+
+
+
diff --git a/devtools/server/tests/browser/doc_accessibility_text_label_audit.html b/devtools/server/tests/browser/doc_accessibility_text_label_audit.html index 982cc5c243..24a23c96f0 100644 --- a/devtools/server/tests/browser/doc_accessibility_text_label_audit.html +++ b/devtools/server/tests/browser/doc_accessibility_text_label_audit.html @@ -61,13 +61,17 @@ -
Film Title
-
-
 
-
-
-
-
+
+
+
Film Title
+
+
 
+
+
+
+
+
+
@@ -299,14 +305,16 @@

- - - -

Tree Item

- -

- - Tree Item +
+ + + +

Tree Item

+ +

+ + Tree Item +
@@ -368,13 +376,17 @@
-
Toy Story 3
-
-
 
-
-
-
-
+
+
+
Toy Story 3
+
+
 
+
+
+
+
+
+
diff --git a/devtools/server/tests/browser/head.js b/devtools/server/tests/browser/head.js index aba6d578f2..a0363fe6d5 100644 --- a/devtools/server/tests/browser/head.js +++ b/devtools/server/tests/browser/head.js @@ -23,7 +23,9 @@ const { const PATH = "browser/devtools/server/tests/browser/"; const TEST_DOMAIN = "http://test1.example.org"; +const TEST_DOMAIN_HTTPS = "https://test1.example.org"; const MAIN_DOMAIN = `${TEST_DOMAIN}/${PATH}`; +const MAIN_DOMAIN_HTTPS = `${TEST_DOMAIN_HTTPS}/${PATH}`; const ALT_DOMAIN = "http://sectest1.example.org/" + PATH; const ALT_DOMAIN_SECURED = "https://sectest1.example.org:443/" + PATH; -- cgit v1.2.3