- From: Timothy Gu <notifications@github.com>
- Date: Mon, 31 May 2021 12:37:16 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 31 May 2021 19:37:41 UTC
Consider the following test: ```js u = new URL("https://github.com/whatwg/url/issues/new"); u.protocol = "ht\ntp"; u.href ``` On Chrome, Firefox, and Safari, `u.href` retains the original `https` protocol. This behavior as it relates to the Location object is in fact tested by WPT(!): search for `\x0A` in [html/browsers/history/the-location-interface/location-protocol-setter.html](https://github.com/web-platform-tests/wpt/blob/master/html/browsers/history/the-location-interface/location-protocol-setter.html#L48). -- 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/609
Received on Monday, 31 May 2021 19:37:41 UTC