Bug 1540913 - Part 8: Update wpt-tests; r=jonco

Differential Revision: https://phabricator.services.mozilla.com/D171701
This commit is contained in:
Yulia 2023-03-14 18:16:33 +00:00
parent d922ba9a6b
commit 4818902186
28 changed files with 229 additions and 188 deletions

View File

@ -1,13 +1,7 @@
[evaluation-order-3.any.worker-module.html]
expected:
if release_or_beta: TIMEOUT
[Module script queueing a microtask then throwing an exception]
expected:
if nightly_build: FAIL
[evaluation-order-3.any.sharedworker-module.html]
expected:
if release_or_beta: TIMEOUT
[Module script queueing a microtask then throwing an exception]
expected: FAIL

View File

@ -2,10 +2,16 @@
expected:
if (os == "android") and fission: [OK, TIMEOUT]
[Relative URL-like from same-origin importScripts()]
expected: FAIL
expected:
if release_or_beta: FAIL
[Absolute URL-like from cross-origin importScripts()]
expected: FAIL
expected:
if release_or_beta: FAIL
[Absolute URL-like from same-origin importScripts()]
expected:
if release_or_beta: FAIL
[Relative URL-like from cross-origin importScripts()]
expected: FAIL

View File

@ -2,7 +2,10 @@
expected:
if (os == "android") and fission: [OK, TIMEOUT]
[Absolute URL-like from worker top-level script]
expected: FAIL
expected:
if release_or_beta: FAIL
[Relative URL-like from worker top-level script]
expected: FAIL
expected:
if release_or_beta: FAIL

View File

@ -2,10 +2,13 @@
expected:
if (os == "android") and fission: [OK, TIMEOUT]
[A blob URL created in a window agent can be imported from a worker]
expected: FAIL
expected:
if release_or_beta: FAIL
[A blob URL revoked in a window agent will not resolve in a worker]
expected: FAIL
expected:
if release_or_beta: FAIL
[A revoked blob URL will not resolve in a worker even if it's in the window's module graph]
expected: FAIL
expected:
if release_or_beta: FAIL

View File

@ -2,22 +2,20 @@
expected:
if (os == "android") and fission: [OK, TIMEOUT]
[Blob URLs are supported in dynamic imports]
expected: FAIL
[Identical blob URLs resolve to the same module]
expected: FAIL
expected:
if release_or_beta: FAIL
[Different blob URLs pointing to the same blob resolve to different modules]
expected: FAIL
expected:
if release_or_beta: FAIL
[A revoked blob URL will not resolve]
expected: FAIL
[A revoked blob URL will resolve if it's already in the module graph]
expected: FAIL
expected:
if release_or_beta: FAIL
[Revoking a blob URL immediately after calling import will not fail]
expected: FAIL
expected:
if release_or_beta: FAIL
[blob-url.any.sharedworker-module.html]
@ -26,32 +24,26 @@
[Blob URLs are supported in dynamic imports]
expected:
if release_or_beta: TIMEOUT
FAIL
[Identical blob URLs resolve to the same module]
expected:
if release_or_beta: NOTRUN
FAIL
[Different blob URLs pointing to the same blob resolve to different modules]
expected:
if release_or_beta: NOTRUN
FAIL
[A revoked blob URL will not resolve]
expected:
if release_or_beta: NOTRUN
FAIL
[A revoked blob URL will resolve if it's already in the module graph]
expected:
if release_or_beta: NOTRUN
FAIL
[Revoking a blob URL immediately after calling import will not fail]
expected:
if release_or_beta: NOTRUN
FAIL
[blob-url.any.html]
@ -62,47 +54,22 @@
expected:
if (os == "android") and fission: [OK, TIMEOUT]
[Blob URLs are supported in dynamic imports]
expected: FAIL
[Identical blob URLs resolve to the same module]
expected: FAIL
expected:
if release_or_beta: FAIL
[Different blob URLs pointing to the same blob resolve to different modules]
expected: FAIL
expected:
if release_or_beta: FAIL
[A revoked blob URL will not resolve]
expected: FAIL
[A revoked blob URL will resolve if it's already in the module graph]
expected: FAIL
expected:
if release_or_beta: FAIL
[Revoking a blob URL immediately after calling import will not fail]
expected: FAIL
expected:
if release_or_beta: FAIL
[blob-url.any.worker-module.html]
expected:
if release_or_beta: TIMEOUT
[Blob URLs are supported in dynamic imports]
expected:
if nightly_build: FAIL
[Identical blob URLs resolve to the same module]
expected:
if nightly_build: FAIL
[Different blob URLs pointing to the same blob resolve to different modules]
expected:
if nightly_build: FAIL
[A revoked blob URL will not resolve]
expected:
if nightly_build: FAIL
[A revoked blob URL will resolve if it's already in the module graph]
expected:
if nightly_build: FAIL
[Revoking a blob URL immediately after calling import will not fail]
expected:
if nightly_build: FAIL

View File

@ -11,13 +11,23 @@
[basic.any.sharedworker.html]
expected: TIMEOUT
[import() should drain the microtask queue when fetching a new module]
expected: TIMEOUT
[import() should not drain the microtask queue when loading an already loaded module]
expected: FAIL
[basic.any.worker.html]
expected: TIMEOUT
[import() should not drain the microtask queue if it fails during specifier resolution]
expected: FAIL
expected:
if release_or_beta: FAIL
[import() should not drain the microtask queue when loading an already loaded module]
expected: FAIL
[import() should drain the microtask queue when fetching a new module]
expected: FAIL
expected:
if release_or_beta: FAIL
TIMEOUT

View File

@ -1,5 +1,7 @@
[dedicated-worker-service-worker-interception.https.html]
expected: [ERROR, TIMEOUT]
expected:
if (os == "android") and fission and release_or_beta: [ERROR, TIMEOUT]
[OK, TIMEOUT]
[Static import should be intercepted by a service worker.]
expected:
if release_or_beta: TIMEOUT
@ -7,4 +9,3 @@
[Dynamic import should be intercepted by a service worker.]
expected:
if release_or_beta: NOTRUN
TIMEOUT

View File

@ -2,10 +2,12 @@
expected:
if (os == "android") and fission: [OK, TIMEOUT]
[Worker is terminated during dynamic import() (module)]
expected: FAIL
expected:
if release_or_beta: FAIL
[Worker is terminated during dynamic import()]
expected: FAIL
expected:
if release_or_beta: FAIL
[Worker is terminated during top-level await]
expected:

View File

@ -10,19 +10,24 @@
if release_or_beta: FAIL
[Static import and then dynamic import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[Dynamic import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[Nested dynamic import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[Dynamic import and then static import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[eval(import()).]
expected: FAIL
expected:
if release_or_beta: FAIL
[Static import (cross-origin).]
expected:
@ -45,19 +50,24 @@
if release_or_beta: FAIL
[Static import and then dynamic import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[Dynamic import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[Nested dynamic import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[Dynamic import and then static import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[eval(import()).]
expected: FAIL
expected:
if release_or_beta: FAIL
[Static import (cross-origin).]
expected:

View File

@ -8,7 +8,8 @@
if release_or_beta: FAIL
[script-src * directive should allow cross origin dynamic import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[script-src * directive should allow cross origin static import.]
expected:

View File

@ -13,8 +13,8 @@
[dynamic import script from data: URL should be blocked.]
expected:
if release_or_beta: NOTRUN
FAIL
[dynamic import data url from data: URL should be allowed.]
expected:
if release_or_beta: NOTRUN
FAIL

View File

@ -13,27 +13,22 @@
[Static import and then dynamic import.]
expected:
if release_or_beta: NOTRUN
FAIL
[Dynamic import.]
expected:
if release_or_beta: NOTRUN
FAIL
[Nested dynamic import.]
expected:
if release_or_beta: NOTRUN
FAIL
[Dynamic import and then static import.]
expected:
if release_or_beta: NOTRUN
FAIL
[eval(import()).]
expected:
if release_or_beta: NOTRUN
FAIL
[Static import (cross-origin).]
expected:
@ -58,27 +53,22 @@
[Static import and then dynamic import.]
expected:
if release_or_beta: NOTRUN
FAIL
[Dynamic import.]
expected:
if release_or_beta: NOTRUN
FAIL
[Nested dynamic import.]
expected:
if release_or_beta: NOTRUN
FAIL
[Dynamic import and then static import.]
expected:
if release_or_beta: NOTRUN
FAIL
[eval(import()).]
expected:
if release_or_beta: NOTRUN
FAIL
[Static import (cross-origin).]
expected:

View File

@ -4,7 +4,8 @@
if release_or_beta: FAIL
[Dynamic import for non-existent script should throw an exception.]
expected: FAIL
expected:
if release_or_beta: FAIL
[Worker construction for a file URL should throw an exception.]
expected: FAIL

View File

@ -7,7 +7,8 @@
if release_or_beta: FAIL
[Test import.meta.url on the imported module script.]
expected: FAIL
expected:
if release_or_beta: FAIL
[Test import.meta.url on the imported module script with a fragment.]
expected: FAIL

View File

@ -33,13 +33,15 @@
expected: FAIL
[Same-origin dynamic import with "same-origin" referrer policy.]
expected: FAIL
expected:
if release_or_beta: FAIL
[Cross-origin dynamic import with "no-referrer" referrer policy.]
expected: FAIL
[Cross-origin dynamic import with "origin" referrer policy.]
expected: FAIL
expected:
if release_or_beta: FAIL
[Cross-origin dynamic import with "same-origin" referrer policy.]
expected: FAIL

View File

@ -11,19 +11,44 @@
if release_or_beta: FAIL
[Static import and then dynamic import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[Dynamic import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[Nested dynamic import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[Dynamic import and then static import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[eval(import()).]
expected: FAIL
expected:
if release_or_beta: FAIL
[Static import and then dynamic import.]
expected:
if release_or_beta: FAIL
[Dynamic import.]
expected:
if release_or_beta: FAIL
[Nested dynamic import.]
expected:
if release_or_beta: FAIL
[Dynamic import and then static import.]
expected:
if release_or_beta: FAIL
[eval(import()).]
expected:
if release_or_beta: FAIL
[Static import (cross-origin).]
expected:
@ -46,21 +71,6 @@
expected:
if release_or_beta: 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:
if release_or_beta: FAIL

View File

@ -2,62 +2,75 @@
expected:
if (os == "android") and fission: [ERROR, TIMEOUT]
if release_or_beta: [ERROR, TIMEOUT]
TIMEOUT
[new Worker() with type=classic should always send the credentials regardless of the credentials option (include).]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
[new Worker() with type=classic should always send the credentials regardless of the credentials option (default).]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
[new Worker() with type=classic should always send the credentials regardless of the credentials option (omit).]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
[new Worker() with type=module and credentials=include should send the credentials for same-origin static imports]
expected:
if release_or_beta: NOTRUN
[new Worker() with type=classic should always send the credentials for same-origin dynamic imports regardless of the credentials option (include).]
expected: NOTRUN
expected:
if release_or_beta: 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
expected:
if release_or_beta: NOTRUN
[new Worker() with type-module credentials=omit should not send the credentials for cross-origin dynamic imports]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
[new Worker() with type-module credentials=omit should not send the credentials for cross-origin static imports]
expected:
if release_or_beta: NOTRUN
[new Worker() with type=module and credentials=omit should not send the credentials for same-origin dynamic imports]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
[new Worker() with type=module and credentials=omit should not send the credentials for same-origin static imports]
expected:
if release_or_beta: NOTRUN
[new Worker() with type=module and credentials=include should send the credentials for cross-origin dynamic imports]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
[new Worker() with type=module and credentials=same-origin should not send the credentials for cross-origin static imports]
expected:
if release_or_beta: NOTRUN
[new Worker() with type=classic should never send the credentials for cross-origin dynamic imports regardless of the credentials option (include).]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
FAIL
[new Worker() with type=module and credentials=same-origin should not send the credentials for cross-origin dynamic imports]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
[new Worker() with type=classic should never send the credentials for cross-origin dynamic imports regardless of the credentials option (omit).]
expected: NOTRUN
expected:
if release_or_beta: 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:
if release_or_beta: NOTRUN
[new Worker() with type=classic should always send the credentials for same-origin dynamic imports regardless of the credentials option (omit).]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
FAIL
[new Worker() with type=module and credentials=omit should not send the credentials]
expected:
@ -68,26 +81,32 @@
if release_or_beta: TIMEOUT
[new Worker() with type=classic should always send the credentials regardless of the credentials option (same-origin).]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
[new Worker() with type=classic should never send the credentials for cross-origin dynamic imports regardless of the credentials option (default).]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
[new Worker() with type=classic should always send the credentials for same-origin dynamic imports regardless of the credentials option (default).]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
[new Worker() with type=module and credentials=include should send the credentials for cross-origin static imports]
expected:
if release_or_beta: 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
expected:
if release_or_beta: 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
expected:
if release_or_beta: NOTRUN
[new Worker() with type=module and credentials=same-origin should send the credentials for same-origin dynamic imports]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
[new Worker() with type=module and credentials=same-origin should send the credentials for same-origin static imports]
expected:
@ -96,7 +115,7 @@
[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:
if release_or_beta: NOTRUN
TIMEOUT
[new Worker() with type=module and credentials=include should send the credentials for same-origin dynamic imports]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN

View File

@ -2,23 +2,28 @@
expected:
if (os == "android") and fission: [OK, TIMEOUT]
[Dynamic import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[Static import and then dynamic import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[eval(import()).]
expected: FAIL
expected:
if release_or_beta: FAIL
[Dynamic import and then static import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[Static import.]
expected:
if release_or_beta: FAIL
[Nested dynamic import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[Nested static import.]
expected:
@ -31,4 +36,3 @@
[Static import (redirect).]
expected:
if release_or_beta: FAIL

View File

@ -12,7 +12,8 @@
if release_or_beta: FAIL
[script-src * directive should allow cross origin dynamic import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[script-src * directive should allow cross origin static import.]
expected:

View File

@ -12,8 +12,8 @@
[dynamic import script from data: URL should be blocked.]
expected:
if release_or_beta: NOTRUN
FAIL
[dynamic import data url from data: URL should be allowed.]
expected:
if release_or_beta: NOTRUN
FAIL

View File

@ -4,22 +4,18 @@
[Dynamic import.]
expected:
if release_or_beta: NOTRUN
FAIL
[Static import and then dynamic import.]
expected:
if release_or_beta: NOTRUN
FAIL
[eval(import()).]
expected:
if release_or_beta: NOTRUN
FAIL
[Dynamic import and then static import.]
expected:
if release_or_beta: NOTRUN
FAIL
[Static import.]
expected:
@ -28,7 +24,6 @@
[Nested dynamic import.]
expected:
if release_or_beta: NOTRUN
FAIL
[Nested static import.]
expected:

View File

@ -12,4 +12,3 @@
[Dynamic import for non-existent script should throw an exception.]
expected:
if release_or_beta: FAIL
if nightly_build: FAIL

View File

@ -4,12 +4,12 @@
if release_or_beta: [OK, TIMEOUT, ERROR]
[OK, ERROR]
[Test import.meta.url on the imported module script.]
expected: FAIL
expected:
if release_or_beta: FAIL
[Test import.meta.url on the imported module script with a fragment.]
expected:
if release_or_beta: [TIMEOUT, FAIL]
if nightly_build: FAIL
[Test import.meta.url on the top-level module script.]
expected:

View File

@ -19,7 +19,8 @@
expected: FAIL
[Cross-origin dynamic import with "origin" referrer policy.]
expected: FAIL
expected:
if release_or_beta: FAIL
[Cross-origin static import with "same-origin" referrer policy.]
expected:
@ -41,4 +42,5 @@
expected: FAIL
[Same-origin dynamic import with "same-origin" referrer policy.]
expected: FAIL
expected:
if release_or_beta: FAIL

View File

@ -2,23 +2,28 @@
expected:
if (os == "android") and fission: [OK, TIMEOUT]
[Dynamic import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[Static import.]
expected:
if release_or_beta: FAIL
[Static import and then dynamic import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[eval(import()).]
expected: FAIL
expected:
if release_or_beta: FAIL
[Dynamic import and then static import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[Nested dynamic import.]
expected: FAIL
expected:
if release_or_beta: FAIL
[Nested static import.]
expected:

View File

@ -1,13 +1,18 @@
[shared-worker-options-credentials.html]
expected: [TIMEOUT, ERROR]
expected:
if release_or_beta: [TIMEOUT, ERROR]
[new SharedWorker() with type=classic should always send the credentials regardless of the credentials option (same-origin).]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
[new SharedWorker() with type=classic should never send the credentials for cross-origin dynamic imports regardless of the credentials option (default).]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
[new SharedWorker() with type=module and credentials=same-origin should send the credentials for same-origin dynamic imports]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
[new SharedWorker() with type=module and credentials=omit should not send the credentials for same-origin static imports]
expected:
@ -18,7 +23,8 @@
if release_or_beta: NOTRUN
[new SharedWorker() with type=classic should never send the credentials for cross-origin dynamic imports regardless of the credentials option (omit).]
expected: NOTRUN
expected:
if release_or_beta: 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:
@ -29,21 +35,25 @@
if release_or_beta: NOTRUN
[new SharedWorker() with type=classic should always send the credentials regardless of the credentials option (include).]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
[new SharedWorker() with type=classic should always send the credentials for same-origin dynamic imports regardless of the credentials option (omit).]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
FAIL
[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:
if release_or_beta: NOTRUN
TIMEOUT
[new SharedWorker() with type=classic should always send the credentials regardless of the credentials option (omit).]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
[new SharedWorker() with type=module and credentials=omit should not send the credentials for same-origin dynamic imports]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
[new SharedWorker() with type=module and credentials=omit should not send the credentials]
expected:
@ -54,43 +64,55 @@
if release_or_beta: NOTRUN
[new SharedWorker() with type=classic should always send the credentials for same-origin dynamic imports regardless of the credentials option (include).]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
[new SharedWorker() with type=classic should never send the credentials for cross-origin dynamic imports regardless of the credentials option (include).]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
FAIL
[new SharedWorker() with type=module and credentials=same-origin should not send the credentials for cross-origin dynamic imports]
expected: NOTRUN
expected:
if release_or_beta: 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
expected:
if release_or_beta: NOTRUN
[new SharedWorker() with type=classic should always send the credentials for same-origin dynamic imports regardless of the credentials option (default).]
expected: NOTRUN
expected:
if release_or_beta: 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
expected:
if release_or_beta: NOTRUN
[new SharedWorker() with type=module and credentials=include should send the credentials for same-origin dynamic imports]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
[new SharedWorker() with type=module and credentials=same-origin should not send the credentials for cross-origin static imports]
expected:
if release_or_beta: NOTRUN
[new SharedWorker() with type=module and credentials=include should send the credentials for same-origin static imports]
expected:
if release_or_beta: NOTRUN
[new SharedWorker() with type=module and credentials=omit should not send the credentials for cross-origin dynamic imports]
expected: NOTRUN
expected:
if release_or_beta: NOTRUN
[new SharedWorker() with type=classic should always send the credentials regardless of the credentials option (default).]
expected: NOTRUN
expected:
if release_or_beta: 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
expected:
if release_or_beta: 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:
if release_or_beta: NOTRUN

View File

@ -3,8 +3,5 @@
if release_or_beta: https://bugzilla.mozilla.org/show_bug.cgi?id=1812591
expected: [OK, TIMEOUT]
[script-src * directive should allow cross origin dynamic import.]
expected: [FAIL, TIMEOUT]
[worker-src 'self' directive should not take effect on dynamic import.]
expected: [FAIL, TIMEOUT]

View File

@ -1,10 +1,6 @@
[shared-worker-import-csp.html]
disabled:
if release_or_beta: https://bugzilla.mozilla.org/show_bug.cgi?id=1812591
[script-src * directive should allow cross origin dynamic import.]
expected: [FAIL, TIMEOUT]
[script-src 'self' directive should disallow cross origin dynamic import.]
expected: [PASS, FAIL]