OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="/inspector/inspector-test.js"></script> | 3 <script src="/inspector/inspector-test.js"></script> |
4 <script src="/inspector/timeline-test.js"></script> | 4 <script src="/inspector/timeline-test.js"></script> |
5 <script> | 5 <script> |
6 | 6 |
7 function performActions() | 7 function performActions() |
8 { | 8 { |
9 var ws = new WebSocket("ws://127.0.0.1:8880/simple"); | 9 var ws = new WebSocket("ws://127.0.0.1:8880/simple"); |
10 | |
11 testRunner.display(); | |
12 } | 10 } |
13 | 11 |
14 function test() | 12 function test() |
15 { | 13 { |
16 InspectorTest.startTimeline(function() { | 14 InspectorTest.startTimeline(function() { |
17 InspectorTest.evaluateInPage("performActions()"); | 15 InspectorTest.evaluateInPage("performActions()"); |
18 }); | 16 }); |
19 WebInspector.TimelineModel._doNotAssignEndTime = true; | 17 WebInspector.TimelineModel._doNotAssignEndTime = true; |
20 | 18 |
21 InspectorTest.waitForRecordType("WebSocketDestroy", finish); | 19 InspectorTest.waitForRecordType("WebSocketDestroy", finish); |
(...skipping 14 matching lines...) Expand all Loading... |
36 </script> | 34 </script> |
37 </head> | 35 </head> |
38 | 36 |
39 <body onload="runTest()"> | 37 <body onload="runTest()"> |
40 <p> | 38 <p> |
41 Tests the Timeline events for WebSocket | 39 Tests the Timeline events for WebSocket |
42 </p> | 40 </p> |
43 | 41 |
44 </body> | 42 </body> |
45 </html> | 43 </html> |
OLD | NEW |