| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |