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

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

Issue 14198015: Deny cross-origin access to 'window.history'. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 7 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 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.
6 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.
7 5
8 PASS: eval('delete targetWindow.existingProperty') should be 'false' and is. 6 PASS: eval('delete targetWindow.existingProperty') should be 'false' and is.
9 PASS: eval('delete targetWindow[1]') should be 'false' and is. 7 PASS: eval('delete targetWindow[1]') should be 'false' and is.
10 PASS: eval('delete targetWindow.history.existingProperty') should be 'false' and is.
11 PASS: eval('delete targetWindow.history[1]') should be 'false' and is.
12 PASS: eval('delete targetWindow.location.existingProperty') should be 'false' an d is. 8 PASS: eval('delete targetWindow.location.existingProperty') should be 'false' an d is.
13 PASS: eval('delete targetWindow.location[1]') should be 'false' and is. 9 PASS: eval('delete targetWindow.location[1]') should be 'false' and is.
14 10
15 11
16 -------- 12 --------
17 Frame: '<!--framePath //<!--frame0-->-->' 13 Frame: '<!--framePath //<!--frame0-->-->'
18 -------- 14 --------
19 15
20 ----- 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 -----
21 17
22 PASS: window.existingProperty should be 'test value' and is. 18 PASS: window.existingProperty should be 'test value' and is.
23 PASS: window[1] should be 'test value' and is. 19 PASS: window[1] should be 'test value' and is.
24 PASS: window.history.existingProperty should be 'test value' and is. 20 PASS: window.history.existingProperty should be 'test value' and is.
25 PASS: window.history[1] should be 'test value' and is. 21 PASS: window.history[1] should be 'test value' and is.
26 PASS: window.location.existingProperty should be 'test value' and is. 22 PASS: window.location.existingProperty should be 'test value' and is.
27 PASS: window.location[1] should be 'test value' and is. 23 PASS: window.location[1] should be 'test value' and is.
28 24
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698