summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/workers/modules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/meta/workers/modules
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
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-blob-url.any.js.ini59
-rw-r--r--testing/web-platform/meta/workers/modules/dedicated-worker-import-csp.html.ini16
-rw-r--r--testing/web-platform/meta/workers/modules/dedicated-worker-import-data-url-cross-origin.html.ini15
-rw-r--r--testing/web-platform/meta/workers/modules/dedicated-worker-import-data-url.any.js.ini60
-rw-r--r--testing/web-platform/meta/workers/modules/dedicated-worker-import-failure.html.ini10
-rw-r--r--testing/web-platform/meta/workers/modules/dedicated-worker-import-meta.html.ini12
-rw-r--r--testing/web-platform/meta/workers/modules/dedicated-worker-import-referrer.html.ini39
-rw-r--r--testing/web-platform/meta/workers/modules/dedicated-worker-import.any.js.ini62
-rw-r--r--testing/web-platform/meta/workers/modules/dedicated-worker-options-credentials.html.ini90
-rw-r--r--testing/web-platform/meta/workers/modules/dedicated-worker-options-type.html.ini8
-rw-r--r--testing/web-platform/meta/workers/modules/dedicated-worker-parse-error-failure.html.ini9
-rw-r--r--testing/web-platform/meta/workers/modules/shared-worker-import-blob-url.window.js.ini29
-rw-r--r--testing/web-platform/meta/workers/modules/shared-worker-import-csp.html.ini30
-rw-r--r--testing/web-platform/meta/workers/modules/shared-worker-import-data-url-cross-origin.html.ini14
-rw-r--r--testing/web-platform/meta/workers/modules/shared-worker-import-data-url.window.js.ini29
-rw-r--r--testing/web-platform/meta/workers/modules/shared-worker-import-failure.html.ini11
-rw-r--r--testing/web-platform/meta/workers/modules/shared-worker-import-meta.html.ini12
-rw-r--r--testing/web-platform/meta/workers/modules/shared-worker-import-referrer.html.ini39
-rw-r--r--testing/web-platform/meta/workers/modules/shared-worker-import.window.js.ini29
-rw-r--r--testing/web-platform/meta/workers/modules/shared-worker-options-credentials.html.ini89
-rw-r--r--testing/web-platform/meta/workers/modules/shared-worker-options-type.html.ini8
-rw-r--r--testing/web-platform/meta/workers/modules/shared-worker-parse-error-failure.html.ini9
23 files changed, 680 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-blob-url.any.js.ini b/testing/web-platform/meta/workers/modules/dedicated-worker-import-blob-url.any.js.ini
new file mode 100644
index 0000000000..8b81cd9f09
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/dedicated-worker-import-blob-url.any.js.ini
@@ -0,0 +1,59 @@
+[dedicated-worker-import-blob-url.any.worker.html]
+ expected: ERROR
+ [Static import.]
+ expected: FAIL
+
+ [Nested static import.]
+ expected: FAIL
+
+ [Static import and then dynamic import.]
+ expected: FAIL
+
+ [Dynamic import.]
+ expected: FAIL
+
+ [Nested dynamic import.]
+ expected: FAIL
+
+ [Dynamic import and then static import.]
+ expected: FAIL
+
+ [eval(import()).]
+ expected: FAIL
+
+ [Static import (cross-origin).]
+ expected: FAIL
+
+ [Static import (redirect).]
+ expected: FAIL
+
+
+[dedicated-worker-import-blob-url.any.html]
+ expected: ERROR
+ [Static import.]
+ expected: FAIL
+
+ [Nested static import.]
+ expected: FAIL
+
+ [Static import and then dynamic import.]
+ expected: FAIL
+
+ [Dynamic import.]
+ expected: FAIL
+
+ [Nested dynamic import.]
+ expected: FAIL
+
+ [Dynamic import and then static import.]
+ expected: FAIL
+
+ [eval(import()).]
+ expected: FAIL
+
+ [Static import (cross-origin).]
+ expected: FAIL
+
+ [Static import (redirect).]
+ expected: FAIL
+
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..a612185b27
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/dedicated-worker-import-csp.html.ini
@@ -0,0 +1,16 @@
+[dedicated-worker-import-csp.html]
+ [worker-src * directive should allow cross origin static import.]
+ expected: FAIL
+
+ [worker-src * directive should override script-src 'self' directive and allow cross origin static import.]
+ expected: FAIL
+
+ [script-src * directive should allow cross origin dynamic import.]
+ expected: FAIL
+
+ [script-src * directive should allow cross origin static import.]
+ expected: FAIL
+
+ [worker-src 'self' directive should not take effect on dynamic 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..4f469bf7ea
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/dedicated-worker-import-data-url-cross-origin.html.ini
@@ -0,0 +1,15 @@
+[dedicated-worker-import-data-url-cross-origin.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
+ [static import script from data: URL should be allowed.]
+ expected: NOTRUN
+
+ [static import data url from data: URL should be allowed.]
+ expected: TIMEOUT
+
+ [dynamic import script from data: URL should be blocked.]
+ expected: NOTRUN
+
+ [dynamic import data url from data: URL should be allowed.]
+ expected: NOTRUN
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..fe6452a7cd
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/dedicated-worker-import-data-url.any.js.ini
@@ -0,0 +1,60 @@
+[dedicated-worker-import-data-url.any.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
+ [Static import.]
+ expected: TIMEOUT
+
+ [Nested static import.]
+ expected: NOTRUN
+
+ [Static import and then dynamic import.]
+ expected: NOTRUN
+
+ [Dynamic import.]
+ expected: NOTRUN
+
+ [Nested dynamic import.]
+ expected: NOTRUN
+
+ [Dynamic import and then static import.]
+ expected: NOTRUN
+
+ [eval(import()).]
+ expected: NOTRUN
+
+ [Static import (cross-origin).]
+ expected: NOTRUN
+
+ [Static import (redirect).]
+ expected: NOTRUN
+
+
+[dedicated-worker-import-data-url.any.worker.html]
+ expected: ERROR
+ [Static import.]
+ expected: TIMEOUT
+
+ [Nested static import.]
+ expected: NOTRUN
+
+ [Static import and then dynamic import.]
+ expected: NOTRUN
+
+ [Dynamic import.]
+ expected: NOTRUN
+
+ [Nested dynamic import.]
+ expected: NOTRUN
+
+ [Dynamic import and then static import.]
+ expected: NOTRUN
+
+ [eval(import()).]
+ expected: NOTRUN
+
+ [Static import (cross-origin).]
+ expected: NOTRUN
+
+ [Static import (redirect).]
+ expected: NOTRUN
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..9ac0282338
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/dedicated-worker-import-failure.html.ini
@@ -0,0 +1,10 @@
+[dedicated-worker-import-failure.html]
+ [importScripts() on module worker should throw an exception.]
+ expected: FAIL
+
+ [Dynamic import for non-existent script should throw an exception.]
+ expected: FAIL
+
+ [Worker construction for a file URL should throw an exception.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/workers/modules/dedicated-worker-import-meta.html.ini b/testing/web-platform/meta/workers/modules/dedicated-worker-import-meta.html.ini
new file mode 100644
index 0000000000..a8abf3211b
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/dedicated-worker-import-meta.html.ini
@@ -0,0 +1,12 @@
+[dedicated-worker-import-meta.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
+ [Test import.meta.url on the top-level module script.]
+ expected: FAIL
+
+ [Test import.meta.url on the imported module script.]
+ expected: FAIL
+
+ [Test import.meta.url on the imported module script with a fragment.]
+ 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..7b30897369
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/dedicated-worker-import-referrer.html.ini
@@ -0,0 +1,39 @@
+[dedicated-worker-import-referrer.html]
+ expected:
+ if (os == "mac") and not debug: [OK, TIMEOUT]
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Same-origin static import with "no-referrer" referrer policy.]
+ expected: FAIL
+
+ [Same-origin static import with "origin" referrer policy.]
+ expected: FAIL
+
+ [Same-origin static import with "same-origin" referrer policy.]
+ expected: FAIL
+
+ [Cross-origin static import with "no-referrer" referrer policy.]
+ expected: FAIL
+
+ [Cross-origin static import with "origin" referrer policy.]
+ expected: FAIL
+
+ [Cross-origin static import with "same-origin" referrer policy.]
+ expected: FAIL
+
+ [Same-origin dynamic import with "no-referrer" referrer policy.]
+ expected: FAIL
+
+ [Same-origin dynamic import with "origin" referrer policy.]
+ expected: FAIL
+
+ [Same-origin dynamic import with "same-origin" referrer policy.]
+ expected: FAIL
+
+ [Cross-origin dynamic import with "no-referrer" referrer policy.]
+ expected: FAIL
+
+ [Cross-origin dynamic import with "origin" referrer policy.]
+ expected: FAIL
+
+ [Cross-origin dynamic import with "same-origin" referrer policy.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/workers/modules/dedicated-worker-import.any.js.ini b/testing/web-platform/meta/workers/modules/dedicated-worker-import.any.js.ini
new file mode 100644
index 0000000000..e985bfa298
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/dedicated-worker-import.any.js.ini
@@ -0,0 +1,62 @@
+[dedicated-worker-import.any.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
+ [Static import.]
+ expected: FAIL
+
+ [Nested static import.]
+ expected: FAIL
+
+ [Static import and then dynamic import.]
+ expected: FAIL
+
+ [Dynamic import.]
+ expected: FAIL
+
+ [Nested dynamic import.]
+ expected: FAIL
+
+ [Dynamic import and then static import.]
+ expected: FAIL
+
+ [eval(import()).]
+ expected: FAIL
+
+ [Static import (cross-origin).]
+ expected: FAIL
+
+ [Static import (redirect).]
+ expected: FAIL
+
+
+[dedicated-worker-import.any.worker.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
+ [Static import.]
+ expected: FAIL
+
+ [Nested static import.]
+ expected: FAIL
+
+ [Static import and then dynamic import.]
+ expected: FAIL
+
+ [Dynamic import.]
+ expected: FAIL
+
+ [Nested dynamic import.]
+ expected: FAIL
+
+ [Dynamic import and then static import.]
+ expected: FAIL
+
+ [eval(import()).]
+ expected: FAIL
+
+ [Static import (cross-origin).]
+ expected: FAIL
+
+ [Static import (redirect).]
+ 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..806441ebd5
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/dedicated-worker-options-credentials.html.ini
@@ -0,0 +1,90 @@
+[dedicated-worker-options-credentials.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
+ [new Worker() with type=classic should always send the credentials regardless of the credentials option (include).]
+ expected: NOTRUN
+
+ [new Worker() with type=classic should always send the credentials regardless of the credentials option (default).]
+ expected: NOTRUN
+
+ [new Worker() with type=classic should always send the credentials regardless of the credentials option (omit).]
+ expected: NOTRUN
+
+ [new Worker() with type=module and credentials=include should send the credentials for same-origin static imports]
+ expected: NOTRUN
+
+ [new Worker() with type=classic should always send the credentials for same-origin dynamic imports regardless of the credentials option (include).]
+ expected: NOTRUN
+
+ [new Worker() with type=classic should never send the credentials for cross-origin dynamic imports regardless of the credentials option (same-origin).]
+ expected: NOTRUN
+
+ [new Worker() with type-module credentials=omit should not send the credentials for cross-origin dynamic imports]
+ expected: NOTRUN
+
+ [new Worker() with type-module credentials=omit should not send the credentials for cross-origin static imports]
+ expected: NOTRUN
+
+ [new Worker() with type=module and credentials=omit should not send the credentials for same-origin dynamic imports]
+ expected: NOTRUN
+
+ [new Worker() with type=module and credentials=omit should not send the credentials for same-origin static imports]
+ expected: NOTRUN
+
+ [new Worker() with type=module and credentials=include should send the credentials for cross-origin dynamic imports]
+ expected: NOTRUN
+
+ [new Worker() with type=module and credentials=same-origin should not send the credentials for cross-origin static imports]
+ expected: NOTRUN
+
+ [new Worker() with type=classic should never send the credentials for cross-origin dynamic imports regardless of the credentials option (include).]
+ expected: NOTRUN
+
+ [new Worker() with type=module and credentials=same-origin should not send the credentials for cross-origin dynamic imports]
+ expected: NOTRUN
+
+ [new Worker() with type=classic should never send the credentials for cross-origin dynamic imports regardless of the credentials option (omit).]
+ expected: NOTRUN
+
+ [new Worker() with type=module and default credentials option should behave as credentials=same-origin and not send the credentials for cross-origin static imports]
+ expected: NOTRUN
+
+ [new Worker() with type=classic should always send the credentials for same-origin dynamic imports regardless of the credentials option (omit).]
+ expected: NOTRUN
+
+ [new Worker() with type=module and credentials=omit should not send the credentials]
+ expected: FAIL
+
+ [new Worker() with type=module and default credentials option should behave as credentials=same-origin and send the credentials for same-origin static imports]
+ expected: TIMEOUT
+
+ [new Worker() with type=classic should always send the credentials regardless of the credentials option (same-origin).]
+ expected: NOTRUN
+
+ [new Worker() with type=classic should never send the credentials for cross-origin dynamic imports regardless of the credentials option (default).]
+ expected: NOTRUN
+
+ [new Worker() with type=classic should always send the credentials for same-origin dynamic imports regardless of the credentials option (default).]
+ expected: NOTRUN
+
+ [new Worker() with type=module and credentials=include should send the credentials for cross-origin static imports]
+ expected: NOTRUN
+
+ [new Worker() with type=classic should always send the credentials for same-origin dynamic imports regardless of the credentials option (same-origin).]
+ expected: NOTRUN
+
+ [new Worker() with type=module and default credentials option should behave as credentials=same-origin and not send the credentials for cross-origin dynamic imports]
+ expected: NOTRUN
+
+ [new Worker() with type=module and credentials=same-origin should send the credentials for same-origin dynamic imports]
+ expected: NOTRUN
+
+ [new Worker() with type=module and credentials=same-origin should send the credentials for same-origin static imports]
+ expected: NOTRUN
+
+ [new Worker() with type=module and default credentials option should behave as credentials=same-origin and send the credentials for same-origin dynamic imports]
+ expected: NOTRUN
+
+ [new Worker() with type=module and credentials=include should send the credentials for same-origin dynamic imports]
+ expected: NOTRUN
diff --git a/testing/web-platform/meta/workers/modules/dedicated-worker-options-type.html.ini b/testing/web-platform/meta/workers/modules/dedicated-worker-options-type.html.ini
new file mode 100644
index 0000000000..fc09d474c2
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/dedicated-worker-options-type.html.ini
@@ -0,0 +1,8 @@
+[dedicated-worker-options-type.html]
+ expected:
+ if (os == "android") and fission: [TIMEOUT, OK]
+ [Test worker construction with an empty worker type.]
+ expected: FAIL
+
+ [Test worker construction with an unknown worker type.]
+ 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..0e5b834a91
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/dedicated-worker-parse-error-failure.html.ini
@@ -0,0 +1,9 @@
+[dedicated-worker-parse-error-failure.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
+ [Module worker construction for script with syntax error should dispatch an event named error.]
+ expected: NOTRUN
+
+ [Static import on module worker for script with syntax error should dispatch an event named error.]
+ expected: NOTRUN
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..9caf7fd9f8
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-import-blob-url.window.js.ini
@@ -0,0 +1,29 @@
+[shared-worker-import-blob-url.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Dynamic import.]
+ expected: FAIL
+
+ [Static import and then dynamic import.]
+ expected: FAIL
+
+ [eval(import()).]
+ expected: FAIL
+
+ [Dynamic import and then static import.]
+ expected: FAIL
+
+ [Static import.]
+ expected: FAIL
+
+ [Nested dynamic import.]
+ expected: FAIL
+
+ [Nested static import.]
+ expected: FAIL
+
+ [Static import (cross-origin).]
+ expected: FAIL
+
+ [Static import (redirect).]
+ expected: FAIL
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..7fc734dd08
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-import-csp.html.ini
@@ -0,0 +1,30 @@
+[shared-worker-import-csp.html]
+ [worker-src * directive should allow cross origin static import.]
+ expected: FAIL
+
+ [worker-src 'self' directive should override script-src * directive and disallow cross origin static import.]
+ expected:
+ if (os == "linux") : [PASS, FAIL]
+
+ [worker-src * directive should override script-src 'self' directive and allow cross origin static import.]
+ expected: FAIL
+
+ [script-src * directive should allow cross origin dynamic import.]
+ expected: FAIL
+
+ [script-src * directive should allow cross origin static import.]
+ expected: FAIL
+
+ [script-src 'self' directive should disallow cross origin dynamic import.]
+ expected:
+ if (os == "linux"): [PASS, FAIL]
+ if (os == "win") and (processor == "x86") and debug: [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 not fission and (os == "linux"): [PASS, FAIL]
+ if not fission and (os == "win") and (processor == "x86"): [PASS, 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..b97fe8047c
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-import-data-url-cross-origin.html.ini
@@ -0,0 +1,14 @@
+[shared-worker-import-data-url-cross-origin.html]
+ expected: TIMEOUT
+ [static import script from data: URL should be allowed.]
+ expected: NOTRUN
+
+ [static import data url from data: URL should be allowed.]
+ expected: TIMEOUT
+
+ [dynamic import script from data: URL should be blocked.]
+ expected: NOTRUN
+
+ [dynamic import data url from data: URL should be allowed.]
+ expected: NOTRUN
+
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..6f823b9186
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-import-data-url.window.js.ini
@@ -0,0 +1,29 @@
+[shared-worker-import-data-url.window.html]
+ expected: TIMEOUT
+ [Dynamic import.]
+ expected: NOTRUN
+
+ [Static import and then dynamic import.]
+ expected: NOTRUN
+
+ [eval(import()).]
+ expected: NOTRUN
+
+ [Dynamic import and then static import.]
+ expected: NOTRUN
+
+ [Static import.]
+ expected: TIMEOUT
+
+ [Nested dynamic import.]
+ expected: NOTRUN
+
+ [Nested static import.]
+ expected: NOTRUN
+
+ [Static import (cross-origin).]
+ expected: NOTRUN
+
+ [Static import (redirect).]
+ expected: NOTRUN
+
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..ef971f3e71
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-import-failure.html.ini
@@ -0,0 +1,11 @@
+[shared-worker-import-failure.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [SharedWorker construction for a file URL should throw an exception.]
+ expected: FAIL
+
+ [importScripts() on module worker should throw an exception.]
+ expected: FAIL
+
+ [Dynamic import for non-existent script should throw an exception.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/workers/modules/shared-worker-import-meta.html.ini b/testing/web-platform/meta/workers/modules/shared-worker-import-meta.html.ini
new file mode 100644
index 0000000000..e591f3e23c
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-import-meta.html.ini
@@ -0,0 +1,12 @@
+[shared-worker-import-meta.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT, ERROR]
+ [OK, ERROR]
+ [Test import.meta.url on the imported module script.]
+ expected: FAIL
+
+ [Test import.meta.url on the imported module script with a fragment.]
+ expected: FAIL
+
+ [Test import.meta.url on the top-level module script.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/workers/modules/shared-worker-import-referrer.html.ini b/testing/web-platform/meta/workers/modules/shared-worker-import-referrer.html.ini
new file mode 100644
index 0000000000..69856fff85
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-import-referrer.html.ini
@@ -0,0 +1,39 @@
+[shared-worker-import-referrer.html]
+ expected:
+ if (os == "mac") and not debug: ["OK", "TIMEOUT"]
+ [Cross-origin static import with "no-referrer" referrer policy.]
+ expected: FAIL
+
+ [Same-origin static import with "no-referrer" referrer policy.]
+ expected: FAIL
+
+ [Same-origin dynamic import with "no-referrer" referrer policy.]
+ expected: FAIL
+
+ [Cross-origin dynamic import with "no-referrer" referrer policy.]
+ expected: FAIL
+
+ [Same-origin dynamic import with "origin" referrer policy.]
+ expected: FAIL
+
+ [Cross-origin dynamic import with "origin" referrer policy.]
+ expected: FAIL
+
+ [Cross-origin dynamic import with "same-origin" referrer policy.]
+ expected: FAIL
+
+ [Cross-origin static import with "same-origin" referrer policy.]
+ expected: FAIL
+
+ [Same-origin static import with "same-origin" referrer policy.]
+ expected: FAIL
+
+ [Same-origin static import with "origin" referrer policy.]
+ expected: FAIL
+
+ [Cross-origin static import with "origin" referrer policy.]
+ expected: FAIL
+
+ [Same-origin dynamic import with "same-origin" referrer policy.]
+ 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..1b7fbdd3ee
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-import.window.js.ini
@@ -0,0 +1,29 @@
+[shared-worker-import.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Dynamic import.]
+ expected: FAIL
+
+ [Static import and then dynamic import.]
+ expected: FAIL
+
+ [eval(import()).]
+ expected: FAIL
+
+ [Dynamic import and then static import.]
+ expected: FAIL
+
+ [Static import.]
+ expected: FAIL
+
+ [Nested dynamic import.]
+ expected: FAIL
+
+ [Nested static import.]
+ expected: FAIL
+
+ [Static import (cross-origin).]
+ expected: FAIL
+
+ [Static import (redirect).]
+ expected: FAIL
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..8e165d0c67
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-options-credentials.html.ini
@@ -0,0 +1,89 @@
+[shared-worker-options-credentials.html]
+ expected: [TIMEOUT, ERROR]
+ [new SharedWorker() with type=classic should always send the credentials regardless of the credentials option (same-origin).]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=classic should never send the credentials for cross-origin dynamic imports regardless of the credentials option (default).]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=module and credentials=same-origin should send the credentials for same-origin dynamic imports]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=module and credentials=omit should not send the credentials for same-origin static imports]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=module and credentials=omit should not send the credentials for cross-origin static imports]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=classic should never send the credentials for cross-origin dynamic imports regardless of the credentials option (omit).]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=module and default credentials option should behave as credentials=same-origin and send the credentials for same-origin static imports]
+ expected: TIMEOUT
+
+ [new SharedWorker() with type=module and default credentials option should behave as credentials=same-origin and not send the credentials for cross-origin static imports]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=classic should always send the credentials regardless of the credentials option (include).]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=classic should always send the credentials for same-origin dynamic imports regardless of the credentials option (omit).]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=module and default credentials option should behave as credentials=same-origin and send the credentials for same-origin dynamic imports]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=classic should always send the credentials regardless of the credentials option (omit).]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=module and credentials=omit should not send the credentials for same-origin dynamic imports]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=module and credentials=omit should not send the credentials]
+ expected: FAIL
+
+ [new SharedWorker() with type=module and credentials=same-origin should send the credentials for same-origin static imports]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=classic should always send the credentials for same-origin dynamic imports regardless of the credentials option (include).]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=classic should never send the credentials for cross-origin dynamic imports regardless of the credentials option (include).]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=module and credentials=same-origin should not send the credentials for cross-origin dynamic imports]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=classic should always send the credentials for same-origin dynamic imports regardless of the credentials option (same-origin).]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=classic should always send the credentials for same-origin dynamic imports regardless of the credentials option (default).]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=module and default credentials option should behave as credentials=same-origin and not send the credentials for cross-origin dynamic imports]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=module and credentials=include should send the credentials for same-origin dynamic imports]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=module and credentials=same-origin should not send the credentials for cross-origin static imports]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=module and credentials=omit should not send the credentials for cross-origin dynamic imports]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=classic should always send the credentials regardless of the credentials option (default).]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=classic should never send the credentials for cross-origin dynamic imports regardless of the credentials option (same-origin).]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=module and credentials=include should send the credentials for cross-origin dynamic imports]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=module and credentials=include should send the credentials for same-origin static imports]
+ expected: NOTRUN
+
+ [new SharedWorker() with type=module and credentials=include should send the credentials for cross-origin static imports]
+ expected: NOTRUN
+
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..92e4c71364
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-options-type.html.ini
@@ -0,0 +1,8 @@
+[shared-worker-options-type.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [Test worker construction with an empty worker type.]
+ expected: FAIL
+
+ [Test worker construction with an unknown worker type.]
+ expected: FAIL
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..a299e57dd4
--- /dev/null
+++ b/testing/web-platform/meta/workers/modules/shared-worker-parse-error-failure.html.ini
@@ -0,0 +1,9 @@
+[shared-worker-parse-error-failure.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ ERROR
+ [Module shared worker construction for script with syntax error should dispatch an event named error.]
+ expected: NOTRUN
+
+ [Static import on module shared worker for script with syntax error should dispatch an event named error.]
+ expected: NOTRUN