2007-07-04 Matt Perry <mpComplete@gmail.com>
authorbdash <bdash@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Jul 2007 06:08:56 +0000 (06:08 +0000)
committerbdash <bdash@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Jul 2007 06:08:56 +0000 (06:08 +0000)
commit9c2ea370b96728a413dddb3b050f6396182a7064
treeaf19d5083d48026d7c91d7e264fba296e4250d55
parent71fc7c2376a796ad8a4a34bff89a9b2ca38e896a
2007-07-04  Matt Perry  <mpComplete@gmail.com>

        Fix for http://bugs.webkit.org/show_bug.cgi?id=13400
        Bug 13400: REGRESSION (r20809-20814): No back entry created for navigations created by assigning to document.location
        <rdar://problem/5153025>

        Treat userGesture as always true for setLocation, forcing a back/forward
        entry to be created.

        * bindings/js/JSHTMLDocumentCustom.cpp:
        (WebCore::JSHTMLDocument::setLocation):

2007-07-04  Matt Perry  <mpComplete@gmail.com>

        Test for http://bugs.webkit.org/show_bug.cgi?id=13400
        Bug 13400: REGRESSION (r20809-20814): No back entry created for navigations created by assigning to document.location
        <rdar://problem/5153025>

        Test that assigning to document.location in various ways adds an
        item to the back/forward list.

        * http/tests/navigation/document-location-click-expected.txt: Added.
        * http/tests/navigation/document-location-click-timeout-expected.txt: Added.
        * http/tests/navigation/document-location-click-timeout.html: Added.
        * http/tests/navigation/document-location-click.html: Added.
        * http/tests/navigation/document-location-mouseover-expected.txt: Added.
        * http/tests/navigation/document-location-mouseover.html: Added.
        * http/tests/navigation/document-location-onload-expected.txt: Added.
        * http/tests/navigation/document-location-onload.html: Added.
        * http/tests/navigation/resources/document-location.js: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24004 268f45cc-cd09-0410-ab3c-d52691b4dbfc
12 files changed:
LayoutTests/ChangeLog
LayoutTests/http/tests/navigation/document-location-click-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/navigation/document-location-click-timeout-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/navigation/document-location-click-timeout.html [new file with mode: 0644]
LayoutTests/http/tests/navigation/document-location-click.html [new file with mode: 0644]
LayoutTests/http/tests/navigation/document-location-mouseover-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/navigation/document-location-mouseover.html [new file with mode: 0644]
LayoutTests/http/tests/navigation/document-location-onload-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/navigation/document-location-onload.html [new file with mode: 0644]
LayoutTests/http/tests/navigation/resources/document-location.js [new file with mode: 0644]
WebCore/ChangeLog
WebCore/bindings/js/JSHTMLDocumentCustom.cpp