WebCore:
authordglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Jan 2009 21:16:25 +0000 (21:16 +0000)
committerdglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Jan 2009 21:16:25 +0000 (21:16 +0000)
commit9e43b8d7fb897cebf3c5f26a9c7c23ae59a6134f
treede6ee93b4266a4355a515cca2ff3f4ea8f2f2f31
parentd19615d7324580cad24a7400f34f714bd009b2ee
WebCore:

2009-01-22  Eric Roman  <eroman@chromium.org>

        Reviewed by Eric Seidel.

        https://bugs.webkit.org/show_bug.cgi?id=20806
        Send referrer for history navigations.

        Test: http/tests/navigation/back-send-referrer.html

        Consolidates HistoryItem::rssFeedReferrer and HistoryItem::formReferrer into a single HistoryItem::referrer property.

        * history/HistoryItem.cpp:
        (WebCore::HistoryItem::HistoryItem):
        (WebCore::HistoryItem::referrer):
        (WebCore::HistoryItem::setReferrer):
        (WebCore::HistoryItem::formReferrer):
        (WebCore::HistoryItem::rssFeedReferrer):
        (WebCore::HistoryItem::setRSSFeedReferrer):
        (WebCore::HistoryItem::setFormInfoFromRequest):
        * history/HistoryItem.h:
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::loadItem):

WebKit/win:

2009-01-22  Eric Roman  <eroman@chromium.org>

        Reviewed by Eric Seidel.

        https://bugs.webkit.org/show_bug.cgi?id=20806
        Deprecate RSSFeedReferrer() and setRSSFeedReferrer().

        * WebHistoryItem.cpp:
        (WebHistoryItem::RSSFeedReferrer):
        (WebHistoryItem::setRSSFeedReferrer):

WebKit/mac:

2009-01-22  Eric Roman  <eroman@chromium.og>

        Reviewed by Eric Seidel.

        https://bugs.webkit.org/show_bug.cgi?id=20806
        Deprecate RSSFeedReferrer() and setRSSFeedReferrer().

        * History/WebHistoryItem.mm:
        (-[WebHistoryItem RSSFeedReferrer]):
        (-[WebHistoryItem setRSSFeedReferrer:]):

LayoutTests:

2009-01-22  Eric Roman  <eroman@chromium.org>

        Reviewed by Eric Seidel.

        https://bugs.webkit.org/show_bug.cgi?id=20806
        "Referer" header not sent for history navigation.

        * http/tests/navigation/back-send-referrer-expected.txt: Added.
        * http/tests/navigation/back-send-referrer.html: Added.
        * http/tests/navigation/resources/back-send-referrer-helper.php: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@40132 268f45cc-cd09-0410-ab3c-d52691b4dbfc
14 files changed:
LayoutTests/ChangeLog
LayoutTests/http/tests/navigation/back-send-referrer-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/navigation/back-send-referrer.html [new file with mode: 0644]
LayoutTests/http/tests/navigation/resources/back-send-referrer-helper.php [new file with mode: 0644]
WebCore/ChangeLog
WebCore/WebCore.base.exp
WebCore/WebCore.order
WebCore/history/HistoryItem.cpp
WebCore/history/HistoryItem.h
WebCore/loader/FrameLoader.cpp
WebKit/mac/ChangeLog
WebKit/mac/History/WebHistoryItem.mm
WebKit/win/ChangeLog
WebKit/win/WebHistoryItem.cpp