2011-04-27 Robert Hogan <robert@webkit.org>
authorrobert@webkit.org <robert@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Apr 2011 03:18:18 +0000 (03:18 +0000)
committerrobert@webkit.org <robert@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Apr 2011 03:18:18 +0000 (03:18 +0000)
commit3d2d40f812700c8d3948bdeb0eb251f28e3ec2aa
treeb577828e94af57e60ae1e9fa6d2bc0f7c4072f4f
parent72d9dedb5edf3ecbe7208371c67f1a0922b37e21
2011-04-27  Robert Hogan  <robert@webkit.org>

        Reviewed by Adam Barth.

        Allow shadowing of history object
        https://bugs.webkit.org/show_bug.cgi?id=55965

        * fast/dom/Window/get-set-properties-expected.txt:
        * fast/dom/Window/get-set-properties.html:
        * fast/dom/Window/window-property-shadowing-expected.txt:
        * fast/dom/Window/window-property-shadowing.html:
        * fast/js/var-declarations-shadowing-expected.txt:
        * fast/js/var-declarations-shadowing.html:
        * http/tests/history/cross-origin-replace-history-object-child-expected.txt: Added.
        * http/tests/history/cross-origin-replace-history-object-child.html: Added.
        * http/tests/history/cross-origin-replace-history-object-expected.txt: Added.
        * http/tests/history/cross-origin-replace-history-object.html: Added.
        * http/tests/history/resources/cross-origin-replaces-history-object-child-iframe.html: Added.
        * http/tests/history/resources/cross-origin-replaces-history-object-iframe.html: Added.
        * http/tests/security/cross-frame-access-put-expected.txt: Note that a window property with
          the DoNotCheckDomainSecurityOnGet attribute generates two cross-origin JS warnings. Amended
          expected results to include the additional extra warning for the history object.
2011-04-27  Robert Hogan  <robert@webkit.org>

        Reviewed by Adam Barth.

        Allow shadowing of history object
        https://bugs.webkit.org/show_bug.cgi?id=55965

        Tests: http/tests/history/cross-origin-replace-history-object-child.html
               http/tests/history/cross-origin-replace-history-object.html

        * page/DOMWindow.idl:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@85142 268f45cc-cd09-0410-ab3c-d52691b4dbfc
16 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/dom/Window/get-set-properties-expected.txt
LayoutTests/fast/dom/Window/get-set-properties.html
LayoutTests/fast/dom/Window/window-property-shadowing-expected.txt
LayoutTests/fast/dom/Window/window-property-shadowing.html
LayoutTests/fast/js/var-declarations-shadowing-expected.txt
LayoutTests/fast/js/var-declarations-shadowing.html
LayoutTests/http/tests/history/cross-origin-replace-history-object-child-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/history/cross-origin-replace-history-object-child.html [new file with mode: 0644]
LayoutTests/http/tests/history/cross-origin-replace-history-object-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/history/cross-origin-replace-history-object.html [new file with mode: 0644]
LayoutTests/http/tests/history/resources/cross-origin-replaces-history-object-child-iframe.html [new file with mode: 0644]
LayoutTests/http/tests/history/resources/cross-origin-replaces-history-object-iframe.html [new file with mode: 0644]
LayoutTests/http/tests/security/cross-frame-access-put-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/page/DOMWindow.idl