Reviewed by Darin.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 11 Feb 2006 10:48:56 +0000 (10:48 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 11 Feb 2006 10:48:56 +0000 (10:48 +0000)
commit0fb4e81b7ede53401bc3c6e24a31cc7d761fa62b
tree90109fbcbda32433c54f2198b1513ef59e1494ac
parent075400040f342908ed47f81b2ed5c2c52167aba2
    Reviewed by Darin.

       - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3400
         setting the .src of an iframe to the same value does not reload page

        Test cases:
        * fast/frames/frame-set-same-location.html
        * fast/frames/frame-set-same-src.html
        * fast/frames/iframe-set-same-location.html
        * fast/frames/iframe-set-same-src.html

        * khtml/html/html_baseimpl.cpp:
        (WebCore::HTMLFrameElementImpl::setLocation):
        Remove the check for the new URL being different from the current one.
        Moved updateForNewURL() code into setLocation().
        * khtml/html/html_baseimpl.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
16 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/frames/frame-set-same-location-expected.checksum [new file with mode: 0644]
LayoutTests/fast/frames/frame-set-same-location-expected.png [new file with mode: 0644]
LayoutTests/fast/frames/frame-set-same-location-expected.txt [new file with mode: 0644]
LayoutTests/fast/frames/frame-set-same-location.html [new file with mode: 0644]
LayoutTests/fast/frames/frame-set-same-src-expected.checksum [new file with mode: 0644]
LayoutTests/fast/frames/frame-set-same-src-expected.png [new file with mode: 0644]
LayoutTests/fast/frames/frame-set-same-src-expected.txt [new file with mode: 0644]
LayoutTests/fast/frames/frame-set-same-src.html [new file with mode: 0644]
LayoutTests/fast/frames/iframe-set-same-location-expected.txt [new file with mode: 0644]
LayoutTests/fast/frames/iframe-set-same-location.html [new file with mode: 0644]
LayoutTests/fast/frames/iframe-set-same-src-expected.txt [new file with mode: 0644]
LayoutTests/fast/frames/iframe-set-same-src.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/khtml/html/html_baseimpl.cpp
WebCore/khtml/html/html_baseimpl.h