OLD | NEW |
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/timeline-test.js"></script> | 4 <script src="../../../http/tests/inspector/timeline-test.js"></script> |
5 <script> | 5 <script> |
6 | 6 |
7 function performActions(callback) | 7 function performActions(callback) |
8 { | 8 { |
9 var timerOne = setTimeout("1 + 1", 10); | 9 var timerOne = setTimeout("1 + 1", 10); |
10 var timerTwo = setInterval(intervalTimerWork, 20); | 10 var timerTwo = setInterval(intervalTimerWork, 20); |
11 var iteration = 0; | 11 var iteration = 0; |
12 | 12 |
13 function intervalTimerWork() | 13 function intervalTimerWork() |
14 { | 14 { |
(...skipping 25 matching lines...) Expand all Loading... |
40 | 40 |
41 </script> | 41 </script> |
42 </head> | 42 </head> |
43 | 43 |
44 <body onload="runTest()"> | 44 <body onload="runTest()"> |
45 <p> | 45 <p> |
46 Tests the Timeline events for Timers | 46 Tests the Timeline events for Timers |
47 </p> | 47 </p> |
48 </body> | 48 </body> |
49 </html> | 49 </html> |
OLD | NEW |