summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/workers/modules
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/workers/modules
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.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/workers/modules')
-rw-r--r--testing/web-platform/meta/workers/modules/__dir__.ini1
-rw-r--r--testing/web-platform/meta/workers/modules/dedicated-worker-import-csp.html.ini12
-rw-r--r--testing/web-platform/meta/workers/modules/dedicated-worker-import-data-url-cross-origin.html.ini3
-rw-r--r--testing/web-platform/meta/workers/modules/dedicated-worker-import-failure.html.ini3
-rw-r--r--testing/web-platform/meta/workers/modules/dedicated-worker-options-credentials.html.ini6
-rw-r--r--testing/web-platform/meta/workers/modules/dedicated-worker-parse-error-failure.html.ini10
-rw-r--r--testing/web-platform/meta/workers/modules/shared-worker-import-blob-url.window.js.ini3
-rw-r--r--testing/web-platform/meta/workers/modules/shared-worker-import-csp.html.ini20
-rw-r--r--testing/web-platform/meta/workers/modules/shared-worker-import-data-url-cross-origin.html.ini3
-rw-r--r--testing/web-platform/meta/workers/modules/shared-worker-import-failure.html.ini6
-rw-r--r--testing/web-platform/meta/workers/modules/shared-worker-import.window.js.ini4
-rw-r--r--testing/web-platform/meta/workers/modules/shared-worker-options-credentials.html.ini6
-rw-r--r--testing/web-platform/meta/workers/modules/shared-worker-options-type.html.ini3
-rw-r--r--testing/web-platform/meta/workers/modules/shared-worker-parse-error-failure.html.ini10
14 files changed, 90 insertions, 0 deletions
diff --git a/testing/web-platform/meta/workers/modules/__dir__.ini b/testing/web-platform/meta/workers/modules/__dir__.ini
new file mode 100644
index 0000000000..56208d4b8c
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/__dir__.ini
@@ -0,0 +1 @@
+lsan-allowed: [detail::ProxyRelease, mozilla::SupportsThreadSafeWeakPtr, mozilla::ipc::BackgroundChildImpl::AllocPRemoteWorkerChild]
diff --git a/testing/web-platform/meta/workers/modules/dedicated-worker-import-csp.html.ini b/testing/web-platform/meta/workers/modules/dedicated-worker-import-csp.html.ini
new file mode 100644
index 0000000000..addbbb8b6c
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/dedicated-worker-import-csp.html.ini
@@ -0,0 +1,12 @@
+[dedicated-worker-import-csp.html]
+ [worker-src 'self' directive should not take effect on dynamic import.]
+ expected: FAIL
+
+ [worker-src 'self' directive should disallow cross origin static import.]
+ expected: FAIL
+
+ [script-src 'self' directive should disallow cross origin static import.]
+ expected: FAIL
+
+ [worker-src 'self' directive should override script-src * directive and disallow cross origin static import.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/workers/modules/dedicated-worker-import-data-url-cross-origin.html.ini b/testing/web-platform/meta/workers/modules/dedicated-worker-import-data-url-cross-origin.html.ini
new file mode 100644
index 0000000000..975ef31372
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/dedicated-worker-import-data-url-cross-origin.html.ini
@@ -0,0 +1,3 @@
+[dedicated-worker-import-data-url-cross-origin.html]
+ [dynamic import script from data: URL should be blocked.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/workers/modules/dedicated-worker-import-failure.html.ini b/testing/web-platform/meta/workers/modules/dedicated-worker-import-failure.html.ini
new file mode 100644
index 0000000000..ca7b8baf9f
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/dedicated-worker-import-failure.html.ini
@@ -0,0 +1,3 @@
+[dedicated-worker-import-failure.html]
+ [Worker construction for a file URL should throw an exception.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/workers/modules/dedicated-worker-options-credentials.html.ini b/testing/web-platform/meta/workers/modules/dedicated-worker-options-credentials.html.ini
new file mode 100644
index 0000000000..4b3e3815f3
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/dedicated-worker-options-credentials.html.ini
@@ -0,0 +1,6 @@
+[dedicated-worker-options-credentials.html]
+ [new Worker() with type=classic should always send the credentials for same-origin dynamic imports regardless of the credentials option (omit).]
+ expected: FAIL
+
+ [new Worker() with type=classic should never send the credentials for cross-origin dynamic imports regardless of the credentials option (include).]
+ expected: FAIL
diff --git a/testing/web-platform/meta/workers/modules/dedicated-worker-parse-error-failure.html.ini b/testing/web-platform/meta/workers/modules/dedicated-worker-parse-error-failure.html.ini
new file mode 100644
index 0000000000..935b275476
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/dedicated-worker-parse-error-failure.html.ini
@@ -0,0 +1,10 @@
+[dedicated-worker-parse-error-failure.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Module worker construction for script with syntax error should dispatch an event named error.]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1831324
+ expected: FAIL
+
+ [Static import on module worker for script with syntax error should dispatch an event named error.]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1831324
+ expected: FAIL
diff --git a/testing/web-platform/meta/workers/modules/shared-worker-import-blob-url.window.js.ini b/testing/web-platform/meta/workers/modules/shared-worker-import-blob-url.window.js.ini
new file mode 100644
index 0000000000..5f9c16db77
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-import-blob-url.window.js.ini
@@ -0,0 +1,3 @@
+[shared-worker-import-blob-url.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/workers/modules/shared-worker-import-csp.html.ini b/testing/web-platform/meta/workers/modules/shared-worker-import-csp.html.ini
new file mode 100644
index 0000000000..f27a9b3a41
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-import-csp.html.ini
@@ -0,0 +1,20 @@
+[shared-worker-import-csp.html]
+ [worker-src 'self' directive should override script-src * directive and disallow cross origin static import.]
+ expected: FAIL
+
+ [script-src 'self' directive should disallow cross origin dynamic import.]
+ expected:
+ if (os == "win") and (processor == "x86") and debug: [PASS, FAIL]
+ if os == "linux": [PASS, FAIL]
+ [PASS,FAIL]
+
+ [worker-src 'self' directive should not take effect on dynamic import.]
+ expected: FAIL
+
+ [script-src 'self' directive should disallow cross origin static import.]
+ expected:
+ if (os == "linux") and not fission: [FAIL, PASS]
+ FAIL
+
+ [worker-src 'self' directive should disallow cross origin static import.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/workers/modules/shared-worker-import-data-url-cross-origin.html.ini b/testing/web-platform/meta/workers/modules/shared-worker-import-data-url-cross-origin.html.ini
new file mode 100644
index 0000000000..69d1b349fa
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-import-data-url-cross-origin.html.ini
@@ -0,0 +1,3 @@
+[shared-worker-import-data-url-cross-origin.html]
+ [dynamic import script from data: URL should be blocked.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/workers/modules/shared-worker-import-failure.html.ini b/testing/web-platform/meta/workers/modules/shared-worker-import-failure.html.ini
new file mode 100644
index 0000000000..9345601c7e
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-import-failure.html.ini
@@ -0,0 +1,6 @@
+[shared-worker-import-failure.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ if release_or_beta: OK
+ [SharedWorker construction for a file URL should throw an exception.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/workers/modules/shared-worker-import.window.js.ini b/testing/web-platform/meta/workers/modules/shared-worker-import.window.js.ini
new file mode 100644
index 0000000000..fa5ff1054b
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-import.window.js.ini
@@ -0,0 +1,4 @@
+[shared-worker-import.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+
diff --git a/testing/web-platform/meta/workers/modules/shared-worker-options-credentials.html.ini b/testing/web-platform/meta/workers/modules/shared-worker-options-credentials.html.ini
new file mode 100644
index 0000000000..e2fb7fc4a5
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-options-credentials.html.ini
@@ -0,0 +1,6 @@
+[shared-worker-options-credentials.html]
+ [new SharedWorker() with type=classic should always send the credentials for same-origin dynamic imports regardless of the credentials option (omit).]
+ expected: FAIL
+
+ [new SharedWorker() with type=classic should never send the credentials for cross-origin dynamic imports regardless of the credentials option (include).]
+ expected: FAIL
diff --git a/testing/web-platform/meta/workers/modules/shared-worker-options-type.html.ini b/testing/web-platform/meta/workers/modules/shared-worker-options-type.html.ini
new file mode 100644
index 0000000000..9e561382af
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-options-type.html.ini
@@ -0,0 +1,3 @@
+[shared-worker-options-type.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/workers/modules/shared-worker-parse-error-failure.html.ini b/testing/web-platform/meta/workers/modules/shared-worker-parse-error-failure.html.ini
new file mode 100644
index 0000000000..0b8fa78892
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-parse-error-failure.html.ini
@@ -0,0 +1,10 @@
+[shared-worker-parse-error-failure.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ [Module shared worker construction for script with syntax error should dispatch an event named error.]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1627938
+ expected: FAIL
+
+ [Static import on module shared worker for script with syntax error should dispatch an event named error.]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1627938
+ expected: FAIL