Index: chrome/test/data/extensions/api_test/tabs/on_updated/historyPushState/a.js |
diff --git a/chrome/test/data/extensions/api_test/tabs/on_updated/historyPushState/a.js b/chrome/test/data/extensions/api_test/tabs/on_updated/historyPushState/a.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..38c6076edff0ed023a2f7c68e538b3199290f68f |
--- /dev/null |
+++ b/chrome/test/data/extensions/api_test/tabs/on_updated/historyPushState/a.js |
@@ -0,0 +1,10 @@ |
+// Copyright (c) 2015 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. |
+ |
+window.onload = function() { |
+ // 'load' and 'complete' are fired without URL update. |
+ setTimeout(function() { |
+ history.pushState(null, null, ""); |
+ }, 0); |
+} |