summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/workers/modules
diff options
context:
space:
mode:
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.ini9
-rw-r--r--testing/web-platform/meta/workers/modules/dedicated-worker-import-data-url-cross-origin.html.ini4
-rw-r--r--testing/web-platform/meta/workers/modules/dedicated-worker-import-data-url.any.js.ini9
-rw-r--r--testing/web-platform/meta/workers/modules/dedicated-worker-import-referrer.html.ini3
-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.ini17
-rw-r--r--testing/web-platform/meta/workers/modules/shared-worker-import-data-url-cross-origin.html.ini4
-rw-r--r--testing/web-platform/meta/workers/modules/shared-worker-import-data-url.window.js.ini4
-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-type.html.ini3
11 files changed, 61 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..3af01bb4f6
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/dedicated-worker-import-csp.html.ini
@@ -0,0 +1,9 @@
+[dedicated-worker-import-csp.html]
+ [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..834baba4d4
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/dedicated-worker-import-data-url-cross-origin.html.ini
@@ -0,0 +1,4 @@
+[dedicated-worker-import-data-url-cross-origin.html]
+ [static import script from data: URL should be allowed.]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1841363
+ expected: FAIL
diff --git a/testing/web-platform/meta/workers/modules/dedicated-worker-import-data-url.any.js.ini b/testing/web-platform/meta/workers/modules/dedicated-worker-import-data-url.any.js.ini
new file mode 100644
index 0000000000..968239b542
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/dedicated-worker-import-data-url.any.js.ini
@@ -0,0 +1,9 @@
+[dedicated-worker-import-data-url.any.html]
+ [Static import (redirect).]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1841363
+ expected: FAIL
+
+[dedicated-worker-import-data-url.any.worker.html]
+ [Static import (redirect).]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1841363
+ expected: FAIL
diff --git a/testing/web-platform/meta/workers/modules/dedicated-worker-import-referrer.html.ini b/testing/web-platform/meta/workers/modules/dedicated-worker-import-referrer.html.ini
new file mode 100644
index 0000000000..5d06575cd2
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/dedicated-worker-import-referrer.html.ini
@@ -0,0 +1,3 @@
+[dedicated-worker-import-referrer.html]
+ expected:
+ if (os == "mac") and debug: [OK, CRASH]
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..d0e2e10e21
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-import-csp.html.ini
@@ -0,0 +1,17 @@
+[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]
+
+ [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..47400aa546
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-import-data-url-cross-origin.html.ini
@@ -0,0 +1,4 @@
+[shared-worker-import-data-url-cross-origin.html]
+ [static import script from data: URL should be allowed.]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1841363
+ expected: FAIL
diff --git a/testing/web-platform/meta/workers/modules/shared-worker-import-data-url.window.js.ini b/testing/web-platform/meta/workers/modules/shared-worker-import-data-url.window.js.ini
new file mode 100644
index 0000000000..a921b647e4
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-import-data-url.window.js.ini
@@ -0,0 +1,4 @@
+[shared-worker-import-data-url.window.html]
+ [Static import (redirect).]
+ bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1841363
+ 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-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]