repeated-imports.any.html
Details
- Test
/html/semantics/scripting-1/the-script-element/text-module/repeated-imports.any.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| FAIL | Importing a specifier that previously failed due to an incorrect type attribute can succeed if the correct attribute is later given promise_rejects_js: Dynamic import of a text module without a type attribute should fail function "function() { throw e; }" threw object "Error: Module not found: http://web-platform.test:8000/html/se… |
| FAIL | Importing a specifier that previously succeeded with the correct type attribute should fail if the incorrect attribute is later given promise_test: Unhandled rejection with value: object "Error: Module not found: http://web-platform.test:8000/html/semantics/scripting-1/the-script-element/text-module/file.txt#2" |
| FAIL | Two modules of different type with the same specifier can load if the server changes its responses (first text, then JS) promise_test: Unhandled rejection with value: object "TypeError: Unsupported import attribute type: "text"" |
| FAIL | An import should succeed even if the same specifier/type attribute pair previously failed due to a MIME type mismatch promise_rejects_js: Dynamic import of text without a type attribute should fail function "function() { throw e; }" threw "import(./serve-text-then-js.py?key=de26bc59-5b79-4717-bd5a-67ef039b73d3) rejec… |
| FAIL | If an import previously succeeded for a given specifier/type attribute pair, future uses of that pair should yield the same result promise_test: Unhandled rejection with value: object "TypeError: Unsupported import attribute type: "text"" |
| FAIL | Two modules of different type with the same specifier can load if the server changes its responses (first JS, then text) promise_test: Unhandled rejection with value: object "TypeError: Unsupported import attribute type: "text"" |
| PASS | If an import previously succeeded for a given specifier with no type attribute, future uses of the same values should yield the same result |