mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-15 14:51:52 +00:00
LibWeb: Set import map scopes when parsing
This commit is contained in:
parent
8b7ad09a07
commit
76eb7568c9
Notes:
sideshowbarker
2024-07-18 00:41:35 +09:00
Author: https://github.com/jamierocks
Commit: 76eb7568c9
Pull-request: https://github.com/SerenityOS/serenity/pull/24509
Reviewed-by: https://github.com/kennethmyhra ✅
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ WebIDL::ExceptionOr<ImportMap> parse_import_map_string(JS::Realm& realm, ByteStr
|
|||
// 8. Return an import map whose imports are sortedAndNormalizedImports and whose scopes are sortedAndNormalizedScopes.
|
||||
ImportMap import_map;
|
||||
import_map.set_imports(sorted_and_normalised_imports);
|
||||
import_map.set_scopes(sorted_and_normalised_scopes);
|
||||
return import_map;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue