Reviewed by Vicki.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 May 2005 18:39:16 +0000 (18:39 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 2 May 2005 18:39:16 +0000 (18:39 +0000)
commit716d1e853672261968642222de8f50dc94331a68
treef00064375c5e76bf8c203e353078bc1312436d9b
parent98cd02c4fe3693cc906ef0b23380369efc8d9266
    Reviewed by Vicki.
        Added two layout tests for regression testing.

        - redid frameElement (fix for 4091082 below)

        The first version lacked a security check, and was also broken.

        * khtml/ecma/kjs_window.cpp:
        (frameElement): Refactored into separate function; added isSafeScript check.
        (Window::get): Call the new frameElement function.

        * fast/frames/frameElement-frame.html: Added.
        * fast/frames/frameElement-frame-expected.txt: Added.
        * fast/frames/frameElement-iframe.html: Added.
        * fast/frames/frameElement-iframe-expected.txt: Added.
        * fast/frames/resources/frameElement-contents.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9086 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/fast/frames/frameElement-frame-expected.txt [new file with mode: 0644]
LayoutTests/fast/frames/frameElement-frame.html [new file with mode: 0644]
LayoutTests/fast/frames/frameElement-iframe-expected.txt [new file with mode: 0644]
LayoutTests/fast/frames/frameElement-iframe.html [new file with mode: 0644]
LayoutTests/fast/frames/resources/frameElement-contents.html [new file with mode: 0644]
WebCore/ChangeLog-2005-08-23
WebCore/khtml/ecma/kjs_window.cpp