| Index: chrome/test/data/extensions/api_test/tabs/on_updated/locationReplace/a.js
|
| diff --git a/tools/clang/plugins/tests/warn_only.cpp b/chrome/test/data/extensions/api_test/tabs/on_updated/locationReplace/a.js
|
| similarity index 52%
|
| copy from tools/clang/plugins/tests/warn_only.cpp
|
| copy to chrome/test/data/extensions/api_test/tabs/on_updated/locationReplace/a.js
|
| index 1fbefcb105b911baaafd4b1753353f3e35d3e319..bf0d97d5b7d7d90371d47a99a27bc09220417b66 100644
|
| --- a/tools/clang/plugins/tests/warn_only.cpp
|
| +++ b/chrome/test/data/extensions/api_test/tabs/on_updated/locationReplace/a.js
|
| @@ -2,4 +2,9 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "warn_only.h"
|
| +window.onload = function() {
|
| + // 'load' and 'complete' are fired with the URL update.
|
| + setTimeout(function() {
|
| + location.replace("#foo");
|
| + }, 0);
|
| +}
|
|
|