Extracts a root-relative reference.
/
The identifier type (URI or IRI)
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 the resolved path contains tree-climbing segments that would go above the root
Extracts a root-relative reference.
/) if scheme and authority match