summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/close-watcher/basic.html.ini
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/close-watcher/basic.html.ini
parentInitial commit. (diff)
downloadfirefox-esr-upstream.tar.xz
firefox-esr-upstream.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/close-watcher/basic.html.ini')
-rw-r--r--testing/web-platform/meta/close-watcher/basic.html.ini36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/web-platform/meta/close-watcher/basic.html.ini b/testing/web-platform/meta/close-watcher/basic.html.ini
new file mode 100644
index 0000000000..1c51259014
--- /dev/null
+++ b/testing/web-platform/meta/close-watcher/basic.html.ini
@@ -0,0 +1,36 @@
+[basic.html]
+ [close() with no user activation only fires close]
+ expected: FAIL
+
+ [destroy() then close() fires no events]
+ expected: FAIL
+
+ [close() then destroy() fires only one close event]
+ expected: FAIL
+
+ [Esc key does not count as user activation, so it fires close but not cancel]
+ expected: FAIL
+
+ [destroy() then close via Esc key fires no events]
+ expected: FAIL
+
+ [Esc key then destroy() fires only one close event]
+ expected: FAIL
+
+ [close via synthesized escape key should not work]
+ expected: FAIL
+
+ [destroy inside oncancel]
+ expected: FAIL
+
+ [destroy inside onclose is benign]
+ expected: FAIL
+
+ [close inside oncancel should not trigger an infinite loop]
+ expected: FAIL
+
+ [close inside onclose should not trigger an infinite loop]
+ expected: FAIL
+
+ [close with events added via addEventListener]
+ expected: FAIL