Index: chrome/test/data/extensions/api_test/keybinding/overwrite_bookmark_shortcut/background.js |
diff --git a/chrome/test/data/extensions/api_test/keybinding/overwrite_bookmark_shortcut/background.js b/chrome/test/data/extensions/api_test/keybinding/overwrite_bookmark_shortcut/background.js |
index 105bb57a59677917f52ac47df1af7dd1661136ef..f8f9b92d7a569b2b0344c834e9309738a252c7b2 100644 |
--- a/chrome/test/data/extensions/api_test/keybinding/overwrite_bookmark_shortcut/background.js |
+++ b/chrome/test/data/extensions/api_test/keybinding/overwrite_bookmark_shortcut/background.js |
@@ -4,9 +4,7 @@ |
// Called when the user activates the command. |
chrome.commands.onCommand.addListener(function(command) { |
- chrome.tabs.executeScript(null, { |
- code: "document.body.bgColor='" + command + "'" }); |
- chrome.test.notifyPass(); |
+ chrome.test.sendMessage(command); |
}); |
chrome.test.notifyPass(); |