[Webkit-unassigned] [Bug 151613] New: Changing URL.host should not override port

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 25 18:14:25 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=151613

            Bug ID: 151613
           Summary: Changing URL.host should not override port
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kinuko at chromium.org

Repro step:
1. In JS console, type 
var u = new URL("http://host.tld:8888/path")
u.host
2.observe that result is "host.tld:8888"
3.type
u.host = "newhost.tld"
u.host
4. observe that result is "newhost.tld"

Per the specification the port is not changed, therefore the result should be "newest.tld:8888", which is what FF and Chrome do.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151126/9783615b/attachment.html>


More information about the webkit-unassigned mailing list