- From: Marc Hébrard <notifications@github.com>
- Date: Tue, 16 Feb 2016 02:51:45 -0800
- To: whatwg/url <url@noreply.github.com>
Received on Tuesday, 16 February 2016 10:52:15 UTC
Following discussion here : https://code.google.com/p/chromium/issues/detail?id=551901 Note that clarification has been made here https://github.com/whatwg/url/issues/75. Bug as been filled https://bugs.webkit.org/show_bug.cgi?id=151613 to change Safari "correct intuitive" behavior. Host setter is barely usable today as it is not much different from hostname. Host is a composite value o hostname+port, setter on this composite attribute should call setters on underlying URL parts. The host setter should reset to the scheme default port. current spec (and current FF/Chrome impl.): var a = new URL("http://www.google.com:8888") var b = new URL("http://www.wikipedia.org") a.host = b.host "www.wikipedia.org" a.host == b.host false Modifying the spec would lead to return true here. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/issues/93
Received on Tuesday, 16 February 2016 10:52:15 UTC