Changeset 107046 in webkit
- Timestamp:
- Feb 8, 2012 12:13:58 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r107036 r107046 1 2012-02-08 Kentaro Hara <haraken@chromium.org> 2 3 Replace [CheckNodeSecurity] with [CheckAccessToNode] 4 https://bugs.webkit.org/show_bug.cgi?id=77971 5 6 Reviewed by Adam Barth. 7 8 The added test checks if frameElement is accessible from the same or cross origin iframe. 9 10 * http/tests/security/cross-frame-access-frameelement-expected.txt: Added. 11 * http/tests/security/cross-frame-access-frameelement.html: Added. 12 * http/tests/security/resources/cross-frame-access-frameelement-from-iframe.html: Added. 13 * platform/chromium/http/tests/security/cross-frame-access-put-expected.txt: Updated the test result. 14 1 15 2012-02-07 Robert Kroeger <rjkroege@chromium.org> 2 16 -
trunk/LayoutTests/platform/chromium/http/tests/security/cross-frame-access-put-expected.txt
r106728 r107046 1 CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://127.0.0.1:8000/security/cross-frame-access-put.html from frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-put-test.html. Domains, protocols and ports must match. 2 1 3 CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-put-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-put.html. Domains, protocols and ports must match. 2 4 … … 484 486 ALERT: PASS: window.embeds should be 'undefined' and is. 485 487 ALERT: PASS: window.event should be 'undefined' and is. 486 ALERT: PASS: window.frameElement should be '[object HTMLIFrameElement]' and is. 488 CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://127.0.0.1:8000/security/cross-frame-access-put.html from frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-put-test.html. Domains, protocols and ports must match. 489 490 ALERT: PASS: window.frameElement should be 'undefined' and is. 487 491 ALERT: PASS: window.frames should be '[object DOMWindow]' and is. 488 492 ALERT: PASS: window.history should be '[object History]' and is. -
trunk/Source/WebCore/ChangeLog
r107045 r107046 1 2012-02-08 Kentaro Hara <haraken@chromium.org> 2 3 Replace [CheckNodeSecurity] with [CheckAccessToNode] 4 https://bugs.webkit.org/show_bug.cgi?id=77971 5 6 Reviewed by Adam Barth. 7 8 [CheckNodeSecurity] is not implemented by code generators. 9 This patch replaces [CheckNodeSecurity] with [CheckAccessToNode]. 10 11 Test: http/tests/security/cross-frame-access-frameelement.html 12 13 * page/DOMWindow.idl: 14 1 15 2012-02-08 Kentaro Hara <haraken@chromium.org> 2 16 -
trunk/Source/WebCore/page/DOMWindow.idl
r107041 r107046 61 61 DOMSelection getSelection(); 62 62 63 readonly attribute [Check NodeSecurity] Element frameElement;63 readonly attribute [CheckAccessToNode] Element frameElement; 64 64 65 65 [DoNotCheckDomainSecurity] void focus();
Note: See TracChangeset
for help on using the changeset viewer.