summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/navigation-api/commit-behavior
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/meta/navigation-api/commit-behavior
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/navigation-api/commit-behavior')
-rw-r--r--testing/web-platform/meta/navigation-api/commit-behavior/after-transition-new-navigation-before-commit.html.ini3
-rw-r--r--testing/web-platform/meta/navigation-api/commit-behavior/after-transition-push.html.ini12
-rw-r--r--testing/web-platform/meta/navigation-api/commit-behavior/after-transition-reload.html.ini12
-rw-r--r--testing/web-platform/meta/navigation-api/commit-behavior/after-transition-replace.html.ini12
-rw-r--r--testing/web-platform/meta/navigation-api/commit-behavior/after-transition-traversal-commit-new-navigation-before-commit.html.ini3
-rw-r--r--testing/web-platform/meta/navigation-api/commit-behavior/after-transition-traverse.html.ini12
-rw-r--r--testing/web-platform/meta/navigation-api/commit-behavior/after-transition-uncancelable.html.ini3
-rw-r--r--testing/web-platform/meta/navigation-api/commit-behavior/after-transition-window-stop-before-commit.html.ini3
-rw-r--r--testing/web-platform/meta/navigation-api/commit-behavior/commit-throws.html.ini24
-rw-r--r--testing/web-platform/meta/navigation-api/commit-behavior/multiple-intercept.html.ini24
10 files changed, 108 insertions, 0 deletions
diff --git a/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-new-navigation-before-commit.html.ini b/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-new-navigation-before-commit.html.ini
new file mode 100644
index 0000000000..20c5c06385
--- /dev/null
+++ b/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-new-navigation-before-commit.html.ini
@@ -0,0 +1,3 @@
+[after-transition-new-navigation-before-commit.html]
+ [Cancel a { commit: 'after-transition' } navigation before commit() by starting a new navigation]
+ expected: FAIL
diff --git a/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-push.html.ini b/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-push.html.ini
new file mode 100644
index 0000000000..0582189658
--- /dev/null
+++ b/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-push.html.ini
@@ -0,0 +1,12 @@
+[after-transition-push.html]
+ [{ commit: 'after-transition' } for a push navigation, reject before commit]
+ expected: FAIL
+
+ [{ commit: 'after-transition' } for a push navigation, reject after commit]
+ expected: FAIL
+
+ [{ commit: 'after-transition' } for a push navigation, explicit commit()]
+ expected: FAIL
+
+ [{ commit: 'after-transition' } for a push navigation, commit when handler resolves]
+ expected: FAIL
diff --git a/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-reload.html.ini b/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-reload.html.ini
new file mode 100644
index 0000000000..f824275b4d
--- /dev/null
+++ b/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-reload.html.ini
@@ -0,0 +1,12 @@
+[after-transition-reload.html]
+ [{ commit: 'after-transition' } for a reload navigation, reject before commit]
+ expected: FAIL
+
+ [{ commit: 'after-transition' } for a reload navigation, reject after commit]
+ expected: FAIL
+
+ [{ commit: 'after-transition' } for a reload navigation, explicit commit()]
+ expected: FAIL
+
+ [{ commit: 'after-transition' } for a reload navigation, commit when handler resolves]
+ expected: FAIL
diff --git a/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-replace.html.ini b/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-replace.html.ini
new file mode 100644
index 0000000000..0eda8583da
--- /dev/null
+++ b/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-replace.html.ini
@@ -0,0 +1,12 @@
+[after-transition-replace.html]
+ [{ commit: 'after-transition' } for a replace navigation, reject before commit]
+ expected: FAIL
+
+ [{ commit: 'after-transition' } for a replace navigation, reject after commit]
+ expected: FAIL
+
+ [{ commit: 'after-transition' } for a replace navigation, explicit commit()]
+ expected: FAIL
+
+ [{ commit: 'after-transition' } for a replace navigation, commit when handler resolves]
+ expected: FAIL
diff --git a/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-traversal-commit-new-navigation-before-commit.html.ini b/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-traversal-commit-new-navigation-before-commit.html.ini
new file mode 100644
index 0000000000..d06ebc926e
--- /dev/null
+++ b/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-traversal-commit-new-navigation-before-commit.html.ini
@@ -0,0 +1,3 @@
+[after-transition-traversal-commit-new-navigation-before-commit.html]
+ [Cancel a { commit: 'after-transition' } traversal before commit() by starting a new navigation]
+ expected: FAIL
diff --git a/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-traverse.html.ini b/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-traverse.html.ini
new file mode 100644
index 0000000000..e2eafbd756
--- /dev/null
+++ b/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-traverse.html.ini
@@ -0,0 +1,12 @@
+[after-transition-traverse.html]
+ [{ commit: 'after-transition' } for a traverse navigation, reject before commit]
+ expected: FAIL
+
+ [{ commit: 'after-transition' } for a traverse navigation, reject after commit]
+ expected: FAIL
+
+ [{ commit: 'after-transition' } for a traverse navigation, explicit commit()]
+ expected: FAIL
+
+ [{ commit: 'after-transition' } for a traverse navigation, commit when handler resolves]
+ expected: FAIL
diff --git a/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-uncancelable.html.ini b/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-uncancelable.html.ini
new file mode 100644
index 0000000000..d46bf50abf
--- /dev/null
+++ b/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-uncancelable.html.ini
@@ -0,0 +1,3 @@
+[after-transition-uncancelable.html]
+ [{ commit: 'after-transition' } for an uncancelable traverse navigation]
+ expected: FAIL
diff --git a/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-window-stop-before-commit.html.ini b/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-window-stop-before-commit.html.ini
new file mode 100644
index 0000000000..f3166cddf4
--- /dev/null
+++ b/testing/web-platform/meta/navigation-api/commit-behavior/after-transition-window-stop-before-commit.html.ini
@@ -0,0 +1,3 @@
+[after-transition-window-stop-before-commit.html]
+ [ { commit: 'after-transition' } with window.stop() before commit]
+ expected: FAIL
diff --git a/testing/web-platform/meta/navigation-api/commit-behavior/commit-throws.html.ini b/testing/web-platform/meta/navigation-api/commit-behavior/commit-throws.html.ini
new file mode 100644
index 0000000000..84f713c73e
--- /dev/null
+++ b/testing/web-platform/meta/navigation-api/commit-behavior/commit-throws.html.ini
@@ -0,0 +1,24 @@
+[commit-throws.html]
+ [commit() before intercept()]
+ expected: FAIL
+
+ [commit() without commit behavior specified]
+ expected: FAIL
+
+ [commit() with { commit: immediate }]
+ expected: FAIL
+
+ [commit() during event dispatch]
+ expected: FAIL
+
+ [commit() after finish]
+ expected: FAIL
+
+ [commit() twice]
+ expected: FAIL
+
+ [commit() on synthetic NavigateEvent]
+ expected: FAIL
+
+ [commit() in detached iframe]
+ expected: FAIL
diff --git a/testing/web-platform/meta/navigation-api/commit-behavior/multiple-intercept.html.ini b/testing/web-platform/meta/navigation-api/commit-behavior/multiple-intercept.html.ini
new file mode 100644
index 0000000000..9d3a6a6f5d
--- /dev/null
+++ b/testing/web-platform/meta/navigation-api/commit-behavior/multiple-intercept.html.ini
@@ -0,0 +1,24 @@
+[multiple-intercept.html]
+ [after-transition + after-transition]
+ expected: FAIL
+
+ [after-transition + (not provided)]
+ expected: FAIL
+
+ [after-transition + immediate]
+ expected: FAIL
+
+ [immediate + after-transition]
+ expected: FAIL
+
+ [immediate + (not provided)]
+ expected: FAIL
+
+ [immediate + immediate]
+ expected: FAIL
+
+ [(not provided) + after-transition]
+ expected: FAIL
+
+ [(not provided) + immediate]
+ expected: FAIL