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

Unified Diff: chrome/test/data/extensions/test_file_with_ctrl-d_keybinding.html

Issue 880523005: [Extensions] Simplify Extension Keybinding API Tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/test_file_with_ctrl-d_keybinding.html
diff --git a/chrome/test/data/extensions/test_file_with_ctrl-d_keybinding.html b/chrome/test/data/extensions/test_file_with_ctrl-d_keybinding.html
index a032c6889bda58cd4cdf71430e35db4bc0793c15..7848c98d621261aa9195a348b6550fa9d38e9e57 100644
--- a/chrome/test/data/extensions/test_file_with_ctrl-d_keybinding.html
+++ b/chrome/test/data/extensions/test_file_with_ctrl-d_keybinding.html
@@ -11,7 +11,8 @@ document.onkeydown = function(e) {
if (e.keyCode == 17 || e.keyCode == 91 || e.keyCode == 93) {
ctrlDown = true;
} else if (String.fromCharCode(e.keyCode) == 'D' && ctrlDown) {
- document.body.bgColor = "magenta";
+ window.domAutomationController.setAutomationId(0);
+ window.domAutomationController.send('web page received');
return false;
}
};

Powered by Google App Engine
This is Rietveld 408576698