2011-02-11 Eric Seidel <eric@webkit.org>
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Feb 2011 23:47:06 +0000 (23:47 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 11 Feb 2011 23:47:06 +0000 (23:47 +0000)
commit98ab5865323bd38e25a96684567ad5b51db06359
treeb7bd1600ea248facc05e95cc28ab5076653830e4
parent907a0cff602794a401f57ce379869a31cc01a932
2011-02-11  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        KURL should remove default port numbers when cannonicalizing urls (to match every other browser)
        https://bugs.webkit.org/show_bug.cgi?id=54090

        Added a new test to show that we are intentionally removing
        a colon after a host name.  http://foo.com:/ -> http://foo.com/

        * fast/url/port-expected.txt:
        * fast/url/relative-unix-expected.txt:
        * fast/url/segments-expected.txt:
        * fast/url/segments-from-data-url-expected.txt:
        * fast/url/standard-url-expected.txt:
2011-02-11  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        KURL should remove default port numbers when cannonicalizing urls (to match every other browser)
        https://bugs.webkit.org/show_bug.cgi?id=54090

        * platform/KURL.cpp:
        (WebCore::isDefaultPortForScheme):
        (WebCore::KURL::parse):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78383 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/url/port-expected.txt
LayoutTests/fast/url/relative-unix-expected.txt
LayoutTests/fast/url/relative-win-expected.txt
LayoutTests/fast/url/script-tests/port.js
LayoutTests/fast/url/segments-expected.txt
LayoutTests/fast/url/segments-from-data-url-expected.txt
LayoutTests/fast/url/standard-url-expected.txt
LayoutTests/platform/mac/http/tests/inspector/console-websocket-error-expected.txt
LayoutTests/platform/mac/security/block-test-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/platform/KURL.cpp