2011-04-10 Daniel Bates <dbates@rim.com>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Apr 2011 01:45:29 +0000 (01:45 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Apr 2011 01:45:29 +0000 (01:45 +0000)
commit899b60a87e543195a369779ddd657c054345537c
treed07db4afee73eed330b1ee8374f11bb26244c6af
parenta7d41db778b7cb80bb2d821544e1661b2fd0d1cf
2011-04-10  Daniel Bates  <dbates@rim.com>

        Reviewed by Eric Seidel.

        Add layout test to ensure that window.name returns {"_blank", "_parent", "_self", "_top"}
        for a frame of the same name
        https://bugs.webkit.org/show_bug.cgi?id=58189

        Extracted common code from files LayoutTests/fast/frames/resources/frame-element-name-{left, right}.html
        into LayoutTests/fast/frames/resources/frame-element-name.html so that we can use this logic
        to test frames with arbitrary names.

        * fast/frames/frame-element-name-expected.txt:
        * fast/frames/frame-element-name.html: Modified to use resources/frame-element-name.html; Added
          test cases for "_blank", "_parent", "_self", and "_top".
        * fast/frames/resources/frame-element-name-left.html: Removed; Instead, pass expectedName to
          resources/frame-element-name.html
        * fast/frames/resources/frame-element-name-right.html: Ditto.
        * fast/frames/resources/frame-element-name.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@83411 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/frames/frame-element-name-expected.txt
LayoutTests/fast/frames/frame-element-name.html
LayoutTests/fast/frames/resources/frame-element-name-left.html [deleted file]
LayoutTests/fast/frames/resources/frame-element-name-right.html [deleted file]
LayoutTests/fast/frames/resources/frame-element-name.html [new file with mode: 0644]