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

Side by Side Diff: LayoutTests/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-expected.txt

Issue 22829002: Throw an exception when denying access to 'Frame's 'location' setter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Less insecurity. Created 7 years, 4 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: line 34: Caught exception while setting frame's location to 'ja vascript:"FAIL: this should not have been loaded."'. 'SecurityError: Blocked a f rame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.'.
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: line 34: Caught exception while setting frame's location to ' j avascript:"FAIL: this should not have been loaded."'. 'SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.'.
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: line 34: Caught exception while setting frame's location to 'ja vascript» :"FAIL: this should not have been loaded."'. 'SecurityError: Blo cked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin f rame.'.
abarth-chromium 2013/08/13 20:09:30 It's a shame that the console message itself is no
4 4
5 5
6 -------- 6 --------
7 Frame: 'main' 7 Frame: 'main'
8 -------- 8 --------
9 This test passes as long as the word 'FAIL' and an accompanying message do not a ppear in the frame below. 9 This test passes as long as the word 'FAIL' and an accompanying message do not a ppear in the frame below.
10 10
11 -------- 11 --------
12 Frame: 'aFrame' 12 Frame: 'aFrame'
13 -------- 13 --------
14 Inner iframe. 14 Inner iframe.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698