| Index: chrome/test/data/extensions/api_test/tabs/on_updated/historyReplaceState/a.js
|
| diff --git a/chrome/test/data/extensions/api_test/tabs/on_updated/historyReplaceState/a.js b/chrome/test/data/extensions/api_test/tabs/on_updated/historyReplaceState/a.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d54d3787b88299dd7401f16cb139b9de1dad8b50
|
| --- /dev/null
|
| +++ b/chrome/test/data/extensions/api_test/tabs/on_updated/historyReplaceState/a.js
|
| @@ -0,0 +1,11 @@
|
| +// 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() {
|
| + // 'tabs.onUpdate()' is not fired. Because history.replaceState doesn't update
|
| + // URL.
|
| + setTimeout(function() {
|
| + history.replaceState(null, null, "");
|
| + }, 0);
|
| +}
|
|
|