From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- accessible/tests/mochitest/relations/a11y.toml | 23 ++ .../tests/mochitest/relations/test_embeds.xhtml | 128 ++++++ .../tests/mochitest/relations/test_general.html | 456 +++++++++++++++++++++ .../tests/mochitest/relations/test_general.xhtml | 237 +++++++++++ .../mochitest/relations/test_groupInfoUpdate.html | 57 +++ .../tests/mochitest/relations/test_shadowdom.html | 58 +++ .../mochitest/relations/test_tabbrowser.xhtml | 109 +++++ .../tests/mochitest/relations/test_tree.xhtml | 105 +++++ .../mochitest/relations/test_ui_modalprompt.html | 111 +++++ .../tests/mochitest/relations/test_update.html | 213 ++++++++++ 10 files changed, 1497 insertions(+) create mode 100644 accessible/tests/mochitest/relations/a11y.toml create mode 100644 accessible/tests/mochitest/relations/test_embeds.xhtml create mode 100644 accessible/tests/mochitest/relations/test_general.html create mode 100644 accessible/tests/mochitest/relations/test_general.xhtml create mode 100644 accessible/tests/mochitest/relations/test_groupInfoUpdate.html create mode 100644 accessible/tests/mochitest/relations/test_shadowdom.html create mode 100644 accessible/tests/mochitest/relations/test_tabbrowser.xhtml create mode 100644 accessible/tests/mochitest/relations/test_tree.xhtml create mode 100644 accessible/tests/mochitest/relations/test_ui_modalprompt.html create mode 100644 accessible/tests/mochitest/relations/test_update.html (limited to 'accessible/tests/mochitest/relations') diff --git a/accessible/tests/mochitest/relations/a11y.toml b/accessible/tests/mochitest/relations/a11y.toml new file mode 100644 index 0000000000..ae41bf91a5 --- /dev/null +++ b/accessible/tests/mochitest/relations/a11y.toml @@ -0,0 +1,23 @@ +[DEFAULT] +support-files = "!/accessible/tests/mochitest/*.js" + +["test_embeds.xhtml"] +skip-if = [ + "os == 'linux' && !debug", # bug 1411145 +] + +["test_general.html"] + +["test_general.xhtml"] + +["test_groupInfoUpdate.html"] + +["test_shadowdom.html"] + +["test_tabbrowser.xhtml"] + +["test_tree.xhtml"] + +["test_ui_modalprompt.html"] + +["test_update.html"] diff --git a/accessible/tests/mochitest/relations/test_embeds.xhtml b/accessible/tests/mochitest/relations/test_embeds.xhtml new file mode 100644 index 0000000000..d49ce1f73c --- /dev/null +++ b/accessible/tests/mochitest/relations/test_embeds.xhtml @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + Mozilla Bug 707654 + +

+ +
+    
+ +
+
diff --git a/accessible/tests/mochitest/relations/test_general.html b/accessible/tests/mochitest/relations/test_general.html new file mode 100644 index 0000000000..d16b7c1492 --- /dev/null +++ b/accessible/tests/mochitest/relations/test_general.html @@ -0,0 +1,456 @@ + + + + nsIAccessible::getAccessibleRelated() tests + + + + + + + + + + + + + + + + Bug 475298 + + + Bug 527461 + + + Bug 558036 + + + Bug 682790 + + + Bug 687393 + + + Bug 864224 + +

+ +
+  
+ + + + + + + + + + + + + + + + + + + + + + label + + + label1 + label2 + + + description + + + description1 + description2 + + +
Yellow
+
Orange
+
+
Blue
+
Green
+
Light green
+
Green2
+
+
Super light green
+
+
+ +
+
+
cell 1,1
+
cell 1,2
+
+
+
cell 2,1
+
cell 2,2
+
+
+
cell 3,1
+
cell 3,2
+
+
+ + + +
+
+
1
+
+
+
+
1.1
+
1.2
+
+
+
+ +
+
+ cell1cell2 +
+
+ cell3cell4 +
+
+ cell5cell6 +
+
+ +
+
Item 1 +
+
Item 1A
+
Item 1B
+
+
+
+ +
+
1 +
+
+
1.1
+
1.2
+
+
+
+
+ +
+
1 +
+
+
1.1
+
1.2
+
+
+
+
+ + + +
+ +
+
tabpanel
+ +
1
+
a
+ + +
live region
+ + flow to + flow from + + flow to + flow from + flow from + +
+ + + + + +
+ + + + + + +
tabple caption
cell1cell2
+ +
+ legend + +
+ +
+
+
+ + diff --git a/accessible/tests/mochitest/relations/test_general.xhtml b/accessible/tests/mochitest/relations/test_general.xhtml new file mode 100644 index 0000000000..bc3b328fd9 --- /dev/null +++ b/accessible/tests/mochitest/relations/test_general.xhtml @@ -0,0 +1,237 @@ + + + + + + + + + + + + Mozilla Bug 475298 +
+ + Mozilla Bug 67389 +
+ +

+ +
+      
+ + + + + + + + + + label + + + label + label + + + + + + description + + + label + label + + + description + + + description + description + + + Yellow + Orange + + Blue + Green + Light green + + + Dark green + +