mirror of
https://github.com/servo/servo.git
synced 2025-08-18 03:45:33 +01:00
script: complete resolve_module_specifier
(#37552)
Implement whole spec of `resolve_module_specifier`. Servo can now support script element with import map type! Testing: `tests/wpt/tests/import-map` Fixes: #37316 #36394 --------- Signed-off-by: Wu Yu Wei <yuweiwu@pm.me>
This commit is contained in:
parent
d7269c0f3b
commit
927573de97
35 changed files with 376 additions and 281 deletions
2
tests/wpt/meta/import-maps/multiple-import-maps/already-resolved-dropped.html.ini
vendored
Normal file
2
tests/wpt/meta/import-maps/multiple-import-maps/already-resolved-dropped.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[already-resolved-dropped.html]
|
||||
expected: CRASH
|
|
@ -1,3 +0,0 @@
|
|||
[basic.html]
|
||||
[Second import map should be used for resolution]
|
||||
expected: FAIL
|
|
@ -1,9 +0,0 @@
|
|||
[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
|
|
@ -1,3 +0,0 @@
|
|||
[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
|
|
@ -1,3 +0,0 @@
|
|||
[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
|
|
@ -1,3 +0,0 @@
|
|||
[url-resolution-conflict.html]
|
||||
[Second import map should not override same resolved URL]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[with-errors.html]
|
||||
[Second import map should be used for resolution even after an import map with errors]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue