Files
servo/components/script/script_module.rs
Gae24 4f1f128307 script: ensure resolve_module_specifier picks the most specific scope (#42630)
According to
[specification](https://html.spec.whatwg.org/multipage/#the-resolution-algorithm)
when resolving a module specifier we should prioritize more specific
scopes, we achieve it by sorting the scopes in descending order.

Testing: A test is now passing
Part of #37553

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
2026-02-15 09:42:44 +00:00

81 KiB