WebKitTools:
authorkmccullough@apple.com <kmccullough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Dec 2007 19:07:39 +0000 (19:07 +0000)
committerkmccullough@apple.com <kmccullough@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Dec 2007 19:07:39 +0000 (19:07 +0000)
commit9f5e46469c20cbab2d3fce67da3eadce052b304e
tree64077fc147a57cd79482df3eaf7d57b0af6fd16c
parent92d63ab38b81b67f25905fce14f189c169d12f70
WebKitTools:

        Reviewed by Alice and Sam.

        - <rdar://5621435> Need a way to specify local resources (being loaded
        from HTTP tests) on Windows.
        - Implemented pathToLocalResource which exposes the functionality of
        converting a given unix path to the correct location on Windows.

        * DumpRenderTree/LayoutTestController.cpp:
        (pathToLocalResourceCallback):
        (LayoutTestController::staticFunctions):
        * DumpRenderTree/LayoutTestController.h:
        * DumpRenderTree/mac/LayoutTestControllerMac.mm:
        (LayoutTestController::pathToLocalResource):
        * DumpRenderTree/win/LayoutTestControllerWin.cpp:
        (LayoutTestController::pathToLocalResource):

LayoutTests:

        Reviewed by Alice and Sam.

        - <rdar://5621435> Need a way to specify local resources (being loaded
        from HTTP tests) on Windows.
        - Updated the following tests to use the new layoutTestController
        function, pathToLocalResource to get a Windows viable path (when on
        Windows) to the local resources they are attempting to access.
        - Also clarified and updated some results.

        * fast/dom/frame-loading-via-document-write.html:
        * fast/loader/local-CSS-from-local-expected.txt:
        * fast/loader/local-CSS-from-local.html:
        * fast/loader/local-JavaScript-from-local-expected.txt:
        * fast/loader/local-JavaScript-from-local.html:
        * fast/loader/local-iFrame-source-from-local-expected.txt:
        * fast/loader/local-iFrame-source-from-local.html:
        * fast/loader/local-image-from-local-expected.txt:
        * fast/loader/local-image-from-local.html:
        * http/tests/security/frame-loading-via-document-write.html:
        * http/tests/security/local-CSS-from-remote-expected.txt:
        * http/tests/security/local-CSS-from-remote.html:
        * http/tests/security/local-JavaScript-from-remote-expected.txt:
        * http/tests/security/local-JavaScript-from-remote.html:
        * http/tests/security/local-iFrame-from-remote-expected.txt:
        * http/tests/security/local-iFrame-from-remote.html:
        * http/tests/security/local-image-from-remote-expected.txt:
        * http/tests/security/local-image-from-remote.html:
        * http/tests/security/local-user-CSS-from-remote.html:
        * platform/mac/fast/dom/frame-loading-via-document-write-expected.txt:
        * platform/win/Skipped:
        * platform/win/http: Added.
        * platform/win/http/tests: Added.
        * platform/win/http/tests/security: Added.
        * platform/win/http/tests/security/frame-loading-via-document-write-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28690 268f45cc-cd09-0410-ab3c-d52691b4dbfc
28 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/dom/frame-loading-via-document-write.html
LayoutTests/fast/loader/local-CSS-from-local-expected.txt
LayoutTests/fast/loader/local-CSS-from-local.html
LayoutTests/fast/loader/local-JavaScript-from-local-expected.txt
LayoutTests/fast/loader/local-JavaScript-from-local.html
LayoutTests/fast/loader/local-iFrame-source-from-local-expected.txt
LayoutTests/fast/loader/local-iFrame-source-from-local.html
LayoutTests/fast/loader/local-image-from-local-expected.txt
LayoutTests/fast/loader/local-image-from-local.html
LayoutTests/http/tests/security/frame-loading-via-document-write.html
LayoutTests/http/tests/security/local-CSS-from-remote-expected.txt
LayoutTests/http/tests/security/local-CSS-from-remote.html
LayoutTests/http/tests/security/local-JavaScript-from-remote-expected.txt
LayoutTests/http/tests/security/local-JavaScript-from-remote.html
LayoutTests/http/tests/security/local-iFrame-from-remote-expected.txt
LayoutTests/http/tests/security/local-iFrame-from-remote.html
LayoutTests/http/tests/security/local-image-from-remote-expected.txt
LayoutTests/http/tests/security/local-image-from-remote.html
LayoutTests/http/tests/security/local-user-CSS-from-remote.html
LayoutTests/platform/mac/fast/dom/frame-loading-via-document-write-expected.txt
LayoutTests/platform/win/Skipped
LayoutTests/platform/win/http/tests/security/frame-loading-via-document-write-expected.txt [new file with mode: 0644]
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/LayoutTestController.cpp
WebKitTools/DumpRenderTree/LayoutTestController.h
WebKitTools/DumpRenderTree/mac/LayoutTestControllerMac.mm
WebKitTools/DumpRenderTree/win/LayoutTestControllerWin.cpp