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

Side by Side Diff: LayoutTests/http/tests/security/javascriptURL/javascriptURL-execution-context-frame-location-htmldom-uncaught-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: PASS: Exception was 'Uncaught 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.'.
2 CONSOLE ERROR: line 31: Uncaught SecurityError: Failed to set the 'location' pro perty on 'HTMLFrameElement': Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
3
4
5 --------
6 Frame: 'main'
7 --------
8 This test passes as long as the onerror handler logs PASS to the console, and th e uncaught exception reported to the console has unsanitized detail.
9
10 --------
11 Frame: 'aFrame'
12 --------
13 Inner iframe.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698