Chromium Code Reviews| Index: chrome/test/data/extensions/api_test/content_scripts/duplicate_script_injection/test.js |
| diff --git a/ios/web/shell/test/shell_test.mm b/chrome/test/data/extensions/api_test/content_scripts/duplicate_script_injection/test.js |
| similarity index 54% |
| copy from ios/web/shell/test/shell_test.mm |
| copy to chrome/test/data/extensions/api_test/content_scripts/duplicate_script_injection/test.js |
| index 5b4cddc172c1c4cafc6884d64c1f2cf5e1514915..d634cf6a55ce8c95b4be2cec0c347086b04d27d1 100644 |
| --- a/ios/web/shell/test/shell_test.mm |
| +++ b/chrome/test/data/extensions/api_test/content_scripts/duplicate_script_injection/test.js |
| @@ -2,11 +2,8 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#import <UIKit/UIKit.h> |
| -#import <XCTest/XCTest.h> |
| +var el = document.createElement('div'); |
| +el.className = 'test-duplicate-script-injection'; |
| +document.querySelector("body").appendChild(el); |
|
Devlin
2016/07/11 23:45:50
nit: prefer single-quotes in js.
catmullings
2016/07/12 22:23:26
Done.
|
| -@interface EmptyFile : NSObject |
| -@end |
| -@implementation EmptyFile |
| -@end |