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

Unified Diff: third_party/WebKit/LayoutTests/inspector/extensions/extensions-panel.html

Issue 2033403005: Eradicate keyIndentifier from devtools/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Call KeyCodeToKeyIdentifier for unhandle key events Created 4 years, 6 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: third_party/WebKit/LayoutTests/inspector/extensions/extensions-panel.html
diff --git a/third_party/WebKit/LayoutTests/inspector/extensions/extensions-panel.html b/third_party/WebKit/LayoutTests/inspector/extensions/extensions-panel.html
index d9f98d879ec8114565f6bd671708831853c6497d..53a18f8357fe8de19d85d43b2eb82b5529857096 100644
--- a/third_party/WebKit/LayoutTests/inspector/extensions/extensions-panel.html
+++ b/third_party/WebKit/LayoutTests/inspector/extensions/extensions-panel.html
@@ -316,14 +316,14 @@ function extension_testGlobalShortcuts(nextTest)
testPanel.onShown.removeListener(onPanelShown);
output("Panel shown, now toggling console...");
panelWindow.addEventListener("resize", onPanelResized);
- dispatchKeydownEvent({ keyIdentifier: "U+001B" });
+ dispatchKeydownEvent({ key: "Escape", keyIdentifier: "U+001B" });
}
function onPanelResized()
{
panelWindow.removeEventListener("resize", onPanelResized);
output("Panel resized, switching away...");
var isMac = platform === "mac";
- dispatchKeydownEvent({ ctrlKey: !isMac, metaKey: isMac, keyIdentifier: "U+005D" });
+ dispatchKeydownEvent({ ctrlKey: !isMac, metaKey: isMac, key: "]" });
}
function onPanelHidden()
{

Powered by Google App Engine
This is Rietveld 408576698