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

Side by Side Diff: ios/testing/data/http_server_files/window_location.html

Issue 2799953002: Treat loads of invalid URLs as no-ops unless triggered by window.open. (Closed)
Patch Set: 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <!-- Copyright 2016 The Chromium Authors. All rights reserved. 3 <!-- Copyright 2016 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. --> 5 found in the LICENSE file. -->
6 6
7 <html> 7 <html>
8 <head> 8 <head>
9 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> 9 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
10 <title>History.Location navigation</title> 10 <title>History.Location navigation</title>
11 <script type="text/javascript" src="window_location.js"></script> 11 <script type="text/javascript" src="window_location.js"></script>
12 </head> 12 </head>
13 <body> 13 <body>
14 <p></p> 14 <p></p>
15 <div id='on-load-div'></div> 15 <div id='on-load-div'></div>
16 <br> 16 <br>
17 <div id='url-to-load'></div> 17 <div id='url-to-load'></div>
18 <br> 18 <br>
19 <div id='no-op'></div>
20 <br>
19 </p> 21 </p>
20 22
21 <input type="button" value="location-assign" id="location-assign" 23 <input type="button" value="location-assign" id="location-assign"
22 onclick="locationAssign()" /><br> 24 onclick="locationAssign()" /><br>
23 <input type="button" value="location-replace" id="location-replace" 25 <input type="button" value="location-replace" id="location-replace"
24 onclick="locationReplace()" /><br> 26 onclick="locationReplace()" /><br>
25 <input type="button" value="location-reload" id="location-reload" 27 <input type="button" value="location-reload" id="location-reload"
26 onclick="locationReload()" /><br> 28 onclick="locationReload()" /><br>
27 <input type="button" value="set-location-to-dom-string" id="set-location-to-dom- string" 29 <input type="button" value="set-location-to-dom-string" id="set-location-to-dom- string"
28 onclick="setLocationToDOMString()" /><br> 30 onclick="setLocationToDOMString()" /><br>
29 31
30 </body> 32 </body>
31 </html> 33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698