Re: [whatwg/url] Parsing with state override set to opaque path can make URLs not roundtrip (Issue #909)

Scripter17 left a comment (whatwg/url#909)

I am curious, actually, why there seems to be no "proper" way to set the path of a cannot-be-base URL? The pathname setter explicitly does nothing in that case.

As far as I know, nothing else in any URL is frozen like that. Except I guess not being able to change the specialness of a scheme but that's kinda a separate beast.

While it makes sense that not all state overrides are valid, maybe this one should be?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/909#issuecomment-4483314359
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/url/issues/909/4483314359@github.com>

Received on Tuesday, 19 May 2026 00:10:46 UTC