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

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

Issue 220563002: Remove HTMLFrameElement.location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix tests Created 6 years, 8 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
(Empty)
1 CONSOLE MESSAGE: line 19: Caught exception while setting frame's location to 'ja vascript:"FAIL: this should not have been loaded."'. 'SecurityError: Failed to s et the 'location' property on 'HTMLFrameElement': Blocked a frame with origin "h ttp://127.0.0.1:8000" from accessing a cross-origin frame.'.
2 CONSOLE MESSAGE: line 21: PASS: Exception was 'Failed to set the 'location' prop erty on 'HTMLFrameElement': Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.'.
3 CONSOLE MESSAGE: line 19: Caught exception while setting frame's location to ' j avascript:"FAIL: this should not have been loaded."'. 'SecurityError: Failed to set the 'location' property on 'HTMLFrameElement': Blocked a frame with origin " http://127.0.0.1:8000" from accessing a cross-origin frame.'.
4 CONSOLE MESSAGE: line 21: PASS: Exception was 'Failed to set the 'location' prop erty on 'HTMLFrameElement': Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.'.
5 CONSOLE MESSAGE: line 19: Caught exception while setting frame's location to 'ja vascript :"FAIL: this should not have been loaded."'. 'SecurityError: Fai led to set the 'location' property on 'HTMLFrameElement': Blocked a frame with o rigin "http://127.0.0.1:8000" from accessing a cross-origin frame.'.
6 CONSOLE MESSAGE: line 21: PASS: Exception was 'Failed to set the 'location' prop erty on 'HTMLFrameElement': Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.'.
7
8
9 --------
10 Frame: 'main'
11 --------
12 This test passes as long as the word 'FAIL' and an accompanying message do not a ppear in the frame below.
13
14 --------
15 Frame: 'aFrame'
16 --------
17 Inner iframe.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698