summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/webmessaging/broadcastchannel
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /testing/web-platform/meta/webmessaging/broadcastchannel
parentInitial commit. (diff)
downloadthunderbird-upstream.tar.xz
thunderbird-upstream.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/webmessaging/broadcastchannel')
-rw-r--r--testing/web-platform/meta/webmessaging/broadcastchannel/__dir__.ini2
-rw-r--r--testing/web-platform/meta/webmessaging/broadcastchannel/cross-partition.https.tentative.html.ini33
-rw-r--r--testing/web-platform/meta/webmessaging/broadcastchannel/detached-iframe.html.ini14
-rw-r--r--testing/web-platform/meta/webmessaging/broadcastchannel/interface.any.js.ini7
-rw-r--r--testing/web-platform/meta/webmessaging/broadcastchannel/opaque-origin.html.ini3
-rw-r--r--testing/web-platform/meta/webmessaging/broadcastchannel/ordering.html.ini3
-rw-r--r--testing/web-platform/meta/webmessaging/broadcastchannel/origin.window.js.ini3
-rw-r--r--testing/web-platform/meta/webmessaging/broadcastchannel/sandbox.html.ini3
-rw-r--r--testing/web-platform/meta/webmessaging/broadcastchannel/service-worker.https.html.ini7
-rw-r--r--testing/web-platform/meta/webmessaging/broadcastchannel/workers.html.ini8
10 files changed, 83 insertions, 0 deletions
diff --git a/testing/web-platform/meta/webmessaging/broadcastchannel/__dir__.ini b/testing/web-platform/meta/webmessaging/broadcastchannel/__dir__.ini
new file mode 100644
index 0000000000..3a5617f241
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/broadcastchannel/__dir__.ini
@@ -0,0 +1,2 @@
+lsan-allowed: [maybe_pod_malloc]
+leak-threshold: [default:51200]
diff --git a/testing/web-platform/meta/webmessaging/broadcastchannel/cross-partition.https.tentative.html.ini b/testing/web-platform/meta/webmessaging/broadcastchannel/cross-partition.https.tentative.html.ini
new file mode 100644
index 0000000000..04905dbf30
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/broadcastchannel/cross-partition.https.tentative.html.ini
@@ -0,0 +1,33 @@
+[cross-partition.https.tentative.html]
+ expected:
+ if (os == "linux") and not debug: [OK, TIMEOUT]
+ if (os == "win") and not debug: [OK, TIMEOUT]
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [BroadcastChannel messages aren't received from a cross-partition iframe]
+ expected:
+ if os == "android": FAIL
+
+ [BroadcastChannel messages aren't received from a nested iframe with a cross-site ancestor]
+ expected:
+ if os == "android": FAIL
+
+ [BroadcastChannel messages aren't received from a cross-partition dedicated worker]
+ expected:
+ if (os == "linux") and not debug: [PASS, TIMEOUT]
+ if (os == "mac") and not debug: [PASS, TIMEOUT]
+ if os == "android": FAIL
+
+ [BroadcastChannel messages aren't received from a cross-partition shared worker]
+ expected:
+ if (os == "linux") and not debug and not fission: [PASS, NOTRUN]
+ if (os == "linux") and not debug and fission: [PASS, TIMEOUT, NOTRUN]
+ if (os == "win") and not debug and (processor == "x86"): [PASS, TIMEOUT]
+ if (os == "mac") and not debug: [PASS, TIMEOUT, NOTRUN]
+ if os == "android": FAIL
+
+ [BroadcastChannel messages aren't received from a cross-partition service worker]
+ expected:
+ if (os == "win") and not debug and (processor == "x86"): [PASS, TIMEOUT, NOTRUN]
+ if (os == "linux") and not debug and fission: [PASS, TIMEOUT, NOTRUN]
+ if (os == "linux") and not debug and not fission: [PASS, NOTRUN]
+ if os == "android": FAIL
diff --git a/testing/web-platform/meta/webmessaging/broadcastchannel/detached-iframe.html.ini b/testing/web-platform/meta/webmessaging/broadcastchannel/detached-iframe.html.ini
new file mode 100644
index 0000000000..42fe00dbbd
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/broadcastchannel/detached-iframe.html.ini
@@ -0,0 +1,14 @@
+[detached-iframe.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [BroadcastChannel messages from detached iframe to parent should be ignored (BC created before detaching)]
+ expected: FAIL
+
+ [BroadcastChannel messages from detached iframe to parent should be ignored (BC created after detaching)]
+ expected: FAIL
+
+ [BroadcastChannel messages within detached iframe should be ignored (BCs created before detaching)]
+ expected: FAIL
+
+ [BroadcastChannel messages within detached iframe should be ignored (BCs created after detaching)]
+ expected: FAIL
diff --git a/testing/web-platform/meta/webmessaging/broadcastchannel/interface.any.js.ini b/testing/web-platform/meta/webmessaging/broadcastchannel/interface.any.js.ini
new file mode 100644
index 0000000000..8ea3bf7b9a
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/broadcastchannel/interface.any.js.ini
@@ -0,0 +1,7 @@
+[interface.any.worker.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
+[interface.any.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/webmessaging/broadcastchannel/opaque-origin.html.ini b/testing/web-platform/meta/webmessaging/broadcastchannel/opaque-origin.html.ini
new file mode 100644
index 0000000000..62b7dd2e41
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/broadcastchannel/opaque-origin.html.ini
@@ -0,0 +1,3 @@
+[opaque-origin.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/webmessaging/broadcastchannel/ordering.html.ini b/testing/web-platform/meta/webmessaging/broadcastchannel/ordering.html.ini
new file mode 100644
index 0000000000..bd64572e3e
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/broadcastchannel/ordering.html.ini
@@ -0,0 +1,3 @@
+[ordering.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/webmessaging/broadcastchannel/origin.window.js.ini b/testing/web-platform/meta/webmessaging/broadcastchannel/origin.window.js.ini
new file mode 100644
index 0000000000..d80c9faefc
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/broadcastchannel/origin.window.js.ini
@@ -0,0 +1,3 @@
+[origin.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/webmessaging/broadcastchannel/sandbox.html.ini b/testing/web-platform/meta/webmessaging/broadcastchannel/sandbox.html.ini
new file mode 100644
index 0000000000..0e9e931960
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/broadcastchannel/sandbox.html.ini
@@ -0,0 +1,3 @@
+[sandbox.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/webmessaging/broadcastchannel/service-worker.https.html.ini b/testing/web-platform/meta/webmessaging/broadcastchannel/service-worker.https.html.ini
new file mode 100644
index 0000000000..ccfef5f011
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/broadcastchannel/service-worker.https.html.ini
@@ -0,0 +1,7 @@
+[service-worker.https.html]
+ expected:
+ if (os == "win") and debug and (processor == "x86_64") and not swgl: [OK, TIMEOUT]
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [BroadcastChannel works in service workers]
+ expected:
+ if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, TIMEOUT]
diff --git a/testing/web-platform/meta/webmessaging/broadcastchannel/workers.html.ini b/testing/web-platform/meta/webmessaging/broadcastchannel/workers.html.ini
new file mode 100644
index 0000000000..bb4aed56a5
--- /dev/null
+++ b/testing/web-platform/meta/webmessaging/broadcastchannel/workers.html.ini
@@ -0,0 +1,8 @@
+[workers.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [BroadcastChannel messages from closed worker to parent should be ignored (BC created before closing)]
+ expected: FAIL
+
+ [BroadcastChannel messages from closed worker to parent should be ignored (BC created after closing)]
+ expected: FAIL