Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4736)

Unified Diff: chrome/test/data/extensions/api_test/keybinding/page_action/background.js

Issue 788053008: [Extensions] Re-enable test CommandsApiTest.PageAction (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Finnur's Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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');
});
chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {

Powered by Google App Engine
This is Rietveld 408576698