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() |
{ |