Files
sousa-gecko/testing/web-platform/tests/import-maps/data-driven/resolving.html
T
Yoav Weiss 4637467005 Bug 2002190 [wpt PR 56251] - Fix sorting issue with import map scopes, a=testonly
Automatic update from web-platform-tests
Fix sorting issue with import map scopes

This CL fixes the iteration order of `ImportMap::scopes_map_`,
which should use `scopes_vector_` (sorted by keys as specified).

Change-Id: I6b177b01dfa9f4ad66ff7432f3380a0eb87497eb
Bug: 433490539, 406357273, 453147451
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7117300
Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org>
Commit-Queue: Yoav Weiss (@Shopify) <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1549571}

--

wpt-commits: 7f8d6b3544da6ce717dc0eb4e63754e5fbc1a3f0
wpt-pr: 56251
2025-11-26 22:02:01 +00:00

25 lines
1.0 KiB
HTML

<!DOCTYPE html>
<meta name="variant" content="?data-url-prefix.json">
<meta name="variant" content="?empty-import-map.json">
<meta name="variant" content="?overlapping-entries.json">
<meta name="variant" content="?packages-via-trailing-slashes.json">
<meta name="variant" content="?resolving-null.json">
<meta name="variant" content="?empty-scopes.json">
<meta name="variant" content="?scopes-exact-vs-prefix.json">
<meta name="variant" content="?scopes.json">
<meta name="variant" content="?tricky-specifiers.json">
<meta name="variant" content="?url-specifiers-schemes.json">
<meta name="variant" content="?url-specifiers.json">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<body>
<script type="module">
import { runTestsFromJSON } from "./resources/test-helper.js";
const filename = location.search.substring(1);
promise_test(
() => runTestsFromJSON('resources/' + filename),
"Test helper: fetching and sanity checking test JSON: " + filename);
</script>