html/semantics/scripting-1/the-script-element/module/dynamic-import/
198 / 209 WPT subtests passing
- Failed
- 11
- Timed out
- 0
- Not run
- 0
- Test files
- 36
- Blocking files
- 0
Chrome 183 / 209 WPT subtests passing on the same files, none blocking
Tests
2 directories, 29 test files here| Directory | Subtests passing | Chrome | Test files | Standing |
|---|---|---|---|---|
alpha/ | 14 / 14 | 14 / 14 | 3 | none blocking |
microtasks/ | 15 / 15 | 12 / 15 | 4 | none blocking |
Each test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
blob-url-workers.window.js 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- A blob URL created in a window agent can be imported from a worker
- A blob URL revoked in a window agent will not resolve in a worker
- A revoked blob URL will not resolve in a worker even if it's in the window's module graph
blob-url.any.js 30 / 30 passingChrome 30 / 300 failedClean
/html/semantics/scripting-1/the-script-element/module/dynamic-import/blob-url.any.html OK 6 / 6
6 passing subtests
- Blob URLs are supported in dynamic imports
- Identical blob URLs resolve to the same module
- Different blob URLs pointing to the same blob resolve to different modules
- A revoked blob URL will not resolve
- A revoked blob URL will resolve if it's already in the module graph
- Revoking a blob URL immediately after calling import will not fail
/html/semantics/scripting-1/the-script-element/module/dynamic-import/blob-url.any.sharedworker-module.html OK 6 / 6
6 passing subtests
- Blob URLs are supported in dynamic imports
- Identical blob URLs resolve to the same module
- Different blob URLs pointing to the same blob resolve to different modules
- A revoked blob URL will not resolve
- A revoked blob URL will resolve if it's already in the module graph
- Revoking a blob URL immediately after calling import will not fail
/html/semantics/scripting-1/the-script-element/module/dynamic-import/blob-url.any.sharedworker.html OK 6 / 6
6 passing subtests
- Blob URLs are supported in dynamic imports
- Identical blob URLs resolve to the same module
- Different blob URLs pointing to the same blob resolve to different modules
- A revoked blob URL will not resolve
- A revoked blob URL will resolve if it's already in the module graph
- Revoking a blob URL immediately after calling import will not fail
/html/semantics/scripting-1/the-script-element/module/dynamic-import/blob-url.any.worker-module.html OK 6 / 6
6 passing subtests
- Blob URLs are supported in dynamic imports
- Identical blob URLs resolve to the same module
- Different blob URLs pointing to the same blob resolve to different modules
- A revoked blob URL will not resolve
- A revoked blob URL will resolve if it's already in the module graph
- Revoking a blob URL immediately after calling import will not fail
/html/semantics/scripting-1/the-script-element/module/dynamic-import/blob-url.any.worker.html OK 6 / 6
6 passing subtests
- Blob URLs are supported in dynamic imports
- Identical blob URLs resolve to the same module
- Different blob URLs pointing to the same blob resolve to different modules
- A revoked blob URL will not resolve
- A revoked blob URL will resolve if it's already in the module graph
- Revoking a blob URL immediately after calling import will not fail
code-cache-base-url.html 6 / 6 passingChrome 4 / 60 failedClean
6 passing subtests
- alpha - Function
- alpha - eval
- beta - Function
- beta - eval
- gamma - Function
- gamma - eval
code-cache-nonce.html 3 / 3 passingChrome 1 / 30 failedClean
3 passing subtests
- First dynamic import should use nonce=abc
- Second dynamic import should use nonce=def
- Third dynamic import should use nonce=ghi
concurrent-failed-imports.any.js 6 / 6 passingChrome 6 / 60 failedClean
/html/semantics/scripting-1/the-script-element/module/dynamic-import/concurrent-failed-imports.any.html OK 2 / 2
2 passing subtests
- Multiple concurrent imports of a failing module should all reject but only fetch once
- A joined import is notified with its own fetch result even if a sibling's rejection handler re-imports the same specifier
/html/semantics/scripting-1/the-script-element/module/dynamic-import/concurrent-failed-imports.any.sharedworker.html OK 2 / 2
2 passing subtests
- Multiple concurrent imports of a failing module should all reject but only fetch once
- A joined import is notified with its own fetch result even if a sibling's rejection handler re-imports the same specifier
/html/semantics/scripting-1/the-script-element/module/dynamic-import/concurrent-failed-imports.any.worker.html OK 2 / 2
2 passing subtests
- Multiple concurrent imports of a failing module should all reject but only fetch once
- A joined import is notified with its own fetch result even if a sibling's rejection handler re-imports the same specifier
delay-load-event.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Dynamic imports don't delay the load event.
dynamic-imports-credentials-setTimeout.sub.html 10 / 12 passingChrome 10 / 122 failedWith failures
- ¶
FAILCross-origin dynamic import from setTimeout(string) from classic script (crossOrigin=use-credentials)
assert_equals: cookie expected "found" but got "not found"
- ¶
FAILCross-origin dynamic import from setTimeout(string) from module script (crossOrigin=use-credentials)
assert_equals: cookie expected "found" but got "not found"
10 passing subtests
- Same-origin dynamic import from setTimeout(string) from classic script (crossOrigin not specified)
- Cross-origin dynamic import from setTimeout(string) from classic script (crossOrigin not specified)
- Same-origin dynamic import from setTimeout(string) from classic script (crossOrigin=anonymous)
- Cross-origin dynamic import from setTimeout(string) from classic script (crossOrigin=anonymous)
- Same-origin dynamic import from setTimeout(string) from classic script (crossOrigin=use-credentials)
- Same-origin dynamic import from setTimeout(string) from module script (crossOrigin not specified)
- Cross-origin dynamic import from setTimeout(string) from module script (crossOrigin not specified)
- Same-origin dynamic import from setTimeout(string) from module script (crossOrigin=anonymous)
- Cross-origin dynamic import from setTimeout(string) from module script (crossOrigin=anonymous)
- Same-origin dynamic import from setTimeout(string) from module script (crossOrigin=use-credentials)
dynamic-imports-credentials.sub.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- Same-origin dynamic import from classic script (crossOrigin not specified)
- Cross-origin dynamic import from classic script (crossOrigin not specified)
- Same-origin dynamic import from classic script (crossOrigin=anonymous)
- Cross-origin dynamic import from classic script (crossOrigin=anonymous)
- Same-origin dynamic import from classic script (crossOrigin=use-credentials)
- Cross-origin dynamic import from classic script (crossOrigin=use-credentials)
- Same-origin dynamic import from module script (crossOrigin not specified)
- Cross-origin dynamic import from module script (crossOrigin not specified)
- Same-origin dynamic import from module script (crossOrigin=anonymous)
- Cross-origin dynamic import from module script (crossOrigin=anonymous)
- Same-origin dynamic import from module script (crossOrigin=use-credentials)
- Cross-origin dynamic import from module script (crossOrigin=use-credentials)
dynamic-imports-fetch-error.sub.html 16 / 16 passingChrome 16 / 160 failedClean
16 passing subtests
- import() must reject when there is a wrong MIME type
- import() must reject with a different error object for each import when there is a wrong MIME type
- import() must reject when there is a wrong MIME type of a dependency
- import() must reject with a different error object for each import when there is a wrong MIME type of a dependency
- import() must reject when there is a 404
- import() must reject with a different error object for each import when there is a 404
- import() must reject when there is a 404 of a dependency
- import() must reject with a different error object for each import when there is a 404 of a dependency
- import() must reject when there is a 500
- import() must reject with a different error object for each import when there is a 500
- import() must reject when there is a 500 of a dependency
- import() must reject with a different error object for each import when there is a 500 of a dependency
- import() must reject when there is a cross-origin module (without CORS)
- import() must reject with a different error object for each import when there is a cross-origin module (without CORS)
- import() must reject when there is a cross-origin module dependency (without CORS)
- import() must reject with a different error object for each import when there is a cross-origin module dependency (without CORS)
dynamic-imports-script-error.html 11 / 11 passingChrome 11 / 110 failedClean
11 passing subtests
- import() must reject when there is a parse error
- import() must reject with the same error object for each import when there is a parse error
- import() must reject when there is a bad module specifier
- import() must reject with different error objects for each import when there is a bad module specifier
- import() must reject when there is a bad module specifier in a dependency
- import() must reject with the same error object for each import when there is a bad module specifier in a dependency
- import() must reject when there is a instantiation error
- import() must reject with different error objects for each import when there is a instantiation error
- import() must reject when there is a evaluation error
- import() must reject with the same error object for each import when there is a evaluation error
- import()ing a module with an evaluation error must stop evaluation
dynamic-imports.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Dynamic imports should resolve module.
inline-event-handler.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- dynamic import should work when triggered from inline event handlers
propagate-nonce-external-classic.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Dynamically imported module should eval when imported from script w/ a valid nonce.
propagate-nonce-external-module.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Dynamically imported module should eval when imported from script w/ a valid nonce.
propagate-nonce-inline-classic.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Dynamically imported module should eval when imported from script w/ a valid nonce.
propagate-nonce-inline-module.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Dynamically imported module should eval when imported from script w/ a valid nonce.
repeated-imports.any.js 12 / 12 passingChrome 12 / 120 failedClean
/html/semantics/scripting-1/the-script-element/module/dynamic-import/repeated-imports.any.html OK 4 / 4
4 passing subtests
- An import should succeed even if the same specifier/type attribute pair previously failed due to a MIME type mismatch
- An import should succeed even if the same specifier/type pair previously failed due to a network error (e.g. 404)
- Multiple imports in sequence with the same specifier/type pair should only fetch the module once
- Multiple concurrent imports with the same specifier/type pair should only fetch the module once
/html/semantics/scripting-1/the-script-element/module/dynamic-import/repeated-imports.any.sharedworker.html OK 4 / 4
4 passing subtests
- An import should succeed even if the same specifier/type attribute pair previously failed due to a MIME type mismatch
- An import should succeed even if the same specifier/type pair previously failed due to a network error (e.g. 404)
- Multiple imports in sequence with the same specifier/type pair should only fetch the module once
- Multiple concurrent imports with the same specifier/type pair should only fetch the module once
/html/semantics/scripting-1/the-script-element/module/dynamic-import/repeated-imports.any.worker.html OK 4 / 4
4 passing subtests
- An import should succeed even if the same specifier/type attribute pair previously failed due to a MIME type mismatch
- An import should succeed even if the same specifier/type pair previously failed due to a network error (e.g. 404)
- Multiple imports in sequence with the same specifier/type pair should only fetch the module once
- Multiple concurrent imports with the same specifier/type pair should only fetch the module once
string-compilation-base-url-external-classic.html 4 / 5 passingChrome 2 / 51 failedWith failures
- ¶
FAILsetTimeout should successfully import
promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch dynamically imported module"
4 passing subtests
- eval should successfully import
- Function should successfully import
- reflected-inline-event-handlers should successfully import
- inline-event-handlers-UA-code should successfully import
string-compilation-base-url-external-module.html 4 / 5 passingChrome 2 / 51 failedWith failures
- ¶
FAILsetTimeout should successfully import
promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch dynamically imported module"
4 passing subtests
- eval should successfully import
- Function should successfully import
- reflected-inline-event-handlers should successfully import
- inline-event-handlers-UA-code should successfully import
string-compilation-base-url-inline-classic.html 4 / 5 passingChrome 2 / 51 failedWith failures
- ¶
FAILsetTimeout should successfully import
promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch dynamically imported module"
4 passing subtests
- eval should successfully import
- the Function constructor should successfully import
- reflected inline event handlers should successfully import
- inline event handlers triggered via UA code should successfully import
string-compilation-base-url-inline-module.html 4 / 5 passingChrome 2 / 51 failedWith failures
- ¶
FAILsetTimeout should successfully import
promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch dynamically imported module"
4 passing subtests
- eval should successfully import
- the Function constructor should successfully import
- reflected inline event handlers should successfully import
- inline event handlers triggered via UA code should successfully import
string-compilation-classic.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- eval should successfully import
- setTimeout should successfully import
- the Function constructor should successfully import
- reflected inline event handlers should successfully import
- inline event handlers triggered via UA code should successfully import
string-compilation-module.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- eval should successfully import
- setTimeout should successfully import
- the Function constructor should successfully import
- reflected inline event handlers should successfully import
- inline event handlers triggered via UA code should successfully import
string-compilation-nonce-classic.html 5 / 6 passingChrome 5 / 61 failedWith failures
- ¶
FAILsetTimeout must inherit the nonce from the triggering script, thus execute
promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch dynamically imported module"
5 passing subtests
- direct eval must inherit the nonce from the triggering script, thus execute
- indirect eval must inherit the nonce from the triggering script, thus execute
- the Function constructor must inherit the nonce from the triggering script, thus execute
- reflected inline event handlers must not inherit the nonce from the triggering script, thus fail
- inline event handlers triggered via UA code must not inherit the nonce from the triggering script, thus fail
string-compilation-nonce-module.html 5 / 6 passingChrome 5 / 61 failedWith failures
- ¶
FAILsetTimeout must inherit the nonce from the triggering script, thus execute
promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch dynamically imported module"
5 passing subtests
- direct eval must inherit the nonce from the triggering script, thus execute
- indirect eval must inherit the nonce from the triggering script, thus execute
- the Function constructor must inherit the nonce from the triggering script, thus execute
- reflected inline event handlers must not inherit the nonce from the triggering script, thus fail
- inline event handlers triggered via UA code must not inherit the nonce from the triggering script, thus fail
string-compilation-of-promise-result.html 2 / 4 passingChrome 2 / 42 failedWith failures
- ¶
FAILEvaled the script via eval, successful import
promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch dynamically imported module"
- ¶
FAILEvaled the script via Function, successful import
promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch dynamically imported module"
2 passing subtests
- Evaled the script via eval, failed import
- Evaled the script via Function, failed import
string-compilation-other-document.html 4 / 5 passingChrome 4 / 51 failedWith failures
- ¶
FAILsetTimeout should successfully import
promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch dynamically imported module"
4 passing subtests
- eval should successfully import
- the Function constructor should successfully import
- reflected inline event handlers should successfully import
- inline event handlers triggered by JS should successfully import
v8-code-cache.html 10 / 10 passingChrome 10 / 100 failedClean
10 passing subtests
- text/javascript: Run #1
- text/javascript: Run #2
- text/javascript: Run #3
- text/javascript: Run #4
- text/javascript: Run #5
- module: Run #1
- module: Run #2
- module: Run #3
- module: Run #4
- module: Run #5