70.5workers/modules/
234 / 245 WPT subtests passing
- Failed
- 11
- Timed out
- 0
- Not run
- 0
- Test files
- 24
- Blocking files
- 0
Chrome 239 / 245 WPT subtests passing on the same files, 1 blocking
Tests
24 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
dedicated-worker-blob-url-sandboxed-iframe.html 4 / 4 passingChrome 0 / 40 failedClean
4 passing subtests
- Creating a module worker from a blob URL works.
- Creating a module worker from a blob URL works immediately before revoking.
- A module worker created from a blob URL can import another blob URL.
- A module worker created from a blob URL revoked immediately after construction can import another blob URL.
dedicated-worker-blob-url.window.js 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Creating a module worker from a blob URL works.
- Creating a module worker from a blob URL works immediately before revoking.
- A module worker created from a blob URL can import another blob URL.
- A module worker created from a blob URL revoked immediately after construction can import another blob URL.
dedicated-worker-import-blob-url.any.js 18 / 18 passingChrome 18 / 180 failedClean
/workers/modules/dedicated-worker-import-blob-url.any.html OK 9 / 9
9 passing subtests
- Static import.
- Static import (cross-origin).
- Static import (redirect).
- Nested static import.
- Static import and then dynamic import.
- Dynamic import.
- Nested dynamic import.
- Dynamic import and then static import.
- eval(import()).
/workers/modules/dedicated-worker-import-blob-url.any.worker.html OK 9 / 9
9 passing subtests
- Static import.
- Static import (cross-origin).
- Static import (redirect).
- Nested static import.
- Static import and then dynamic import.
- Dynamic import.
- Nested dynamic import.
- Dynamic import and then static import.
- eval(import()).
dedicated-worker-import-csp.html 8 / 11 passingChrome 11 / 113 failedWith failures
- ¶
FAILworker-src 'self' directive should disallow cross origin static import.
assert_array_equals: expected property 0 to be "ERROR" but got "export-on-load-script.js" (expected array ["ERROR"] got ["export-on-load-script.js"])
- ¶
FAILscript-src 'self' directive should disallow cross origin static import.
assert_array_equals: expected property 0 to be "ERROR" but got "export-on-load-script.js" (expected array ["ERROR"] got ["export-on-load-script.js"])
- ¶
FAILworker-src 'self' directive should override script-src * directive and disallow cross origin static import.
assert_array_equals: expected property 0 to be "ERROR" but got "export-on-load-script.js" (expected array ["ERROR"] got ["export-on-load-script.js"])
8 passing subtests
- worker-src * directive should allow cross origin static import.
- script-src * directive should allow cross origin static import.
- worker-src * directive should override script-src 'self' directive and allow cross origin static import.
- script-src-elem 'self' directive should not take effect on static import.
- script-src 'self' directive should disallow cross origin dynamic import.
- script-src-elem 'self' directive should disallow cross origin dynamic import.
- script-src * directive should allow cross origin dynamic import.
- worker-src 'self' directive should not take effect on dynamic import.
dedicated-worker-import-data-url-cross-origin.html 3 / 4 passingChrome 4 / 41 failedWith failures
- ¶
FAILstatic import script from data: URL should be allowed.
assert_true: expected true got false
3 passing subtests
- static import data url from data: URL should be allowed.
- dynamic import data url from data: URL should be allowed.
- dynamic import script from data: URL should be blocked.
dedicated-worker-import-data-url.any.js 16 / 18 passingChrome 18 / 182 failedWith failures
/workers/modules/dedicated-worker-import-data-url.any.html OK 8 / 9
- ¶
FAILStatic import (redirect).
assert_true: expected true got false
8 passing subtests
- Static import.
- Static import (cross-origin).
- Nested static import.
- Static import and then dynamic import.
- Dynamic import.
- Nested dynamic import.
- Dynamic import and then static import.
- eval(import()).
/workers/modules/dedicated-worker-import-data-url.any.worker.html OK 8 / 9
- ¶
FAILStatic import (redirect).
assert_true: expected true got false
8 passing subtests
- Static import.
- Static import (cross-origin).
- Nested static import.
- Static import and then dynamic import.
- Dynamic import.
- Nested dynamic import.
- Dynamic import and then static import.
- eval(import()).
dedicated-worker-import-failure.html 6 / 6 passingChrome 5 / 60 failedClean
6 passing subtests
- importScripts() on module worker should throw an exception.
- Worker construction for non-existent script should dispatch an ErrorEvent.
- Static import for non-existent script should dispatch an ErrorEvent.
- Dynamic import for non-existent script should throw an exception.
- Worker construction for an invalid URL should throw an exception.
- Worker construction for a file URL should fail
dedicated-worker-import-meta.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Test import.meta.url on the top-level module script.
- Test import.meta.url on the imported module script.
- Test import.meta.url on the imported module script with a fragment.
dedicated-worker-import-referrer.html 15 / 15 passingChrome 15 / 150 failedClean
15 passing subtests
- Same-origin top-level module script loading with "no-referrer" referrer policy
- Same-origin top-level module script loading with "origin" referrer policy
- Same-origin top-level module script loading with "same-origin" referrer policy
- Same-origin static import with "no-referrer" referrer policy.
- Same-origin static import with "origin" referrer policy.
- Same-origin static import with "same-origin" referrer policy.
- Cross-origin static import with "no-referrer" referrer policy.
- Cross-origin static import with "origin" referrer policy.
- Cross-origin static import with "same-origin" referrer policy.
- Same-origin dynamic import with "no-referrer" referrer policy.
- Same-origin dynamic import with "origin" referrer policy.
- Same-origin dynamic import with "same-origin" referrer policy.
- Cross-origin dynamic import with "no-referrer" referrer policy.
- Cross-origin dynamic import with "origin" referrer policy.
- Cross-origin dynamic import with "same-origin" referrer policy.
dedicated-worker-import.any.js 18 / 18 passingChrome 18 / 180 failedClean
/workers/modules/dedicated-worker-import.any.html OK 9 / 9
9 passing subtests
- Static import.
- Static import (cross-origin).
- Static import (redirect).
- Nested static import.
- Static import and then dynamic import.
- Dynamic import.
- Nested dynamic import.
- Dynamic import and then static import.
- eval(import()).
/workers/modules/dedicated-worker-import.any.worker.html OK 9 / 9
9 passing subtests
- Static import.
- Static import (cross-origin).
- Static import (redirect).
- Nested static import.
- Static import and then dynamic import.
- Dynamic import.
- Nested dynamic import.
- Dynamic import and then static import.
- eval(import()).
dedicated-worker-options-credentials.html 33 / 33 passingChrome 33 / 330 failedClean
33 passing subtests
- Test initialization: setting up cross-origin cookie
- new Worker() with type=module and default credentials option should behave as credentials=same-origin and send the credentials
- new Worker() with type=module and credentials=omit should not send the credentials
- new Worker() with type=module and credentials=same-origin should send the credentials
- new Worker() with type=module and credentials=include should send the credentials
- new Worker() with type=module and default credentials option should behave as credentials=same-origin and send the credentials for same-origin static imports
- new Worker() with type=module and credentials=omit should not send the credentials for same-origin static imports
- new Worker() with type=module and credentials=same-origin should send the credentials for same-origin static imports
- new Worker() with type=module and credentials=include should send the credentials for same-origin static imports
- 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
- new Worker() with type-module credentials=omit should not send the credentials for cross-origin static imports
- new Worker() with type=module and credentials=same-origin should not send the credentials for cross-origin static imports
- new Worker() with type=module and credentials=include should send the credentials for cross-origin static imports
- new Worker() with type=module and default credentials option should behave as credentials=same-origin and send the credentials for same-origin dynamic imports
- new Worker() with type=module and credentials=omit should not send the credentials for same-origin dynamic imports
- new Worker() with type=module and credentials=same-origin should send the credentials for same-origin dynamic imports
- new Worker() with type=module and credentials=include should send the credentials for same-origin dynamic imports
- 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
- new Worker() with type-module credentials=omit should not send the credentials for cross-origin dynamic imports
- new Worker() with type=module and credentials=same-origin should not send the credentials for cross-origin dynamic imports
- new Worker() with type=module and credentials=include should send the credentials for cross-origin dynamic imports
- new Worker() with type=classic should always send the credentials regardless of the credentials option (default).
- new Worker() with type=classic should always send the credentials regardless of the credentials option (omit).
- new Worker() with type=classic should always send the credentials regardless of the credentials option (same-origin).
- new Worker() with type=classic should always send the credentials regardless of the credentials option (include).
- new Worker() with type=classic should always send the credentials for same-origin dynamic imports regardless of the credentials option (default).
- new Worker() with type=classic should always send the credentials for same-origin dynamic imports regardless of the credentials option (omit).
- new Worker() with type=classic should always send the credentials for same-origin dynamic imports regardless of the credentials option (same-origin).
- new Worker() with type=classic should always send the credentials for same-origin dynamic imports regardless of the credentials option (include).
- new Worker() with type=classic should never send the credentials for cross-origin dynamic imports regardless of the credentials option (default).
- new Worker() with type=classic should never send the credentials for cross-origin dynamic imports regardless of the credentials option (omit).
- new Worker() with type=classic should never send the credentials for cross-origin dynamic imports regardless of the credentials option (same-origin).
- new Worker() with type=classic should never send the credentials for cross-origin dynamic imports regardless of the credentials option (include).
dedicated-worker-options-type.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- Test worker construction with the default worker type.
- Test worker construction with the "classic" worker type.
- Test worker construction with the "module" worker type.
- Test worker construction with an empty worker type.
- Test worker construction with an unknown worker type.
dedicated-worker-parse-error-failure.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Module worker construction for script with syntax error should dispatch an event named error.
- Static import on module worker for script with syntax error should dispatch an event named error.