Index: chrome/test/data/extensions/api_test/all_urls/execute_script/background.html |
=================================================================== |
--- chrome/test/data/extensions/api_test/all_urls/execute_script/background.html (revision 111763) |
+++ chrome/test/data/extensions/api_test/all_urls/execute_script/background.html (working copy) |
@@ -3,19 +3,4 @@ |
* source code is governed by a BSD-style license that can be found in the |
* LICENSE file. |
--> |
-<html> |
-<head> |
-<script> |
-chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) { |
- chrome.tabs.executeScript(tabId, {file: "execute_script.js"}); |
-}); |
- |
-chrome.extension.onRequest.addListener( |
- function(request, sender, sendResponse) { |
- // Let the extension know where the script ran. |
- var url = sender.tab ? sender.tab.url : 'about:blank'; |
- chrome.test.sendMessage('execute: ' + url); |
- }); |
-</script> |
-</head> |
-</html> |
+<script src="background.js"></script> |