This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The string /string/ doesn't contain an EOF code point (unless the caller is supposed to append one?), so the algorithm never terminates.
Clarified it as being a conceptual thing: https://github.com/whatwg/url/commit/27c7c1ab47a34adf2c2fadddd7786dffa8ab0797