The absolute base identifier providing the scheme and authority context
The reference to internalize
A root-relative reference if same origin, 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
RangeError If the resolved path contains tree-climbing segments that would go above the root
Extracts a root-relative reference.
/) if scheme and authority match