Index: chrome/test/data/extensions/api_test/keybinding/basics/background.js |
diff --git a/chrome/test/data/extensions/api_test/keybinding/basics/background.js b/chrome/test/data/extensions/api_test/keybinding/basics/background.js |
index c1bc28b904002e2ee74a83fbdd27ea280c4520a9..966e4de77a8325e0cf91444972b0c305a6573052 100644 |
--- a/chrome/test/data/extensions/api_test/keybinding/basics/background.js |
+++ b/chrome/test/data/extensions/api_test/keybinding/basics/background.js |
@@ -4,12 +4,12 @@ |
// Called when the user clicks on the browser action. |
chrome.browserAction.onClicked.addListener(function(windowId) { |
- chrome.tabs.executeScript(null, { code: "document.body.bgColor='red'" }); |
+ chrome.test.sendMessage('basics browser action'); |
}); |
// Called when the user activates the command. |
chrome.commands.onCommand.addListener(function(command) { |
- chrome.tabs.executeScript(null, { code: "document.body.bgColor='blue'" }); |
+ chrome.test.sendMessage(command); |
}); |
chrome.test.notifyPass(); |