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

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

Issue 14990002: Make sure keybindings removed don't come back during extension update. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moving API calls out of ExtensionPrefs class Created 7 years, 7 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/update/v1/background.js
diff --git a/chrome/test/data/extensions/api_test/keybinding/basics/background.js b/chrome/test/data/extensions/api_test/keybinding/update/v1/background.js
similarity index 67%
copy from chrome/test/data/extensions/api_test/keybinding/basics/background.js
copy to chrome/test/data/extensions/api_test/keybinding/update/v1/background.js
index c1bc28b904002e2ee74a83fbdd27ea280c4520a9..fd2162a7f818e18d54869fb1ff389c216a3d715e 100644
--- a/chrome/test/data/extensions/api_test/keybinding/basics/background.js
+++ b/chrome/test/data/extensions/api_test/keybinding/update/v1/background.js
@@ -7,9 +7,4 @@ chrome.browserAction.onClicked.addListener(function(windowId) {
chrome.tabs.executeScript(null, { code: "document.body.bgColor='red'" });
});
-// Called when the user activates the command.
-chrome.commands.onCommand.addListener(function(command) {
- chrome.tabs.executeScript(null, { code: "document.body.bgColor='blue'" });
-});
-
chrome.test.notifyPass();

Powered by Google App Engine
This is Rietveld 408576698