Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(327)

Side by Side Diff: LayoutTests/http/tests/security/cross-frame-access-delete-expected.txt

Issue 19932002: Throw exceptions on all failed cross-origin access checks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test. Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
2 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
3 1
4 PASS: eval('delete targetWindow.existingProperty') should be 'false' and is. 2 PASS: deletionThrowsException('targetWindow.existingProperty') should be 'true' and is.
5 PASS: eval('delete targetWindow[1]') should be 'false' and is. 3 PASS: deletionThrowsException('targetWindow[1]') should be 'true' and is.
6 PASS: deletionThrowsException('targetWindow.location.existingProperty') should b e 'true' and is. 4 PASS: deletionThrowsException('targetWindow.location.existingProperty') should b e 'true' and is.
7 PASS: deletionThrowsException('targetWindow.location[1]') should be 'true' and i s. 5 PASS: deletionThrowsException('targetWindow.location[1]') should be 'true' and i s.
8 6
9 7
10 -------- 8 --------
11 Frame: '<!--framePath //<!--frame0-->-->' 9 Frame: '<!--framePath //<!--frame0-->-->'
12 -------- 10 --------
13 11
14 ----- tests for deleting the properties of window, window.history, and window.lo cation cross-domain ----- 12 ----- tests for deleting the properties of window, window.history, and window.lo cation cross-domain -----
15 13
16 PASS: window.existingProperty should be 'test value' and is. 14 PASS: window.existingProperty should be 'test value' and is.
17 PASS: window[1] should be 'test value' and is. 15 PASS: window[1] should be 'test value' and is.
18 PASS: window.history.existingProperty should be 'test value' and is. 16 PASS: window.history.existingProperty should be 'test value' and is.
19 PASS: window.history[1] should be 'test value' and is. 17 PASS: window.history[1] should be 'test value' and is.
20 PASS: window.location.existingProperty should be 'test value' and is. 18 PASS: window.location.existingProperty should be 'test value' and is.
21 PASS: window.location[1] should be 'test value' and is. 19 PASS: window.location[1] should be 'test value' and is.
22 20
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698