summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/extensions/api_test/webnavigation/crossProcess/e.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/data/extensions/api_test/webnavigation/crossProcess/e.js')
-rw-r--r--chrome/test/data/extensions/api_test/webnavigation/crossProcess/e.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/chrome/test/data/extensions/api_test/webnavigation/crossProcess/e.js b/chrome/test/data/extensions/api_test/webnavigation/crossProcess/e.js
new file mode 100644
index 0000000..ed136b8
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/webnavigation/crossProcess/e.js
@@ -0,0 +1,14 @@
+// Copyright (c) 2012 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.
+
+function updateHistory() {
+ history.pushState({}, "", "empty.html");
+}
+
+onload = function() {
+ setTimeout(function() {
+ location.href =
+ "http://127.0.0.1:" + location.search.substr(1) + "/test2";
+ }, 0);
+};