diff --git a/ext/url/00_url.js b/ext/url/00_url.js index 3d81e5b9d9..4e6c7ac47f 100644 --- a/ext/url/00_url.js +++ b/ext/url/00_url.js @@ -20,6 +20,7 @@ ObjectKeys, SafeArrayIterator, StringPrototypeSlice, + StringPrototypeSplit, Symbol, SymbolFor, SymbolIterator, @@ -61,7 +62,7 @@ 8: protocol, 9: search, 10: username, - } = internalParts.split("\n"); + } = StringPrototypeSplit(internalParts, "\n"); return { href, hash,