LayoutTests:
authorkmccullo <kmccullo@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 May 2007 22:59:47 +0000 (22:59 +0000)
committerkmccullo <kmccullo@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 25 May 2007 22:59:47 +0000 (22:59 +0000)
commitcd0dee33e5c97385fea52eabbf32186fc57ed9e0
tree77337bcde8637e836145244f9621c2a7ef9ab84a
parent8a957af0e99fd3b0befc4eb0b9d4c4c0d1996aa0
LayoutTests:

        Reviewed by Geoff.

        - rdar://problem/5183523
        - Change load to check the URL as well as the referrer since it is possilbe to have a referrer which limits a load even thought the URL would allow it. There is a bug about how we need to re-evaluate the whole load architecture: <rdar://problem/5227992> Rethink canLoad() to have a consistent and comprehensive architecture.
        - These tests do not dumpAsText since DRT doesn't seem to be able to handle text in frames.  If it is in the future then these tests already have sufficient text to change to that output and give correct results.

        * fast/dom/frame-loading-via-document-write-expected.txt: Added.
        * fast/dom/frame-loading-via-document-write.html: Added.
        * fast/dom/resources/abe.png: Added.
        * http/tests/security/frame-loading-via-document-write-expected.txt: Added.
        * http/tests/security/frame-loading-via-document-write.html: Added.
        * http/tests/security/resources/abe.png: Added.

WebCore:

        Reviewed by Geoff.

        - rdar://problem/5183523
        - Change load to check the URL as well as the referrer since it is possilbe to have a referrer which limits a load even thought the URL would allow it.  There is a bug about how we need to re-evaluate the whole load architecture: <rdar://problem/5227992> Rethink canLoad() to have a consistent and comprehensive architecture.

        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::loadSubframe):
        (WebCore::FrameLoader::load):
        (WebCore::FrameLoader::canLoad):
        * loader/FrameLoader.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@21784 268f45cc-cd09-0410-ab3c-d52691b4dbfc
14 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/dom/frame-loading-via-document-write-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/frame-loading-via-document-write.html [new file with mode: 0644]
LayoutTests/fast/dom/resources/abe.png [new file with mode: 0644]
LayoutTests/fast/dom/resources/frame-loading-via-document-write.js [new file with mode: 0644]
LayoutTests/fast/dom/resources/success.html [new file with mode: 0644]
LayoutTests/http/tests/security/frame-loading-via-document-write-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/security/frame-loading-via-document-write.html [new file with mode: 0644]
LayoutTests/http/tests/security/resources/abe.png [new file with mode: 0644]
LayoutTests/http/tests/security/resources/frame-loading-via-document-write.js [new file with mode: 0644]
LayoutTests/http/tests/security/resources/success.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/loader/FrameLoader.cpp
WebCore/loader/FrameLoader.h