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

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

Issue 2120153003: Remove keyIdentifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_key_identifier_3a
Patch Set: Rebase Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script> 4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script src="../../http/tests/inspector/network-test.js"></script> 5 <script src="../../http/tests/inspector/network-test.js"></script>
6 <script src="../../http/tests/inspector/sources-test.js"></script> 6 <script src="../../http/tests/inspector/sources-test.js"></script>
7 <script src="../../http/tests/inspector/resources-test.js"></script> 7 <script src="../../http/tests/inspector/resources-test.js"></script>
8 <script src="../../http/tests/inspector/extensions-test.js"></script> 8 <script src="../../http/tests/inspector/extensions-test.js"></script>
9 <script type="text/javascript"> 9 <script type="text/javascript">
10 function logMessage() 10 function logMessage()
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 testPanel.onHidden.addListener(onPanelHidden); 309 testPanel.onHidden.addListener(onPanelHidden);
310 evaluateOnFrontend("InspectorTest.switchToLastPanel();"); 310 evaluateOnFrontend("InspectorTest.switchToLastPanel();");
311 } 311 }
312 var panelWindow; 312 var panelWindow;
313 function onPanelShown(win) 313 function onPanelShown(win)
314 { 314 {
315 panelWindow = win; 315 panelWindow = win;
316 testPanel.onShown.removeListener(onPanelShown); 316 testPanel.onShown.removeListener(onPanelShown);
317 output("Panel shown, now toggling console..."); 317 output("Panel shown, now toggling console...");
318 panelWindow.addEventListener("resize", onPanelResized); 318 panelWindow.addEventListener("resize", onPanelResized);
319 dispatchKeydownEvent({ key: "Escape", keyIdentifier: "U+001B" }); 319 dispatchKeydownEvent({ key: "Escape" });
320 } 320 }
321 function onPanelResized() 321 function onPanelResized()
322 { 322 {
323 panelWindow.removeEventListener("resize", onPanelResized); 323 panelWindow.removeEventListener("resize", onPanelResized);
324 output("Panel resized, switching away..."); 324 output("Panel resized, switching away...");
325 var isMac = platform === "mac"; 325 var isMac = platform === "mac";
326 dispatchKeydownEvent({ ctrlKey: !isMac, metaKey: isMac, key: "]" }); 326 dispatchKeydownEvent({ ctrlKey: !isMac, metaKey: isMac, key: "]" });
327 } 327 }
328 function onPanelHidden() 328 function onPanelHidden()
329 { 329 {
(...skipping 11 matching lines...) Expand all
341 var img = document.createElement("img"); 341 var img = document.createElement("img");
342 img.src = "resources/abe.png"; 342 img.src = "resources/abe.png";
343 document.body.appendChild(img); 343 document.body.appendChild(img);
344 } 344 }
345 </script> 345 </script>
346 </head> 346 </head>
347 <body onload="runTest()"> 347 <body onload="runTest()">
348 <p>Tests WebInspector extension API</p> 348 <p>Tests WebInspector extension API</p>
349 </body> 349 </body>
350 </html> 350 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698