Chromium Code Reviews| Index: chrome/test/data/extensions/api_test/content_scripts/duplicate_script_injection/should_run_twice.js |
| diff --git a/ios/web/test/test_url_constants.cc b/chrome/test/data/extensions/api_test/content_scripts/duplicate_script_injection/should_run_twice.js |
| similarity index 57% |
| copy from ios/web/test/test_url_constants.cc |
| copy to chrome/test/data/extensions/api_test/content_scripts/duplicate_script_injection/should_run_twice.js |
| index e867552a56d50a9dd0784d5bd0c1fb363c13c70a..4e62e248f7e506af36cdd62c6cedb9c2826ee87f 100644 |
| --- a/ios/web/test/test_url_constants.cc |
| +++ b/chrome/test/data/extensions/api_test/content_scripts/duplicate_script_injection/should_run_twice.js |
| @@ -2,10 +2,9 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#include "ios/web/test/test_url_constants.h" |
| +var elem = document.createElement('div'); |
| +elem.className = 'injected-twice'; |
|
Devlin
2016/07/19 16:09:00
here, too, let's have the divs have parity and mir
catmullings
2016/07/19 17:10:51
Done.
|
| +document.querySelector("body").appendChild(elem); |
|
Devlin
2016/07/19 16:09:00
prefer single quotes in js
catmullings
2016/07/19 17:10:51
Done.
|
| -namespace web { |
| -const char kTestWebUIScheme[] = "testwebui"; |
| -} // namespace web |