diff --git a/Userland/Libraries/LibWeb/HTML/Scripting/ImportMap.cpp b/Userland/Libraries/LibWeb/HTML/Scripting/ImportMap.cpp index f5334f484bb..34d0fd5f4dd 100644 --- a/Userland/Libraries/LibWeb/HTML/Scripting/ImportMap.cpp +++ b/Userland/Libraries/LibWeb/HTML/Scripting/ImportMap.cpp @@ -71,6 +71,7 @@ WebIDL::ExceptionOr 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; }