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

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

Issue 14367027: Deflaking the Commands test that makes sure extension commands can't overwrite Chrome shortcuts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
« no previous file with comments | « chrome/browser/extensions/extension_keybinding_apitest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/keybinding/dont_overwrite_system/background.js
diff --git a/chrome/test/data/extensions/api_test/keybinding/dont_overwrite_system/background.js b/chrome/test/data/extensions/api_test/keybinding/dont_overwrite_system/background.js
index cef236497cec899f254238c528beae93ba4e4116..794097093879f652ddd649cf042b04ec38e08332 100644
--- a/chrome/test/data/extensions/api_test/keybinding/dont_overwrite_system/background.js
+++ b/chrome/test/data/extensions/api_test/keybinding/dont_overwrite_system/background.js
@@ -1,11 +1,12 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// 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();
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// 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.notifyPass();
« no previous file with comments | « chrome/browser/extensions/extension_keybinding_apitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698