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

Unified Diff: ios/testing/data/http_server_files/window_location.html

Issue 2577333002: Created file-based test pages for window.location tests. (Closed)
Patch Set: added functions Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/testing/BUILD.gn ('k') | ios/testing/data/http_server_files/window_location.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/testing/data/http_server_files/window_location.html
diff --git a/ios/testing/data/http_server_files/window_location.html b/ios/testing/data/http_server_files/window_location.html
new file mode 100644
index 0000000000000000000000000000000000000000..c8e9d70ed70fb8453d73d00efb7d168c7c73cbcf
--- /dev/null
+++ b/ios/testing/data/http_server_files/window_location.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+
+<!-- Copyright 2016 The Chromium Authors. All rights reserved.
+Use of this source code is governed by a BSD-style license that can be
+found in the LICENSE file. -->
+
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>History.Location navigation</title>
+<script type="text/javascript" src="window_location.js"></script>
+</head>
+<body>
+<p></p>
+<div id='on-load-div'></div>
+<br>
+<div id='url-to-load'></div>
+<br>
+</p>
+
+<input type="button" value="location-assign" id="location-assign"
+ onclick="locationAssign()" /><br>
+<input type="button" value="location-replace" id="location-replace"
+ onclick="locationReplace()" /><br>
+<input type="button" value="location-reload" id="location-reload"
+ onclick="locationReload()" /><br>
+<input type="button" value="set-location-to-dom-string" id="set-location-to-dom-string"
+ onclick="setLocationToDOMString()" /><br>
+
+</body>
+</html>
« no previous file with comments | « ios/testing/BUILD.gn ('k') | ios/testing/data/http_server_files/window_location.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698