summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/focus
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/focus
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/focus')
-rw-r--r--testing/web-platform/meta/focus/activeelement-after-calling-window-focus.sub.html.ini12
-rw-r--r--testing/web-platform/meta/focus/activeelement-after-focusing-different-site-iframe-contentwindow.html.ini3
-rw-r--r--testing/web-platform/meta/focus/activeelement-after-focusing-different-site-iframe-then-immediately-focusing-back.html.ini3
-rw-r--r--testing/web-platform/meta/focus/activeelement-after-focusing-different-site-iframe.html.ini3
-rw-r--r--testing/web-platform/meta/focus/activeelement-after-focusing-same-site-iframe-contentwindow.html.ini3
-rw-r--r--testing/web-platform/meta/focus/activeelement-after-focusing-same-site-iframe.html.ini3
-rw-r--r--testing/web-platform/meta/focus/activeelement-after-immediately-focusing-different-site-iframe-contentwindow.html.ini3
-rw-r--r--testing/web-platform/meta/focus/activeelement-after-immediately-focusing-different-site-iframe.html.ini3
-rw-r--r--testing/web-platform/meta/focus/activeelement-after-immediately-focusing-same-site-iframe-contentwindow.html.ini3
-rw-r--r--testing/web-platform/meta/focus/activeelement-after-immediately-focusing-same-site-iframe.html.ini4
-rw-r--r--testing/web-platform/meta/focus/focus-already-focused-iframe-deep-different-site.html.ini4
-rw-r--r--testing/web-platform/meta/focus/focus-already-focused-iframe-deep-same-site.html.ini3
-rw-r--r--testing/web-platform/meta/focus/focus-already-focused-iframe-different-site.html.ini7
-rw-r--r--testing/web-platform/meta/focus/focus-already-focused-iframe-same-site.html.ini3
-rw-r--r--testing/web-platform/meta/focus/focus-centers-element.html.ini4
-rw-r--r--testing/web-platform/meta/focus/focus-event-after-focusing-iframes.html.ini3
-rw-r--r--testing/web-platform/meta/focus/focus-event-after-iframe-gets-focus.html.ini3
-rw-r--r--testing/web-platform/meta/focus/focus-restoration-in-different-site-iframes-window.html.ini8
-rw-r--r--testing/web-platform/meta/focus/focus-restoration-in-different-site-iframes.html.ini7
-rw-r--r--testing/web-platform/meta/focus/focus-restoration-in-same-site-iframes-window.html.ini8
-rw-r--r--testing/web-platform/meta/focus/hasfocus-different-site.html.ini5
-rw-r--r--testing/web-platform/meta/focus/hasfocus-same-site.html.ini3
-rw-r--r--testing/web-platform/meta/focus/iframe-activeelement-after-focusing-out-iframes.html.ini5
-rw-r--r--testing/web-platform/meta/focus/iframe-contentwindow-focus-with-different-site-intermediate-frame.html.ini3
-rw-r--r--testing/web-platform/meta/focus/iframe-contentwindow-focus-with-same-as-top-intermediate-frame.html.ini3
-rw-r--r--testing/web-platform/meta/focus/iframe-focus-with-different-site-intermediate-frame.html.ini3
-rw-r--r--testing/web-platform/meta/focus/iframe-focus-with-same-as-top-intermediate-frame.html.ini3
-rw-r--r--testing/web-platform/meta/focus/iframe-focuses-parent-different-site.html.ini3
-rw-r--r--testing/web-platform/meta/focus/iframe-focuses-parent-same-site.html.ini3
-rw-r--r--testing/web-platform/meta/focus/scroll-matches-focus.html.ini3
30 files changed, 124 insertions, 0 deletions
diff --git a/testing/web-platform/meta/focus/activeelement-after-calling-window-focus.sub.html.ini b/testing/web-platform/meta/focus/activeelement-after-calling-window-focus.sub.html.ini
new file mode 100644
index 0000000000..89a57d9ced
--- /dev/null
+++ b/testing/web-platform/meta/focus/activeelement-after-calling-window-focus.sub.html.ini
@@ -0,0 +1,12 @@
+[activeelement-after-calling-window-focus.sub.html]
+ [Tests for outer frame and inner frame are in same origin and middle frame is in different origin]
+ expected:
+ if (os == "mac") and not debug: [PASS, FAIL]
+
+ [Tests for outer frame and middle frame are in same origin and inner frame is in different origin]
+ expected:
+ if (os == "mac") and not debug: [PASS, FAIL]
+
+ [Tests for all frames are in different origin]
+ expected:
+ if (os == "mac") and not debug: [PASS, FAIL]
diff --git a/testing/web-platform/meta/focus/activeelement-after-focusing-different-site-iframe-contentwindow.html.ini b/testing/web-platform/meta/focus/activeelement-after-focusing-different-site-iframe-contentwindow.html.ini
new file mode 100644
index 0000000000..a01fe07db6
--- /dev/null
+++ b/testing/web-platform/meta/focus/activeelement-after-focusing-different-site-iframe-contentwindow.html.ini
@@ -0,0 +1,3 @@
+[activeelement-after-focusing-different-site-iframe-contentwindow.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/focus/activeelement-after-focusing-different-site-iframe-then-immediately-focusing-back.html.ini b/testing/web-platform/meta/focus/activeelement-after-focusing-different-site-iframe-then-immediately-focusing-back.html.ini
new file mode 100644
index 0000000000..65af7c4d5a
--- /dev/null
+++ b/testing/web-platform/meta/focus/activeelement-after-focusing-different-site-iframe-then-immediately-focusing-back.html.ini
@@ -0,0 +1,3 @@
+[activeelement-after-focusing-different-site-iframe-then-immediately-focusing-back.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/focus/activeelement-after-focusing-different-site-iframe.html.ini b/testing/web-platform/meta/focus/activeelement-after-focusing-different-site-iframe.html.ini
new file mode 100644
index 0000000000..e51979f50d
--- /dev/null
+++ b/testing/web-platform/meta/focus/activeelement-after-focusing-different-site-iframe.html.ini
@@ -0,0 +1,3 @@
+[activeelement-after-focusing-different-site-iframe.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/focus/activeelement-after-focusing-same-site-iframe-contentwindow.html.ini b/testing/web-platform/meta/focus/activeelement-after-focusing-same-site-iframe-contentwindow.html.ini
new file mode 100644
index 0000000000..259895ec81
--- /dev/null
+++ b/testing/web-platform/meta/focus/activeelement-after-focusing-same-site-iframe-contentwindow.html.ini
@@ -0,0 +1,3 @@
+[activeelement-after-focusing-same-site-iframe-contentwindow.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/focus/activeelement-after-focusing-same-site-iframe.html.ini b/testing/web-platform/meta/focus/activeelement-after-focusing-same-site-iframe.html.ini
new file mode 100644
index 0000000000..8027a8a5f8
--- /dev/null
+++ b/testing/web-platform/meta/focus/activeelement-after-focusing-same-site-iframe.html.ini
@@ -0,0 +1,3 @@
+[activeelement-after-focusing-same-site-iframe.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/focus/activeelement-after-immediately-focusing-different-site-iframe-contentwindow.html.ini b/testing/web-platform/meta/focus/activeelement-after-immediately-focusing-different-site-iframe-contentwindow.html.ini
new file mode 100644
index 0000000000..e371294e73
--- /dev/null
+++ b/testing/web-platform/meta/focus/activeelement-after-immediately-focusing-different-site-iframe-contentwindow.html.ini
@@ -0,0 +1,3 @@
+[activeelement-after-immediately-focusing-different-site-iframe-contentwindow.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/focus/activeelement-after-immediately-focusing-different-site-iframe.html.ini b/testing/web-platform/meta/focus/activeelement-after-immediately-focusing-different-site-iframe.html.ini
new file mode 100644
index 0000000000..803c1fbe31
--- /dev/null
+++ b/testing/web-platform/meta/focus/activeelement-after-immediately-focusing-different-site-iframe.html.ini
@@ -0,0 +1,3 @@
+[activeelement-after-immediately-focusing-different-site-iframe.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/focus/activeelement-after-immediately-focusing-same-site-iframe-contentwindow.html.ini b/testing/web-platform/meta/focus/activeelement-after-immediately-focusing-same-site-iframe-contentwindow.html.ini
new file mode 100644
index 0000000000..2f27e9fd8b
--- /dev/null
+++ b/testing/web-platform/meta/focus/activeelement-after-immediately-focusing-same-site-iframe-contentwindow.html.ini
@@ -0,0 +1,3 @@
+[activeelement-after-immediately-focusing-same-site-iframe-contentwindow.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/focus/activeelement-after-immediately-focusing-same-site-iframe.html.ini b/testing/web-platform/meta/focus/activeelement-after-immediately-focusing-same-site-iframe.html.ini
new file mode 100644
index 0000000000..715309a3a1
--- /dev/null
+++ b/testing/web-platform/meta/focus/activeelement-after-immediately-focusing-same-site-iframe.html.ini
@@ -0,0 +1,4 @@
+[activeelement-after-immediately-focusing-same-site-iframe.html]
+ expected:
+ if (os == "mac") and not debug: [OK, TIMEOUT]
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/focus/focus-already-focused-iframe-deep-different-site.html.ini b/testing/web-platform/meta/focus/focus-already-focused-iframe-deep-different-site.html.ini
new file mode 100644
index 0000000000..e84b3101d9
--- /dev/null
+++ b/testing/web-platform/meta/focus/focus-already-focused-iframe-deep-different-site.html.ini
@@ -0,0 +1,4 @@
+[focus-already-focused-iframe-deep-different-site.html]
+ expected:
+ if (os == "mac") and debug: [OK, TIMEOUT]
+ if (os == "mac") and not debug: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/focus/focus-already-focused-iframe-deep-same-site.html.ini b/testing/web-platform/meta/focus/focus-already-focused-iframe-deep-same-site.html.ini
new file mode 100644
index 0000000000..8f9edd842e
--- /dev/null
+++ b/testing/web-platform/meta/focus/focus-already-focused-iframe-deep-same-site.html.ini
@@ -0,0 +1,3 @@
+[focus-already-focused-iframe-deep-same-site.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/focus/focus-already-focused-iframe-different-site.html.ini b/testing/web-platform/meta/focus/focus-already-focused-iframe-different-site.html.ini
new file mode 100644
index 0000000000..826db70004
--- /dev/null
+++ b/testing/web-platform/meta/focus/focus-already-focused-iframe-different-site.html.ini
@@ -0,0 +1,7 @@
+[focus-already-focused-iframe-different-site.html]
+ expected:
+ if (os == "win") and not debug and (processor == "x86"): [OK, TIMEOUT]
+ if (os == "win") and not debug and (processor == "x86_64"): [OK, TIMEOUT]
+ if (os == "win") and debug: [OK, TIMEOUT]
+ if (os == "linux") and not fission: [OK, TIMEOUT]
+ if os == "mac": [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/focus/focus-already-focused-iframe-same-site.html.ini b/testing/web-platform/meta/focus/focus-already-focused-iframe-same-site.html.ini
new file mode 100644
index 0000000000..c54e3856fa
--- /dev/null
+++ b/testing/web-platform/meta/focus/focus-already-focused-iframe-same-site.html.ini
@@ -0,0 +1,3 @@
+[focus-already-focused-iframe-same-site.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/focus/focus-centers-element.html.ini b/testing/web-platform/meta/focus/focus-centers-element.html.ini
new file mode 100644
index 0000000000..5a46824ed5
--- /dev/null
+++ b/testing/web-platform/meta/focus/focus-centers-element.html.ini
@@ -0,0 +1,4 @@
+[focus-centers-element.html]
+ [Element.focus() center in both directions]
+ expected:
+ if os == "android": FAIL
diff --git a/testing/web-platform/meta/focus/focus-event-after-focusing-iframes.html.ini b/testing/web-platform/meta/focus/focus-event-after-focusing-iframes.html.ini
new file mode 100644
index 0000000000..9924794a35
--- /dev/null
+++ b/testing/web-platform/meta/focus/focus-event-after-focusing-iframes.html.ini
@@ -0,0 +1,3 @@
+[focus-event-after-focusing-iframes.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/focus/focus-event-after-iframe-gets-focus.html.ini b/testing/web-platform/meta/focus/focus-event-after-iframe-gets-focus.html.ini
new file mode 100644
index 0000000000..7c9ecf6316
--- /dev/null
+++ b/testing/web-platform/meta/focus/focus-event-after-iframe-gets-focus.html.ini
@@ -0,0 +1,3 @@
+[focus-event-after-iframe-gets-focus.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/focus/focus-restoration-in-different-site-iframes-window.html.ini b/testing/web-platform/meta/focus/focus-restoration-in-different-site-iframes-window.html.ini
new file mode 100644
index 0000000000..45555108ab
--- /dev/null
+++ b/testing/web-platform/meta/focus/focus-restoration-in-different-site-iframes-window.html.ini
@@ -0,0 +1,8 @@
+[focus-restoration-in-different-site-iframes-window.html]
+ disabled:
+ if (os == "linux") or debug: https://bugzilla.mozilla.org/show_bug.cgi?id=1642889
+ [Check result]
+ expected:
+ if (os == "win") and (processor == "x86_64"): [PASS, FAIL]
+ if (os == "win") and (processor == "x86"): [PASS, FAIL]
+ if os == "mac": [FAIL, PASS]
diff --git a/testing/web-platform/meta/focus/focus-restoration-in-different-site-iframes.html.ini b/testing/web-platform/meta/focus/focus-restoration-in-different-site-iframes.html.ini
new file mode 100644
index 0000000000..59c0068863
--- /dev/null
+++ b/testing/web-platform/meta/focus/focus-restoration-in-different-site-iframes.html.ini
@@ -0,0 +1,7 @@
+[focus-restoration-in-different-site-iframes.html]
+ disabled:
+ if (os == "linux") or debug: https://bugzilla.mozilla.org/show_bug.cgi?id=1642889
+ [Check result]
+ expected:
+ if os == "mac": [FAIL, PASS]
+ [PASS, FAIL]
diff --git a/testing/web-platform/meta/focus/focus-restoration-in-same-site-iframes-window.html.ini b/testing/web-platform/meta/focus/focus-restoration-in-same-site-iframes-window.html.ini
new file mode 100644
index 0000000000..0ef27af8fc
--- /dev/null
+++ b/testing/web-platform/meta/focus/focus-restoration-in-same-site-iframes-window.html.ini
@@ -0,0 +1,8 @@
+[focus-restoration-in-same-site-iframes-window.html]
+ disabled:
+ if (os == "linux") or debug: https://bugzilla.mozilla.org/show_bug.cgi?id=1642889
+ [Check result]
+ expected:
+ if (os == "mac") and fission: [FAIL, PASS]
+ if os == "android": PASS
+ [PASS, FAIL]
diff --git a/testing/web-platform/meta/focus/hasfocus-different-site.html.ini b/testing/web-platform/meta/focus/hasfocus-different-site.html.ini
new file mode 100644
index 0000000000..79f54a5083
--- /dev/null
+++ b/testing/web-platform/meta/focus/hasfocus-different-site.html.ini
@@ -0,0 +1,5 @@
+[hasfocus-different-site.html]
+ [Check result]
+ expected:
+ if (os == "mac") and not debug: [PASS, FAIL]
+ if (os == "mac") and debug: [PASS, FAIL]
diff --git a/testing/web-platform/meta/focus/hasfocus-same-site.html.ini b/testing/web-platform/meta/focus/hasfocus-same-site.html.ini
new file mode 100644
index 0000000000..27691c0192
--- /dev/null
+++ b/testing/web-platform/meta/focus/hasfocus-same-site.html.ini
@@ -0,0 +1,3 @@
+[hasfocus-same-site.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/focus/iframe-activeelement-after-focusing-out-iframes.html.ini b/testing/web-platform/meta/focus/iframe-activeelement-after-focusing-out-iframes.html.ini
new file mode 100644
index 0000000000..a174eb5253
--- /dev/null
+++ b/testing/web-platform/meta/focus/iframe-activeelement-after-focusing-out-iframes.html.ini
@@ -0,0 +1,5 @@
+[iframe-activeelement-after-focusing-out-iframes.html]
+ [Check iframe activeElement after focusing out different site iframe]
+ expected:
+ if os == "android": PASS
+ [PASS, FAIL]
diff --git a/testing/web-platform/meta/focus/iframe-contentwindow-focus-with-different-site-intermediate-frame.html.ini b/testing/web-platform/meta/focus/iframe-contentwindow-focus-with-different-site-intermediate-frame.html.ini
new file mode 100644
index 0000000000..696716dd42
--- /dev/null
+++ b/testing/web-platform/meta/focus/iframe-contentwindow-focus-with-different-site-intermediate-frame.html.ini
@@ -0,0 +1,3 @@
+[iframe-contentwindow-focus-with-different-site-intermediate-frame.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/focus/iframe-contentwindow-focus-with-same-as-top-intermediate-frame.html.ini b/testing/web-platform/meta/focus/iframe-contentwindow-focus-with-same-as-top-intermediate-frame.html.ini
new file mode 100644
index 0000000000..57a9071383
--- /dev/null
+++ b/testing/web-platform/meta/focus/iframe-contentwindow-focus-with-same-as-top-intermediate-frame.html.ini
@@ -0,0 +1,3 @@
+[iframe-contentwindow-focus-with-same-as-top-intermediate-frame.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT, CRASH]
diff --git a/testing/web-platform/meta/focus/iframe-focus-with-different-site-intermediate-frame.html.ini b/testing/web-platform/meta/focus/iframe-focus-with-different-site-intermediate-frame.html.ini
new file mode 100644
index 0000000000..adff3bb693
--- /dev/null
+++ b/testing/web-platform/meta/focus/iframe-focus-with-different-site-intermediate-frame.html.ini
@@ -0,0 +1,3 @@
+[iframe-focus-with-different-site-intermediate-frame.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT, CRASH]
diff --git a/testing/web-platform/meta/focus/iframe-focus-with-same-as-top-intermediate-frame.html.ini b/testing/web-platform/meta/focus/iframe-focus-with-same-as-top-intermediate-frame.html.ini
new file mode 100644
index 0000000000..db304a8715
--- /dev/null
+++ b/testing/web-platform/meta/focus/iframe-focus-with-same-as-top-intermediate-frame.html.ini
@@ -0,0 +1,3 @@
+[iframe-focus-with-same-as-top-intermediate-frame.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT, CRASH]
diff --git a/testing/web-platform/meta/focus/iframe-focuses-parent-different-site.html.ini b/testing/web-platform/meta/focus/iframe-focuses-parent-different-site.html.ini
new file mode 100644
index 0000000000..189376f4de
--- /dev/null
+++ b/testing/web-platform/meta/focus/iframe-focuses-parent-different-site.html.ini
@@ -0,0 +1,3 @@
+[iframe-focuses-parent-different-site.html]
+ disabled:
+ if (os == "android"): https://bugzilla.mozilla.org/show_bug.cgi?id=1687280
diff --git a/testing/web-platform/meta/focus/iframe-focuses-parent-same-site.html.ini b/testing/web-platform/meta/focus/iframe-focuses-parent-same-site.html.ini
new file mode 100644
index 0000000000..51187e06f4
--- /dev/null
+++ b/testing/web-platform/meta/focus/iframe-focuses-parent-same-site.html.ini
@@ -0,0 +1,3 @@
+[iframe-focuses-parent-same-site.html]
+ disabled:
+ if (os == "android"): https://bugzilla.mozilla.org/show_bug.cgi?id=1687280
diff --git a/testing/web-platform/meta/focus/scroll-matches-focus.html.ini b/testing/web-platform/meta/focus/scroll-matches-focus.html.ini
new file mode 100644
index 0000000000..d2b8e1bd62
--- /dev/null
+++ b/testing/web-platform/meta/focus/scroll-matches-focus.html.ini
@@ -0,0 +1,3 @@
+[scroll-matches-focus.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT, CRASH]