Replace [CheckNodeSecurity] with [CheckAccessToNode]
authorharaken@chromium.org <haraken@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Feb 2012 08:13:58 +0000 (08:13 +0000)
committerharaken@chromium.org <haraken@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Feb 2012 08:13:58 +0000 (08:13 +0000)
commit81045559328679a8e1d2b5765ecd838d6bdcdea1
treeebd9dadddac08f6b86c3b8af1b3c707aa70c7d7d
parentc68e66d83ade251c918450e2aa16ac5df0224eed
Replace [CheckNodeSecurity] with [CheckAccessToNode]
https://bugs.webkit.org/show_bug.cgi?id=77971

Reviewed by Adam Barth.

Source/WebCore:

[CheckNodeSecurity] is not implemented by code generators.
This patch replaces [CheckNodeSecurity] with [CheckAccessToNode].

Test: http/tests/security/cross-frame-access-frameelement.html

* page/DOMWindow.idl:

LayoutTests:

The added test checks if frameElement is accessible from the same or cross origin iframe.

* http/tests/security/cross-frame-access-frameelement-expected.txt: Added.
* http/tests/security/cross-frame-access-frameelement.html: Added.
* http/tests/security/resources/cross-frame-access-frameelement-from-iframe.html: Added.
* platform/chromium/http/tests/security/cross-frame-access-put-expected.txt: Updated the test result.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107046 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/security/cross-frame-access-frameelement-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/security/cross-frame-access-frameelement.html [new file with mode: 0644]
LayoutTests/http/tests/security/resources/cross-frame-access-frameelement-from-iframe.html [new file with mode: 0644]
LayoutTests/platform/chromium/http/tests/security/cross-frame-access-put-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/page/DOMWindow.idl