Chromium Code Reviews| Index: chrome/test/data/extensions/api_test/keybinding/page_action/background.js |
| diff --git a/chrome/test/data/extensions/api_test/keybinding/page_action/background.js b/chrome/test/data/extensions/api_test/keybinding/page_action/background.js |
| index 8a5deaa46603c849295d5156e9ff12bc6eb2a29b..d4031653b28d819b00da01e7090067fe3838ea13 100644 |
| --- a/chrome/test/data/extensions/api_test/keybinding/page_action/background.js |
| +++ b/chrome/test/data/extensions/api_test/keybinding/page_action/background.js |
| @@ -4,7 +4,7 @@ |
| // Called when the user clicks on the page action. |
| chrome.pageAction.onClicked.addListener(function(tab) { |
| - chrome.tabs.executeScript(null, { code: "document.body.bgColor='red'" }); |
| + chrome.test.sendMessage('clicked'); |
|
Finnur
2015/01/12 10:21:40
Take a look at that extension's manifest also as i
Devlin
2015/01/12 23:06:24
Done.
|
| }); |
| chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) { |