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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/input/dispatchKeyEvent.html

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp Created 3 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 unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script> 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource s/inspector-protocol-test.js"></script>
4 <script> 4 <script>
5 5
6 window.addEventListener("keydown", logEvent); 6 window.addEventListener("keydown", logEvent);
7 window.addEventListener("keypress", logEvent); 7 window.addEventListener("keypress", logEvent);
8 window.addEventListener("keyup", logEvent); 8 window.addEventListener("keyup", logEvent);
9 9
10 function logEvent(event) 10 function logEvent(event)
11 { 11 {
12 log("-----Event-----"); 12 log("-----Event-----");
13 log("type: " + event.type); 13 log("type: " + event.type);
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 if (isLastCommand) 66 if (isLastCommand)
67 InspectorTest.completeTest(); 67 InspectorTest.completeTest();
68 } 68 }
69 } 69 }
70 70
71 </script> 71 </script>
72 </head> 72 </head>
73 <body onload="runTest()"> 73 <body onload="runTest()">
74 </body> 74 </body>
75 </html> 75 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698