Index: chrome/test/data/extensions/api_test/content_scripts/duplicate_script_injection/should_run_once.js |
diff --git a/ash/public/interfaces/ash_window_type.mojom b/chrome/test/data/extensions/api_test/content_scripts/duplicate_script_injection/should_run_once.js |
similarity index 50% |
copy from ash/public/interfaces/ash_window_type.mojom |
copy to chrome/test/data/extensions/api_test/content_scripts/duplicate_script_injection/should_run_once.js |
index 61f2c4d6435fb90668777035bb9cdeeb3fa4c3b7..081cb22bdb964bccc2b5a47c056721faa48b4e36 100644 |
--- a/ash/public/interfaces/ash_window_type.mojom |
+++ b/chrome/test/data/extensions/api_test/content_scripts/duplicate_script_injection/should_run_once.js |
@@ -2,12 +2,6 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-module ash.mojom; |
- |
-enum AshWindowType { |
- SHELF = 0, |
- STATUS_AREA, |
- COUNT |
-}; |
- |
-const string kAshWindowType_Property = "ash:window-type"; |
+var should_be_injected_once = document.createElement('div'); |
+should_be_injected_once.className = 'injected-once'; |
+document.body.appendChild(should_be_injected_once); |