• haraken@chromium.org's avatar
    Replace [CheckNodeSecurity] with [CheckAccessToNode] · 81045559
    haraken@chromium.org authored
    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
    81045559
ChangeLog 7.34 MB