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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/location-new-window-no-crash-expected.txt

Issue 2702503002: Block renderer-initiated main frame navigations to data URLs (Closed)
Patch Set: Fix Android PDF tests where PDFs should be downloaded Created 3 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
OLDNEW
1 CONSOLE ERROR: line 15: Not allowed to navigate top frame to data URL: data:text /plain,a
1 Tests that manipulating location properties in a just-created window object does not crash. Note: Turn off pop-up blocking to run this in-browser. 2 Tests that manipulating location properties in a just-created window object does not crash. Note: Turn off pop-up blocking to run this in-browser.
2 3
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 5
5 6
6 PASS testWindow.location.toString() is 'about:blank' 7 PASS testWindow.location.toString() is 'about:blank'
7 PASS testWindow.location.href is 'about:blank' 8 PASS testWindow.location.href is 'about:blank'
8 PASS testWindow.location.protocol is 'about:' 9 PASS testWindow.location.protocol is 'about:'
9 PASS testWindow.location.host is '' 10 PASS testWindow.location.host is ''
10 PASS testWindow.location.hostname is '' 11 PASS testWindow.location.hostname is ''
(...skipping 18 matching lines...) Expand all
29 PASS testWindow.location.host is '' 30 PASS testWindow.location.host is ''
30 PASS testWindow.location.hostname is '' 31 PASS testWindow.location.hostname is ''
31 PASS testWindow.location.port is '' 32 PASS testWindow.location.port is ''
32 PASS testWindow.location.pathname is 'blank' 33 PASS testWindow.location.pathname is 'blank'
33 PASS testWindow.location.search is '' 34 PASS testWindow.location.search is ''
34 PASS testWindow.location.hash is '' 35 PASS testWindow.location.hash is ''
35 PASS successfullyParsed is true 36 PASS successfullyParsed is true
36 37
37 TEST COMPLETE 38 TEST COMPLETE
38 39
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698