The absolute base identifier providing the scheme and authority context
The reference to internalize
A root-relative reference if reference shares scheme and authority with base, or the normalized
absolute reference otherwise
RangeError If base is not a valid absolute identifier or reference is not a valid
relative reference, for instance because it carries an isolated UTF-16 surrogate or opens with //
Extracts a root-relative reference.
/) if scheme and authority matchA root-relative path opening with an empty segment is returned with a
/.guard (/.//a), so that it cannot read as a network-path reference naming an authority and still resolves back toreferenceagainstbase.