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

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

Issue 19095003: Throw 'SecurityError' upon cross-origin Location access. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline. 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. 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. 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 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 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.
4 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. 4 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.
5 5
6 PASS: eval('delete targetWindow.existingProperty') should be 'false' and is. 6 PASS: eval('delete targetWindow.existingProperty') should be 'false' and is.
7 PASS: eval('delete targetWindow[1]') should be 'false' and is. 7 PASS: eval('delete targetWindow[1]') should be 'false' and is.
8 PASS: eval('delete targetWindow.location.existingProperty') should be 'false' an d is. 8 PASS: deletionThrowsException('targetWindow.location.existingProperty') should b e 'true' and is.
9 PASS: eval('delete targetWindow.location[1]') should be 'false' and is. 9 PASS: deletionThrowsException('targetWindow.location[1]') should be 'true' and i s.
10 10
11 11
12 -------- 12 --------
13 Frame: '<!--framePath //<!--frame0-->-->' 13 Frame: '<!--framePath //<!--frame0-->-->'
14 -------- 14 --------
15 15
16 ----- tests for deleting the properties of window, window.history, and window.lo cation cross-domain ----- 16 ----- tests for deleting the properties of window, window.history, and window.lo cation cross-domain -----
17 17
18 PASS: window.existingProperty should be 'test value' and is. 18 PASS: window.existingProperty should be 'test value' and is.
19 PASS: window[1] should be 'test value' and is. 19 PASS: window[1] should be 'test value' and is.
20 PASS: window.history.existingProperty should be 'test value' and is. 20 PASS: window.history.existingProperty should be 'test value' and is.
21 PASS: window.history[1] should be 'test value' and is. 21 PASS: window.history[1] should be 'test value' and is.
22 PASS: window.location.existingProperty should be 'test value' and is. 22 PASS: window.location.existingProperty should be 'test value' and is.
23 PASS: window.location[1] should be 'test value' and is. 23 PASS: window.location[1] should be 'test value' and is.
24 24
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698