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

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

Issue 19564003: Populate cross-origin location access SecurityError messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. 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 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 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.
8 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.
9 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.
10 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.
11 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.
12 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.
13 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.
14 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.
15 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.
16 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.
17 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.
18 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.
19 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.
20 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.
21 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.
22 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.
23 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.
24 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.
25 1
26 2
27 ----- tests for getting window.location's properties ----- 3 ----- tests for getting window.location's properties -----
28 4
29 PASS: canGet('targetWindow.location') should be 'true' and is. 5 PASS: canGet('targetWindow.location') should be 'true' and is.
30 PASS: toString('targetWindow.location', '') should be '' and is. 6 PASS: toString('targetWindow.location', '') should be '' and is.
31 Firefox allows access to 'location.toString' but throws an exception when you ca ll it. 7 Firefox allows access to 'location.toString' but throws an exception when you ca ll it.
32 PASS: canGet('targetWindow.location.toString') should be 'false' and is. 8 PASS: canGet('targetWindow.location.toString') should be 'false' and is.
33 PASS: accessThrowsException('targetWindow.location.toString') should be 'true' a nd is. 9 PASS: accessThrowsException('targetWindow.location.toString') should be 'true' a nd is.
34 PASS: canGet('targetWindow.location.href') should be 'false' and is. 10 PASS: canGet('targetWindow.location.href') should be 'false' and is.
(...skipping 13 matching lines...) Expand all
48 PASS: accessThrowsException('targetWindow.location.hostname') should be 'true' a nd is. 24 PASS: accessThrowsException('targetWindow.location.hostname') should be 'true' a nd is.
49 PASS: accessThrowsException('targetWindow.location.pathname') should be 'true' a nd is. 25 PASS: accessThrowsException('targetWindow.location.pathname') should be 'true' a nd is.
50 PASS: accessThrowsException('targetWindow.location.port') should be 'true' and i s. 26 PASS: accessThrowsException('targetWindow.location.port') should be 'true' and i s.
51 PASS: accessThrowsException('targetWindow.location.protocol') should be 'true' a nd is. 27 PASS: accessThrowsException('targetWindow.location.protocol') should be 'true' a nd is.
52 PASS: accessThrowsException('targetWindow.location.search') should be 'true' and is. 28 PASS: accessThrowsException('targetWindow.location.search') should be 'true' and is.
53 PASS: accessThrowsException('targetWindow.location.existingCustomProperty') shou ld be 'true' and is. 29 PASS: accessThrowsException('targetWindow.location.existingCustomProperty') shou ld be 'true' and is.
54 PASS: accessThrowsException('targetWindow.location[1]') should be 'true' and is. 30 PASS: accessThrowsException('targetWindow.location[1]') should be 'true' and is.
55 PASS: canGet('targetWindow.location.assign') should be 'true' and is. 31 PASS: canGet('targetWindow.location.assign') should be 'true' and is.
56 PASS: canGet('targetWindow.location.replace') should be 'true' and is. 32 PASS: canGet('targetWindow.location.replace') should be 'true' and is.
57 33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698