- From: achristensen07 <notifications@github.com>
- Date: Mon, 19 Jul 2021 11:10:09 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 19 July 2021 18:10:21 UTC
This has to do with idempotence and the parsing differences between parsing special and non-special schemes. Consider this example:
```
x = new URL("asdf://host")
x.pathname // "" in Safari and the spec, "//host" in Chrome and Firefox
x.protocol = "https"
x.pathname // "/"
```
Changing the protocol has changed the pathname value. This is undesirable.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/623#issuecomment-882753585
Received on Monday, 19 July 2021 18:10:21 UTC