2011-02-09 Eric Seidel <eric@webkit.org>
authoreric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Feb 2011 11:53:26 +0000 (11:53 +0000)
committereric@webkit.org <eric@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Feb 2011 11:53:26 +0000 (11:53 +0000)
commit76720b50762c5b2a4166d7665bfa26ecb1f76b74
tree4c0b7ff7ba8415f17ef768259563ba3c17d64725
parentbf6b50a3ac992cd374fbfbab84238ccb693b76ee
2011-02-09  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Make WebKit's fragment cannonicalization match other browsers
        https://bugs.webkit.org/show_bug.cgi?id=53850

        * fast/dom/HTMLAnchorElement/set-href-attribute-hash.html: Updated to match IE/Chrome
        * fast/dom/HTMLAnchorElement/set-href-attribute-hash-expected.txt: Updated to match IE/Chrome.
        * fast/url/anchor-expected.txt:
         - "hello world": Our new behavior here matches IE and Chrome, but diverges from FF.
         - The last two tests involving #, we were the odd man out. Now match all browsers.
        * fast/url/segments-expected.txt:
         - Don't percent encode spaces in fragments (to match other browsers)
         - WebKit was the only engine encoding # in fragments.
        * fast/url/segments-from-data-url-expected.txt:
2011-02-09  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Make WebKit's fragment cannonicalization match other browsers
        https://bugs.webkit.org/show_bug.cgi?id=53850

        This doesn't make us match perfectly, but it brings us closer.

        * platform/KURL.cpp:
        (WebCore::appendEscapingBadChars):
        (WebCore::escapeAndAppendFragment):
        (WebCore::KURL::parse):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@78040 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-hash.js
LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hash-expected.txt
LayoutTests/fast/dom/anchor-getParameter-expected.txt
LayoutTests/fast/url/anchor-expected.txt
LayoutTests/fast/url/script-tests/anchor.js
LayoutTests/fast/url/segments-expected.txt
LayoutTests/fast/url/segments-from-data-url-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/platform/KURL.cpp