Add WPT baseline for import maps (#37388)

Part of #37316

Signed-off-by: Wu Yu Wei <yuweiwu@pm.me>
This commit is contained in:
Ngo Iok Ui (Wu Yu Wei) 2025-06-11 16:26:10 +09:00 committed by GitHub
parent f1767e6c1e
commit f60c857fcf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 787 additions and 0 deletions

View file

@ -176,6 +176,8 @@ skip: true
skip: true
[moving-between-documents]
skip: true
[import-maps]
skip: false
[intersection-observer]
skip: false
[js]

View file

@ -0,0 +1,3 @@
[dynamic-import.html]
[After a dynamic import(), import maps work fine]
expected: FAIL

View file

@ -0,0 +1,3 @@
[modulepreload-link-header.html]
[With modulepreload link header, import maps work fine]
expected: FAIL

View file

@ -0,0 +1,3 @@
[modulepreload.html]
[After <link rel=modulepreload> import maps should work fine]
expected: FAIL

View file

@ -0,0 +1,3 @@
[script-tag-inline.html]
[After inline <script type="module"> import maps work fine]
expected: FAIL

View file

@ -0,0 +1,3 @@
[script-tag.html]
[After <script type="module"> import maps work fine]
expected: FAIL

View file

@ -0,0 +1,3 @@
[worker-request.html]
[After module worker creation import maps are still effective]
expected: FAIL

View file

@ -0,0 +1,27 @@
[bare-specifiers.sub.html]
[bare/bare: static import]
expected: FAIL
[bare/bare: dynamic import (from module)]
expected: FAIL
[bare/bare: dynamic import (from text/javascript)]
expected: FAIL
[bare/cross-origin-bare: static import]
expected: FAIL
[bare/cross-origin-bare: dynamic import (from module)]
expected: FAIL
[bare/cross-origin-bare: dynamic import (from text/javascript)]
expected: FAIL
[bare/to-data: static import]
expected: FAIL
[bare/to-data: dynamic import (from module)]
expected: FAIL
[bare/to-data: dynamic import (from text/javascript)]
expected: FAIL

View file

@ -0,0 +1,6 @@
[applied-to-target-dynamic.sub.html]
[The URL after mapping violates CSP (but not the URL before mapping)]
expected: FAIL
[The URL before mapping violates CSP (but not the URL after mapping)]
expected: FAIL

View file

@ -0,0 +1,6 @@
[applied-to-target.sub.html]
[The URL after mapping violates CSP (but not the URL before mapping)]
expected: FAIL
[The URL before mapping violates CSP (but not the URL after mapping)]
expected: FAIL

View file

@ -0,0 +1,3 @@
[hash.html]
[Importmap should be accepted due to hash]
expected: FAIL

View file

@ -0,0 +1,3 @@
[nonce.html]
[Importmap should be accepted according to its correct nonce]
expected: FAIL

View file

@ -0,0 +1,3 @@
[unsafe-inline.html]
[Importmap should be accepted due to unsafe-inline]
expected: FAIL

View file

@ -0,0 +1,517 @@
[resolving.html?packages-via-trailing-slashes.json]
[Package-like scenarios: package main modules: moment]
expected: FAIL
[Package-like scenarios: package main modules: lodash-dot]
expected: FAIL
[Package-like scenarios: package main modules: lodash-dotdot]
expected: FAIL
[Package-like scenarios: package submodules: moment/foo]
expected: FAIL
[Package-like scenarios: package submodules: moment/foo?query]
expected: FAIL
[Package-like scenarios: package submodules: moment/foo#fragment]
expected: FAIL
[Package-like scenarios: package submodules: moment/foo?query#fragment]
expected: FAIL
[Package-like scenarios: package submodules: lodash-dot/foo]
expected: FAIL
[Package-like scenarios: package submodules: lodash-dotdot/foo]
expected: FAIL
[Package-like scenarios: package names that end in a slash should just pass through: moment/]
expected: FAIL
[Package-like scenarios: backtracking via ..: mapped/path]
expected: FAIL
[Package-like scenarios: backtracking via ..: mapped/path/]
expected: FAIL
[Package-like scenarios: backtracking via ..: mapped/path/../207/]
expected: FAIL
[Package-like scenarios: backtracking via ..: mapped/path/WICG/import-maps/issues/207/]
expected: FAIL
[Package-like scenarios: backtracking via ..: mapped/path//WICG/import-maps/issues/207/]
expected: FAIL
[Package-like scenarios: backtracking via ..: mapped/non-ascii-1/]
expected: FAIL
[Package-like scenarios: backtracking via ..: mapped/non-ascii-1/../%E3%81%8D%E3%81%A4%E3%81%AD/]
expected: FAIL
[Package-like scenarios: backtracking via ..: mapped/non-ascii-1/../きつね/]
expected: FAIL
[Package-like scenarios: backtracking via ..: mapped/non-ascii-2/]
expected: FAIL
[Package-like scenarios: backtracking via ..: mapped/non-ascii-2/../%E3%81%8D%E3%81%A4%E3%81%AD/]
expected: FAIL
[Package-like scenarios: backtracking via ..: mapped/non-ascii-2/../きつね/]
expected: FAIL
[resolving.html?resolving-null.json]
[Entries with errors shouldn't allow fallback: No fallback to less-specific prefixes: null/x]
expected: FAIL
[Entries with errors shouldn't allow fallback: No fallback to less-specific prefixes: null/b/c/x]
expected: FAIL
[Entries with errors shouldn't allow fallback: No fallback to less-specific prefixes: invalid-url/x]
expected: FAIL
[Entries with errors shouldn't allow fallback: No fallback to less-specific prefixes: invalid-url/b/c/x]
expected: FAIL
[Entries with errors shouldn't allow fallback: No fallback to less-specific prefixes: without-trailing-slashes/x]
expected: FAIL
[Entries with errors shouldn't allow fallback: No fallback to less-specific prefixes: without-trailing-slashes/b/c/x]
expected: FAIL
[Entries with errors shouldn't allow fallback: No fallback to less-specific prefixes: prefix-resolution-error/x]
expected: FAIL
[Entries with errors shouldn't allow fallback: No fallback to less-specific prefixes: prefix-resolution-error/b/c/x]
expected: FAIL
[resolving.html?url-specifiers.json]
[URL-like specifiers: Ordinary URL-like specifiers: https://example.com/lib/foo.mjs]
expected: FAIL
[URL-like specifiers: Ordinary URL-like specifiers: https://///example.com/lib/foo.mjs]
expected: FAIL
[URL-like specifiers: Ordinary URL-like specifiers: /lib/foo.mjs]
expected: FAIL
[URL-like specifiers: Ordinary URL-like specifiers: https://example.com/app/dotrelative/foo.mjs]
expected: FAIL
[URL-like specifiers: Ordinary URL-like specifiers: ../app/dotrelative/foo.mjs]
expected: FAIL
[URL-like specifiers: Ordinary URL-like specifiers: https://example.com/dotdotrelative/foo.mjs]
expected: FAIL
[URL-like specifiers: Ordinary URL-like specifiers: ../dotdotrelative/foo.mjs]
expected: FAIL
[URL-like specifiers: Import map entries just composed from / and .: https://example.com/]
expected: FAIL
[URL-like specifiers: Import map entries just composed from / and .: /]
expected: FAIL
[URL-like specifiers: Import map entries just composed from / and .: ../]
expected: FAIL
[URL-like specifiers: Import map entries just composed from / and .: https://example.com/app/]
expected: FAIL
[URL-like specifiers: Import map entries just composed from / and .: /app/]
expected: FAIL
[URL-like specifiers: Import map entries just composed from / and .: ../app/]
expected: FAIL
[URL-like specifiers: prefix-matched by keys with trailing slashes: /test/foo.mjs]
expected: FAIL
[URL-like specifiers: prefix-matched by keys with trailing slashes: https://example.com/app/test/foo.mjs]
expected: FAIL
[URL-like specifiers: should use the last entry's address when URL-like specifiers parse to the same absolute URL: /test]
expected: FAIL
[URL-like specifiers: backtracking (relative URLs): /test/..]
expected: FAIL
[URL-like specifiers: backtracking (relative URLs): /test/../backtrack]
expected: FAIL
[URL-like specifiers: backtracking (relative URLs): /test/../../backtrack]
expected: FAIL
[URL-like specifiers: backtracking (relative URLs): /test/../../../backtrack]
expected: FAIL
[URL-like specifiers: backtracking (absolute URLs): https://example.com/test/..]
expected: FAIL
[URL-like specifiers: backtracking (absolute URLs): https://example.com/test/../backtrack]
expected: FAIL
[URL-like specifiers: backtracking (absolute URLs): https://example.com/test/../../backtrack]
expected: FAIL
[URL-like specifiers: backtracking (absolute URLs): https://example.com/test/../../../backtrack]
expected: FAIL
[resolving.html?url-specifiers-schemes.json]
[URL-like specifiers: Non-special vs. special schemes: data:text/javascript,console.log('foo')]
expected: FAIL
[URL-like specifiers: Non-special vs. special schemes: data:text/]
expected: FAIL
[URL-like specifiers: Non-special vs. special schemes: about:text/foo]
expected: FAIL
[URL-like specifiers: Non-special vs. special schemes: about:text/]
expected: FAIL
[URL-like specifiers: Non-special vs. special schemes: blob:text/foo]
expected: FAIL
[URL-like specifiers: Non-special vs. special schemes: blob:text/]
expected: FAIL
[URL-like specifiers: Non-special vs. special schemes: blah:text/foo]
expected: FAIL
[URL-like specifiers: Non-special vs. special schemes: blah:text/]
expected: FAIL
[URL-like specifiers: Non-special vs. special schemes: http:text/foo]
expected: FAIL
[URL-like specifiers: Non-special vs. special schemes: http:text/]
expected: FAIL
[URL-like specifiers: Non-special vs. special schemes: https:text/foo]
expected: FAIL
[URL-like specifiers: Non-special vs. special schemes: https:text/]
expected: FAIL
[URL-like specifiers: Non-special vs. special schemes: ftp:text/foo]
expected: FAIL
[URL-like specifiers: Non-special vs. special schemes: ftp:text/]
expected: FAIL
[URL-like specifiers: Non-special vs. special schemes: file:text/foo]
expected: FAIL
[URL-like specifiers: Non-special vs. special schemes: file:text/]
expected: FAIL
[URL-like specifiers: Non-special vs. special schemes: ws:text/foo]
expected: FAIL
[URL-like specifiers: Non-special vs. special schemes: ws:text/]
expected: FAIL
[URL-like specifiers: Non-special vs. special schemes: wss:text/foo]
expected: FAIL
[URL-like specifiers: Non-special vs. special schemes: wss:text/]
expected: FAIL
[resolving.html?scopes-exact-vs-prefix.json]
[Exact vs. prefix based matching: Scope without trailing slash only: Non-trailing-slash base URL (exact match): moment]
expected: FAIL
[Exact vs. prefix based matching: Scope without trailing slash only: Non-trailing-slash base URL (exact match): moment/foo]
expected: FAIL
[Exact vs. prefix based matching: Scope with trailing slash only: Trailing-slash base URL (exact match): moment]
expected: FAIL
[Exact vs. prefix based matching: Scope with trailing slash only: Trailing-slash base URL (exact match): moment/foo]
expected: FAIL
[Exact vs. prefix based matching: Scope with trailing slash only: Subpath base URL (prefix match): moment]
expected: FAIL
[Exact vs. prefix based matching: Scope with trailing slash only: Subpath base URL (prefix match): moment/foo]
expected: FAIL
[Exact vs. prefix based matching: Scopes with and without trailing slash: Non-trailing-slash base URL (exact match): moment]
expected: FAIL
[Exact vs. prefix based matching: Scopes with and without trailing slash: Non-trailing-slash base URL (exact match): moment/foo]
expected: FAIL
[Exact vs. prefix based matching: Scopes with and without trailing slash: Trailing-slash base URL (exact match): moment]
expected: FAIL
[Exact vs. prefix based matching: Scopes with and without trailing slash: Trailing-slash base URL (exact match): moment/foo]
expected: FAIL
[Exact vs. prefix based matching: Scopes with and without trailing slash: Subpath base URL (prefix match): moment]
expected: FAIL
[Exact vs. prefix based matching: Scopes with and without trailing slash: Subpath base URL (prefix match): moment/foo]
expected: FAIL
[resolving.html?tricky-specifiers.json]
[Tricky specifiers: explicitly-mapped specifiers that happen to have a slash: package/withslash]
expected: FAIL
[Tricky specifiers: specifier with punctuation: .]
expected: FAIL
[Tricky specifiers: specifier with punctuation: ..]
expected: FAIL
[Tricky specifiers: specifier with punctuation: ..\\]
expected: FAIL
[Tricky specifiers: specifier with punctuation: %2E]
expected: FAIL
[Tricky specifiers: specifier with punctuation: %2F]
expected: FAIL
[Tricky specifiers: URL-like specifiers are normalized: https://map.example/%E3%81%8D%E3%81%A4%E3%81%AD/]
expected: FAIL
[Tricky specifiers: URL-like specifiers are normalized: https://map.example/%E3%81%8D%E3%81%A4%E3%81%AD/bar]
expected: FAIL
[Tricky specifiers: URL-like specifiers are normalized: https://map.example/%E3%81%8D%E3%81%A4%E3%81%AD/fox/]
expected: FAIL
[Tricky specifiers: URL-like specifiers are normalized: https://map.example/%E3%81%8D%E3%81%A4%E3%81%AD/fox/bar]
expected: FAIL
[Tricky specifiers: URL-like specifiers are normalized: https://map.example/きつね/]
expected: FAIL
[Tricky specifiers: URL-like specifiers are normalized: https://map.example/きつね/bar]
expected: FAIL
[Tricky specifiers: URL-like specifiers are normalized: https://map.example/きつね/fox/]
expected: FAIL
[Tricky specifiers: URL-like specifiers are normalized: https://map.example/きつね/fox/bar]
expected: FAIL
[Tricky specifiers: Bare specifiers are not normalized: %E3%81%8D%E3%81%A4%E3%81%AD/]
expected: FAIL
[Tricky specifiers: Bare specifiers are not normalized: %E3%81%8D%E3%81%A4%E3%81%AD/bar]
expected: FAIL
[Tricky specifiers: Bare specifiers are not normalized: %E3%81%8D%E3%81%A4%E3%81%AD/fox/]
expected: FAIL
[Tricky specifiers: Bare specifiers are not normalized: %E3%81%8D%E3%81%A4%E3%81%AD/fox/bar]
expected: FAIL
[Tricky specifiers: Bare specifiers are not normalized: きつね/fox/]
expected: FAIL
[Tricky specifiers: Bare specifiers are not normalized: きつね/fox/bar]
expected: FAIL
[resolving.html?scopes.json]
[Fallback to toplevel and between scopes: should fall back to `imports` when no scopes match: a]
expected: FAIL
[Fallback to toplevel and between scopes: should fall back to `imports` when no scopes match: b]
expected: FAIL
[Fallback to toplevel and between scopes: should fall back to `imports` when no scopes match: c]
expected: FAIL
[Fallback to toplevel and between scopes: should fall back to `imports` when no scopes match: d]
expected: FAIL
[Fallback to toplevel and between scopes: should use a direct scope override: a]
expected: FAIL
[Fallback to toplevel and between scopes: should use a direct scope override: b]
expected: FAIL
[Fallback to toplevel and between scopes: should use a direct scope override: c]
expected: FAIL
[Fallback to toplevel and between scopes: should use a direct scope override: d]
expected: FAIL
[Fallback to toplevel and between scopes: should use an indirect scope override: a]
expected: FAIL
[Fallback to toplevel and between scopes: should use an indirect scope override: b]
expected: FAIL
[Fallback to toplevel and between scopes: should use an indirect scope override: c]
expected: FAIL
[Fallback to toplevel and between scopes: should use an indirect scope override: d]
expected: FAIL
[Relative URL scope keys: An empty string scope is a scope with import map base URL: a]
expected: FAIL
[Relative URL scope keys: An empty string scope is a scope with import map base URL: b]
expected: FAIL
[Relative URL scope keys: An empty string scope is a scope with import map base URL: c]
expected: FAIL
[Relative URL scope keys: './' scope is a scope with import map base URL's directory: a]
expected: FAIL
[Relative URL scope keys: './' scope is a scope with import map base URL's directory: b]
expected: FAIL
[Relative URL scope keys: './' scope is a scope with import map base URL's directory: c]
expected: FAIL
[Relative URL scope keys: '../' scope is a scope with import map base URL's parent directory: a]
expected: FAIL
[Relative URL scope keys: '../' scope is a scope with import map base URL's parent directory: b]
expected: FAIL
[Relative URL scope keys: '../' scope is a scope with import map base URL's parent directory: c]
expected: FAIL
[Package-like scenarios: Base URLs inside the scope should use the scope if the scope has matching keys: lodash-dot]
expected: FAIL
[Package-like scenarios: Base URLs inside the scope should use the scope if the scope has matching keys: lodash-dot/foo]
expected: FAIL
[Package-like scenarios: Base URLs inside the scope should use the scope if the scope has matching keys: lodash-dotdot]
expected: FAIL
[Package-like scenarios: Base URLs inside the scope should use the scope if the scope has matching keys: lodash-dotdot/foo]
expected: FAIL
[Package-like scenarios: Base URLs inside the scope fallback to less specific scope: moment]
expected: FAIL
[Package-like scenarios: Base URLs inside the scope fallback to less specific scope: vue]
expected: FAIL
[Package-like scenarios: Base URLs inside the scope fallback to toplevel: moment/foo]
expected: FAIL
[Package-like scenarios: Base URLs outside a scope shouldn't use the scope even if the scope has matching keys: lodash-dot]
expected: FAIL
[Package-like scenarios: Base URLs outside a scope shouldn't use the scope even if the scope has matching keys: lodash-dotdot]
expected: FAIL
[Package-like scenarios: Base URLs outside a scope shouldn't use the scope even if the scope has matching keys: lodash-dot/foo]
expected: FAIL
[Package-like scenarios: Base URLs outside a scope shouldn't use the scope even if the scope has matching keys: lodash-dotdot/foo]
expected: FAIL
[Package-like scenarios: Fallback to toplevel or not, depending on trailing slash match: moment]
expected: FAIL
[Package-like scenarios: Fallback to toplevel or not, depending on trailing slash match: moment/foo]
expected: FAIL
[resolving.html?empty-import-map.json]
[valid relative specifiers: ./foo]
expected: FAIL
[valid relative specifiers: ./foo/bar]
expected: FAIL
[valid relative specifiers: ./foo/../bar]
expected: FAIL
[valid relative specifiers: ./foo/../../bar]
expected: FAIL
[valid relative specifiers: ../foo]
expected: FAIL
[valid relative specifiers: ../foo/bar]
expected: FAIL
[valid relative specifiers: ../../../foo/bar]
expected: FAIL
[valid relative specifiers: /foo]
expected: FAIL
[valid relative specifiers: /foo/bar]
expected: FAIL
[valid relative specifiers: /../../foo/bar]
expected: FAIL
[valid relative specifiers: /../foo/../bar]
expected: FAIL
[HTTPS scheme absolute URLs: https://fetch-scheme.net]
expected: FAIL
[HTTPS scheme absolute URLs: https:fetch-scheme.org]
expected: FAIL
[HTTPS scheme absolute URLs: https://fetch%2Dscheme.com/]
expected: FAIL
[HTTPS scheme absolute URLs: https://///fetch-scheme.com///]
expected: FAIL
[non-HTTPS fetch scheme absolute URLs: about:fetch-scheme]
expected: FAIL
[non-fetch scheme absolute URLs: about:fetch-scheme]
expected: FAIL
[non-fetch scheme absolute URLs: mailto:non-fetch-scheme]
expected: FAIL
[non-fetch scheme absolute URLs: import:non-fetch-scheme]
expected: FAIL
[non-fetch scheme absolute URLs: javascript:non-fetch-scheme]
expected: FAIL
[non-fetch scheme absolute URLs: wss:non-fetch-scheme]
expected: FAIL
[resolving.html?overlapping-entries.json]
[should favor the most-specific key: Overlapping entries with trailing slashes: a]
expected: FAIL
[should favor the most-specific key: Overlapping entries with trailing slashes: a/]
expected: FAIL
[should favor the most-specific key: Overlapping entries with trailing slashes: a/x]
expected: FAIL
[should favor the most-specific key: Overlapping entries with trailing slashes: a/b]
expected: FAIL
[should favor the most-specific key: Overlapping entries with trailing slashes: a/b/]
expected: FAIL
[should favor the most-specific key: Overlapping entries with trailing slashes: a/b/c]
expected: FAIL
[resolving.html?data-url-prefix.json]

View file

@ -0,0 +1,36 @@
[data-url-specifiers.sub.html]
[data:text/javascript,log.push('data:foo'): static import]
expected: FAIL
[data:text/javascript,log.push('data:foo'): dynamic import (from module)]
expected: FAIL
[data:text/javascript,log.push('data:foo'): dynamic import (from text/javascript)]
expected: FAIL
[data:text/javascript,log.push('data:cross-origin-foo'): static import]
expected: FAIL
[data:text/javascript,log.push('data:cross-origin-foo'): dynamic import (from module)]
expected: FAIL
[data:text/javascript,log.push('data:cross-origin-foo'): dynamic import (from text/javascript)]
expected: FAIL
[data:text/javascript,log.push('data:to-data'): static import]
expected: FAIL
[data:text/javascript,log.push('data:to-data'): dynamic import (from module)]
expected: FAIL
[data:text/javascript,log.push('data:to-data'): dynamic import (from text/javascript)]
expected: FAIL
[data:text/javascript,log.push('data:to-bare'): static import]
expected: FAIL
[data:text/javascript,log.push('data:to-bare'): dynamic import (from module)]
expected: FAIL
[data:text/javascript,log.push('data:to-bare'): dynamic import (from text/javascript)]
expected: FAIL

View file

@ -0,0 +1,15 @@
[dynamic-integrity.html]
[script was not loaded, as its resolved URL failed its integrity check]
expected: FAIL
[script was loaded, as its resolved URL had no integrity check, despite its specifier having one]
expected: FAIL
[Script with no import definition was not loaded, as it failed its integrity check]
expected: FAIL
[Bare specifier used for integrity loaded, as its definition should have used the URL]
expected: FAIL
[Script imported inside an event handler was not loaded as its integrity check failed]
expected: FAIL

View file

@ -0,0 +1,10 @@
[external-import-map-errors.html]
expected: TIMEOUT
[Test that an external import map fires an error event]
expected: TIMEOUT
[Test that an external import map fires an error event, regardless of attribute order]
expected: NOTRUN
[Test that an external import map in markup fires an error event]
expected: NOTRUN

View file

@ -0,0 +1,36 @@
[http-url-like-specifiers.sub.html]
[http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=foo: static import]
expected: FAIL
[http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=foo: dynamic import (from module)]
expected: FAIL
[http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=foo: dynamic import (from text/javascript)]
expected: FAIL
[http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=cross-origin-foo: static import]
expected: FAIL
[http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=cross-origin-foo: dynamic import (from module)]
expected: FAIL
[http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=cross-origin-foo: dynamic import (from text/javascript)]
expected: FAIL
[http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=to-data: static import]
expected: FAIL
[http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=to-data: dynamic import (from module)]
expected: FAIL
[http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=to-data: dynamic import (from text/javascript)]
expected: FAIL
[http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=to-bare: static import]
expected: FAIL
[http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=to-bare: dynamic import (from module)]
expected: FAIL
[http://web-platform.test:8000/import-maps/resources/log.js?pipe=sub&name=to-bare: dynamic import (from text/javascript)]
expected: FAIL

View file

@ -0,0 +1,18 @@
[import-maps-base-url.sub.html]
[bare/bare: static import]
expected: FAIL
[bare/bare: dynamic import (from module)]
expected: FAIL
[bare/bare: dynamic import (from text/javascript)]
expected: FAIL
[bare/bare: static import with inject <base>]
expected: FAIL
[bare/bare: dynamic import (from module) with inject <base>]
expected: FAIL
[bare/bare: dynamic import (from text/javascript) with inject <base>]
expected: FAIL

View file

@ -0,0 +1,3 @@
[module-map-key.html]
[Module map's key is the URL after import map resolution]
expected: FAIL

View file

@ -0,0 +1,3 @@
[basic.html]
[Second import map should be used for resolution]
expected: FAIL

View file

@ -0,0 +1,9 @@
[conflict-first-persists.html]
[First defined rule persists in case of conflict]
expected: FAIL
[First defined rule persists in case of conflict - prefixed bare specifiers]
expected: FAIL
[First defined rule persists in case of conflict - non-prefix bare specifier]
expected: FAIL

View file

@ -0,0 +1,3 @@
[resolution-consistency-in-module-tree-inline.html]
[Module tree that started to download before a new import map should still take it into account]
expected: FAIL

View file

@ -0,0 +1,3 @@
[resolution-consistency-in-module-tree.html]
[Module tree that started to download before a new import map should still take it into account]
expected: FAIL

View file

@ -0,0 +1,3 @@
[url-resolution-conflict.html]
[Second import map should not override same resolved URL]
expected: FAIL

View file

@ -0,0 +1,3 @@
[with-errors.html]
[Second import map should be used for resolution even after an import map with errors]
expected: FAIL

View file

@ -0,0 +1,3 @@
[no-referencing-script-integrity.html]
[Script was not loaded as its integrity check failed]
expected: FAIL

View file

@ -0,0 +1,22 @@
[nonimport-integrity.html]
expected: TIMEOUT
[Script was not loaded as its integrity check was not ignored]
expected: FAIL
[Modulepreload was not loaded as its integrity check was not ignored]
expected: TIMEOUT
[Modulepreload was loaded as its correct integrity attribute was not ignored]
expected: NOTRUN
[Modulepreload was loaded as its empty integrity attribute was not ignored]
expected: NOTRUN
[Modulepreload was not loaded as its bad integrity attribute was not ignored]
expected: NOTRUN
[Classic script was loaded as its integrity check was ignored]
expected: NOTRUN
[Image was loaded as its integrity check was ignored]
expected: NOTRUN

View file

@ -0,0 +1,3 @@
[dynamic.html]
[Resolution after import map should not be redefined]
expected: FAIL

View file

@ -0,0 +1,2 @@
[external-script-bare-descendent.html]
expected: ERROR

View file

@ -0,0 +1,4 @@
[external-script-descendent-with-scope.html]
expected: ERROR
[Testing descendent resolution with scopes]
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[external-script-descendent.html]
[Resolution after import map should not be redefined]
expected: FAIL

View file

@ -0,0 +1,2 @@
[failed-resolution.html]
expected: ERROR

View file

@ -0,0 +1,3 @@
[integrity.html]
[Static script loaded as its integrity check passed]
expected: FAIL

View file

@ -0,0 +1,3 @@
[prefix.html]
[Prefix resolution after import map should not be redefined]
expected: FAIL

View file

@ -0,0 +1,3 @@
[script-descendent.html]
[Resolution after import map should not be redefined]
expected: FAIL

View file

@ -0,0 +1,12 @@
[static-integrity.html]
[Static script did not load as it failed its integrity check]
expected: FAIL
[Static script loaded as its integrity check passed]
expected: FAIL
[Static script did not load as it failed its integrity check, even without an import defined]
expected: FAIL
[HTML-based module script did not load as its integrity check failed.]
expected: FAIL