• jschuh@chromium.org's avatar
    2011-05-01 Justin Schuh <jschuh@chromium.org> · da7d7210
    jschuh@chromium.org authored
            Reviewed by Adam Barth.
    
            History::stateObjectAdded should check origin via SecurityOrigin::canRequest
            https://bugs.webkit.org/show_bug.cgi?id=59840
    
            * fast/loader/stateobjects/pushstate-in-data-url-denied-expected.txt: Added.
            * fast/loader/stateobjects/pushstate-in-data-url-denied.html: Added.
            * fast/loader/stateobjects/replacestate-base-illegal-expected.txt: Removed.
            * fast/loader/stateobjects/replacestate-base-illegal.html: Removed.
            * fast/loader/stateobjects/replacestate-base-legal-expected.txt: Removed.
            * fast/loader/stateobjects/replacestate-base-legal.html: Removed.
            * fast/loader/stateobjects/resources/replacestate-base-pass.html: Removed.
            * http/tests/navigation/replacestate-base-illegal-expected.txt: Copied from LayoutTests/fast/loader/stateobjects/replacestate-base-illegal-expected.txt.
            * http/tests/navigation/replacestate-base-illegal.html: Copied from LayoutTests/fast/loader/stateobjects/replacestate-base-illegal.html.
            * http/tests/navigation/replacestate-base-legal-expected.txt: Copied from LayoutTests/fast/loader/stateobjects/replacestate-base-legal-expected.txt.
            * http/tests/navigation/replacestate-base-legal.html: Copied from LayoutTests/fast/loader/stateobjects/replacestate-base-legal.html.
            * http/tests/navigation/resources/replacestate-base-pass.html: Copied from LayoutTests/fast/loader/stateobjects/resources/replacestate-base-pass.html.
    2011-05-01  Justin Schuh  <jschuh@chromium.org>
    
            Reviewed by Adam Barth.
    
            History::stateObjectAdded should check origin via SecurityOrigin::canRequest
            https://bugs.webkit.org/show_bug.cgi?id=59840
    
            Tests: fast/loader/stateobjects/pushstate-in-data-url-denied.html
                   http/tests/navigation/replacestate-base-illegal.html
                   http/tests/navigation/replacestate-base-legal.html
    
            * page/History.cpp:
            (WebCore::History::stateObjectAdded):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85436 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    da7d7210
History.cpp 3.93 KB