Index: chrome/test/data/extensions/api_test/keybinding/conflicting/background.js |
diff --git a/chrome/test/data/extensions/api_test/keybinding/conflicting/background.js b/chrome/test/data/extensions/api_test/keybinding/conflicting/background.js |
index 1b571f324ab783fc0237b5bf2a7ca879c4147ae3..15e512fa4ff9719178244605bb865729efc74438 100644 |
--- a/chrome/test/data/extensions/api_test/keybinding/conflicting/background.js |
+++ b/chrome/test/data/extensions/api_test/keybinding/conflicting/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='green'" }); |
+ chrome.test.sendMessage('conflicting browser action'); |
}); |
// Called when the user activates the command. |
chrome.commands.onCommand.addListener(function(command) { |
- chrome.tabs.executeScript(null, { code: "document.body.bgColor='yellow'" }); |
+ chrome.test.sendMessage('conflicting command'); |
}); |
chrome.test.notifyPass(); |