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
DirectorySubtests passingChromeTest filesStanding
alpha/14 / 1414 / 143none blocking
microtasks/15 / 1512 / 154none 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.js3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. A blob URL created in a window agent can be imported from a worker
  2. A blob URL revoked in a window agent will not resolve in a worker
  3. A revoked blob URL will not resolve in a worker even if it's in the window's module graph
blob-url.any.js30 / 30 passingChrome 30 / 300 failedClean
Standing
Clean runner status OK
Chrome
Clean 30 / 30 WPT subtests passing runner status OK

/html/semantics/scripting-1/the-script-element/module/dynamic-import/blob-url.any.html OK 6 / 6

6 passing subtests
  1. Blob URLs are supported in dynamic imports
  2. Identical blob URLs resolve to the same module
  3. Different blob URLs pointing to the same blob resolve to different modules
  4. A revoked blob URL will not resolve
  5. A revoked blob URL will resolve if it's already in the module graph
  6. 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
  1. Blob URLs are supported in dynamic imports
  2. Identical blob URLs resolve to the same module
  3. Different blob URLs pointing to the same blob resolve to different modules
  4. A revoked blob URL will not resolve
  5. A revoked blob URL will resolve if it's already in the module graph
  6. 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
  1. Blob URLs are supported in dynamic imports
  2. Identical blob URLs resolve to the same module
  3. Different blob URLs pointing to the same blob resolve to different modules
  4. A revoked blob URL will not resolve
  5. A revoked blob URL will resolve if it's already in the module graph
  6. 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
  1. Blob URLs are supported in dynamic imports
  2. Identical blob URLs resolve to the same module
  3. Different blob URLs pointing to the same blob resolve to different modules
  4. A revoked blob URL will not resolve
  5. A revoked blob URL will resolve if it's already in the module graph
  6. 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
  1. Blob URLs are supported in dynamic imports
  2. Identical blob URLs resolve to the same module
  3. Different blob URLs pointing to the same blob resolve to different modules
  4. A revoked blob URL will not resolve
  5. A revoked blob URL will resolve if it's already in the module graph
  6. Revoking a blob URL immediately after calling import will not fail
code-cache-base-url.html6 / 6 passingChrome 4 / 60 failedClean
Standing
Clean runner status OK
Chrome
With failures 4 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. alpha - Function
  2. alpha - eval
  3. beta - Function
  4. beta - eval
  5. gamma - Function
  6. gamma - eval
code-cache-nonce.html3 / 3 passingChrome 1 / 30 failedClean
Standing
Clean runner status OK
Chrome
With failures 1 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. First dynamic import should use nonce=abc
  2. Second dynamic import should use nonce=def
  3. Third dynamic import should use nonce=ghi
concurrent-failed-imports.any.js6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK

/html/semantics/scripting-1/the-script-element/module/dynamic-import/concurrent-failed-imports.any.html OK 2 / 2

2 passing subtests
  1. Multiple concurrent imports of a failing module should all reject but only fetch once
  2. 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
  1. Multiple concurrent imports of a failing module should all reject but only fetch once
  2. 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
  1. Multiple concurrent imports of a failing module should all reject but only fetch once
  2. 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.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Dynamic imports don't delay the load event.
dynamic-imports-credentials-setTimeout.sub.html10 / 12 passingChrome 10 / 122 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 10 / 12 WPT subtests passing runner status OK
  1. FAILCross-origin dynamic import from setTimeout(string) from classic script (crossOrigin=use-credentials)
    assert_equals: cookie expected "found" but got "not found"
  2. 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
  1. Same-origin dynamic import from setTimeout(string) from classic script (crossOrigin not specified)
  2. Cross-origin dynamic import from setTimeout(string) from classic script (crossOrigin not specified)
  3. Same-origin dynamic import from setTimeout(string) from classic script (crossOrigin=anonymous)
  4. Cross-origin dynamic import from setTimeout(string) from classic script (crossOrigin=anonymous)
  5. Same-origin dynamic import from setTimeout(string) from classic script (crossOrigin=use-credentials)
  6. Same-origin dynamic import from setTimeout(string) from module script (crossOrigin not specified)
  7. Cross-origin dynamic import from setTimeout(string) from module script (crossOrigin not specified)
  8. Same-origin dynamic import from setTimeout(string) from module script (crossOrigin=anonymous)
  9. Cross-origin dynamic import from setTimeout(string) from module script (crossOrigin=anonymous)
  10. Same-origin dynamic import from setTimeout(string) from module script (crossOrigin=use-credentials)
dynamic-imports-credentials.sub.html12 / 12 passingChrome 12 / 120 failedClean
Standing
Clean runner status OK
Chrome
Clean 12 / 12 WPT subtests passing runner status OK
12 passing subtests
  1. Same-origin dynamic import from classic script (crossOrigin not specified)
  2. Cross-origin dynamic import from classic script (crossOrigin not specified)
  3. Same-origin dynamic import from classic script (crossOrigin=anonymous)
  4. Cross-origin dynamic import from classic script (crossOrigin=anonymous)
  5. Same-origin dynamic import from classic script (crossOrigin=use-credentials)
  6. Cross-origin dynamic import from classic script (crossOrigin=use-credentials)
  7. Same-origin dynamic import from module script (crossOrigin not specified)
  8. Cross-origin dynamic import from module script (crossOrigin not specified)
  9. Same-origin dynamic import from module script (crossOrigin=anonymous)
  10. Cross-origin dynamic import from module script (crossOrigin=anonymous)
  11. Same-origin dynamic import from module script (crossOrigin=use-credentials)
  12. Cross-origin dynamic import from module script (crossOrigin=use-credentials)
dynamic-imports-fetch-error.sub.html16 / 16 passingChrome 16 / 160 failedClean
Standing
Clean runner status OK
Chrome
Clean 16 / 16 WPT subtests passing runner status OK
16 passing subtests
  1. import() must reject when there is a wrong MIME type
  2. import() must reject with a different error object for each import when there is a wrong MIME type
  3. import() must reject when there is a wrong MIME type of a dependency
  4. import() must reject with a different error object for each import when there is a wrong MIME type of a dependency
  5. import() must reject when there is a 404
  6. import() must reject with a different error object for each import when there is a 404
  7. import() must reject when there is a 404 of a dependency
  8. import() must reject with a different error object for each import when there is a 404 of a dependency
  9. import() must reject when there is a 500
  10. import() must reject with a different error object for each import when there is a 500
  11. import() must reject when there is a 500 of a dependency
  12. import() must reject with a different error object for each import when there is a 500 of a dependency
  13. import() must reject when there is a cross-origin module (without CORS)
  14. import() must reject with a different error object for each import when there is a cross-origin module (without CORS)
  15. import() must reject when there is a cross-origin module dependency (without CORS)
  16. 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.html11 / 11 passingChrome 11 / 110 failedClean
Standing
Clean runner status OK
Chrome
Clean 11 / 11 WPT subtests passing runner status OK
11 passing subtests
  1. import() must reject when there is a parse error
  2. import() must reject with the same error object for each import when there is a parse error
  3. import() must reject when there is a bad module specifier
  4. import() must reject with different error objects for each import when there is a bad module specifier
  5. import() must reject when there is a bad module specifier in a dependency
  6. import() must reject with the same error object for each import when there is a bad module specifier in a dependency
  7. import() must reject when there is a instantiation error
  8. import() must reject with different error objects for each import when there is a instantiation error
  9. import() must reject when there is a evaluation error
  10. import() must reject with the same error object for each import when there is a evaluation error
  11. import()ing a module with an evaluation error must stop evaluation
dynamic-imports.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Dynamic imports should resolve module.
inline-event-handler.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. dynamic import should work when triggered from inline event handlers
propagate-nonce-external-classic.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Dynamically imported module should eval when imported from script w/ a valid nonce.
propagate-nonce-external-module.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Dynamically imported module should eval when imported from script w/ a valid nonce.
propagate-nonce-inline-classic.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Dynamically imported module should eval when imported from script w/ a valid nonce.
propagate-nonce-inline-module.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Dynamically imported module should eval when imported from script w/ a valid nonce.
repeated-imports.any.js12 / 12 passingChrome 12 / 120 failedClean
Standing
Clean runner status OK
Chrome
Clean 12 / 12 WPT subtests passing runner status OK

/html/semantics/scripting-1/the-script-element/module/dynamic-import/repeated-imports.any.html OK 4 / 4

4 passing subtests
  1. An import should succeed even if the same specifier/type attribute pair previously failed due to a MIME type mismatch
  2. An import should succeed even if the same specifier/type pair previously failed due to a network error (e.g. 404)
  3. Multiple imports in sequence with the same specifier/type pair should only fetch the module once
  4. 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
  1. An import should succeed even if the same specifier/type attribute pair previously failed due to a MIME type mismatch
  2. An import should succeed even if the same specifier/type pair previously failed due to a network error (e.g. 404)
  3. Multiple imports in sequence with the same specifier/type pair should only fetch the module once
  4. 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
  1. An import should succeed even if the same specifier/type attribute pair previously failed due to a MIME type mismatch
  2. An import should succeed even if the same specifier/type pair previously failed due to a network error (e.g. 404)
  3. Multiple imports in sequence with the same specifier/type pair should only fetch the module once
  4. Multiple concurrent imports with the same specifier/type pair should only fetch the module once
shared-dependency-repeated-import.https.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Module shared dependency import
string-compilation-base-url-external-classic.html4 / 5 passingChrome 2 / 51 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 2 / 5 WPT subtests passing runner status OK
  1. FAILsetTimeout should successfully import
    promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch dynamically imported module"
4 passing subtests
  1. eval should successfully import
  2. Function should successfully import
  3. reflected-inline-event-handlers should successfully import
  4. inline-event-handlers-UA-code should successfully import
string-compilation-base-url-external-module.html4 / 5 passingChrome 2 / 51 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 2 / 5 WPT subtests passing runner status OK
  1. FAILsetTimeout should successfully import
    promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch dynamically imported module"
4 passing subtests
  1. eval should successfully import
  2. Function should successfully import
  3. reflected-inline-event-handlers should successfully import
  4. inline-event-handlers-UA-code should successfully import
string-compilation-base-url-inline-classic.html4 / 5 passingChrome 2 / 51 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 2 / 5 WPT subtests passing runner status OK
  1. FAILsetTimeout should successfully import
    promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch dynamically imported module"
4 passing subtests
  1. eval should successfully import
  2. the Function constructor should successfully import
  3. reflected inline event handlers should successfully import
  4. inline event handlers triggered via UA code should successfully import
string-compilation-base-url-inline-module.html4 / 5 passingChrome 2 / 51 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 2 / 5 WPT subtests passing runner status OK
  1. FAILsetTimeout should successfully import
    promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch dynamically imported module"
4 passing subtests
  1. eval should successfully import
  2. the Function constructor should successfully import
  3. reflected inline event handlers should successfully import
  4. inline event handlers triggered via UA code should successfully import
string-compilation-classic.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. eval should successfully import
  2. setTimeout should successfully import
  3. the Function constructor should successfully import
  4. reflected inline event handlers should successfully import
  5. inline event handlers triggered via UA code should successfully import
string-compilation-module.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. eval should successfully import
  2. setTimeout should successfully import
  3. the Function constructor should successfully import
  4. reflected inline event handlers should successfully import
  5. inline event handlers triggered via UA code should successfully import
string-compilation-nonce-classic.html5 / 6 passingChrome 5 / 61 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 5 / 6 WPT subtests passing runner status OK
  1. 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
  1. direct eval must inherit the nonce from the triggering script, thus execute
  2. indirect eval must inherit the nonce from the triggering script, thus execute
  3. the Function constructor must inherit the nonce from the triggering script, thus execute
  4. reflected inline event handlers must not inherit the nonce from the triggering script, thus fail
  5. inline event handlers triggered via UA code must not inherit the nonce from the triggering script, thus fail
string-compilation-nonce-module.html5 / 6 passingChrome 5 / 61 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 5 / 6 WPT subtests passing runner status OK
  1. 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
  1. direct eval must inherit the nonce from the triggering script, thus execute
  2. indirect eval must inherit the nonce from the triggering script, thus execute
  3. the Function constructor must inherit the nonce from the triggering script, thus execute
  4. reflected inline event handlers must not inherit the nonce from the triggering script, thus fail
  5. inline event handlers triggered via UA code must not inherit the nonce from the triggering script, thus fail
string-compilation-of-promise-result.html2 / 4 passingChrome 2 / 42 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 2 / 4 WPT subtests passing runner status OK
  1. FAILEvaled the script via eval, successful import
    promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch dynamically imported module"
  2. FAILEvaled the script via Function, successful import
    promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch dynamically imported module"
2 passing subtests
  1. Evaled the script via eval, failed import
  2. Evaled the script via Function, failed import
string-compilation-other-document.html4 / 5 passingChrome 4 / 51 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 4 / 5 WPT subtests passing runner status OK
  1. FAILsetTimeout should successfully import
    promise_test: Unhandled rejection with value: object "TypeError: Failed to fetch dynamically imported module"
4 passing subtests
  1. eval should successfully import
  2. the Function constructor should successfully import
  3. reflected inline event handlers should successfully import
  4. inline event handlers triggered by JS should successfully import
v8-code-cache.html10 / 10 passingChrome 10 / 100 failedClean
Standing
Clean runner status OK
Chrome
Clean 10 / 10 WPT subtests passing runner status OK
10 passing subtests
  1. text/javascript: Run #1
  2. text/javascript: Run #2
  3. text/javascript: Run #3
  4. text/javascript: Run #4
  5. text/javascript: Run #5
  6. module: Run #1
  7. module: Run #2
  8. module: Run #3
  9. module: Run #4
  10. module: Run #5

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.