diff options
Diffstat (limited to 'testing/web-platform/meta/navigation-api/focus-reset')
7 files changed, 83 insertions, 0 deletions
diff --git a/testing/web-platform/meta/navigation-api/focus-reset/autofocus.html.ini b/testing/web-platform/meta/navigation-api/focus-reset/autofocus.html.ini new file mode 100644 index 0000000000..f7bbc836a5 --- /dev/null +++ b/testing/web-platform/meta/navigation-api/focus-reset/autofocus.html.ini @@ -0,0 +1,21 @@ +[autofocus.html] + [An element with autofocus, present before navigation, gets focused] + expected: FAIL + + [Two elements with autofocus, present before navigation; the first gets focused] + expected: FAIL + + [An element with autofocus, present before navigation but disabled before finished, does not get focused] + expected: FAIL + + [An element with autofocus, present before navigation but with its autofocus attribute removed before finished, does not get focused] + expected: FAIL + + [Two elements with autofocus, present before navigation, but the first gets disabled; the second gets focused] + expected: FAIL + + [An element with autofocus, introduced between committed and finished, gets focused] + expected: FAIL + + [An element with autofocus, introduced after finished, does not get focused] + expected: FAIL diff --git a/testing/web-platform/meta/navigation-api/focus-reset/basic.html.ini b/testing/web-platform/meta/navigation-api/focus-reset/basic.html.ini new file mode 100644 index 0000000000..fd1cae51da --- /dev/null +++ b/testing/web-platform/meta/navigation-api/focus-reset/basic.html.ini @@ -0,0 +1,24 @@ +[basic.html] + [Invalid values for focusReset throw] + expected: FAIL + + [Does not reset the focus when no navigate handler is present] + expected: FAIL + + [Resets the focus when no focusReset option is provided] + expected: FAIL + + [Resets the focus when focusReset is explicitly set to undefined] + expected: FAIL + + [Resets the focus when no focusReset option is provided (nontrivial fulfilled promise)] + expected: FAIL + + [Resets the focus when no focusReset option is provided (rejected promise)] + expected: FAIL + + [Resets the focus when focusReset is explicitly set to 'after-transition'] + expected: FAIL + + [Does not reset the focus when focusReset is set to 'manual'] + expected: FAIL diff --git a/testing/web-platform/meta/navigation-api/focus-reset/change-focus-again-in-blur-during-intercept.html.ini b/testing/web-platform/meta/navigation-api/focus-reset/change-focus-again-in-blur-during-intercept.html.ini new file mode 100644 index 0000000000..882d05964b --- /dev/null +++ b/testing/web-platform/meta/navigation-api/focus-reset/change-focus-again-in-blur-during-intercept.html.ini @@ -0,0 +1,3 @@ +[change-focus-again-in-blur-during-intercept.html] + [change-focus-again-in-blur-during-intercept] + expected: FAIL diff --git a/testing/web-platform/meta/navigation-api/focus-reset/change-focus-back-to-origial-during-intercept.html.ini b/testing/web-platform/meta/navigation-api/focus-reset/change-focus-back-to-origial-during-intercept.html.ini new file mode 100644 index 0000000000..34a3c8861e --- /dev/null +++ b/testing/web-platform/meta/navigation-api/focus-reset/change-focus-back-to-origial-during-intercept.html.ini @@ -0,0 +1,5 @@ +[change-focus-back-to-origial-during-intercept.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [change-focus-back-to-origial-during-intercept] + expected: FAIL diff --git a/testing/web-platform/meta/navigation-api/focus-reset/change-focus-during-intercept.html.ini b/testing/web-platform/meta/navigation-api/focus-reset/change-focus-during-intercept.html.ini new file mode 100644 index 0000000000..d606f69227 --- /dev/null +++ b/testing/web-platform/meta/navigation-api/focus-reset/change-focus-during-intercept.html.ini @@ -0,0 +1,5 @@ +[change-focus-during-intercept.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [change-focus-during-intercept] + expected: FAIL diff --git a/testing/web-platform/meta/navigation-api/focus-reset/change-focus-then-remove-during-intercept.html.ini b/testing/web-platform/meta/navigation-api/focus-reset/change-focus-then-remove-during-intercept.html.ini new file mode 100644 index 0000000000..9895f1a2d1 --- /dev/null +++ b/testing/web-platform/meta/navigation-api/focus-reset/change-focus-then-remove-during-intercept.html.ini @@ -0,0 +1,5 @@ +[change-focus-then-remove-during-intercept.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [change-focus-then-remove-during-intercept] + expected: FAIL diff --git a/testing/web-platform/meta/navigation-api/focus-reset/multiple-intercept.html.ini b/testing/web-platform/meta/navigation-api/focus-reset/multiple-intercept.html.ini new file mode 100644 index 0000000000..c342d1a671 --- /dev/null +++ b/testing/web-platform/meta/navigation-api/focus-reset/multiple-intercept.html.ini @@ -0,0 +1,20 @@ +[multiple-intercept.html] + expected: + if (os == "android") and fission: [OK, TIMEOUT] + [(not provided) + after-transition] + expected: FAIL + + [(not provided) + manual] + expected: FAIL + + [after-transition + manual] + expected: FAIL + + [after-transition + (not provided)] + expected: FAIL + + [manual + after-transition] + expected: FAIL + + [manual + (not provided)] + expected: FAIL |