Function resolve_imports_match

Source
pub(crate) fn resolve_imports_match(
    normalized_specifier: &str,
    as_url: Option<&ServoUrl>,
    specifier_map: &IndexMap<String, Option<ServoUrl>>,
    _can_gc: CanGc,
) -> Fallible<Option<ServoUrl>>
Expand description

https://html.spec.whatwg.org/multipage/#resolving-an-imports-match

When the error is thrown, it will terminate the entire resolve a module specifier algorithm without any further fallbacks.