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() | 7 function performActions() |
8 { | 8 { |
9 var element = document.createElement("div"); | 9 var element = document.createElement("div"); |
10 element.innerHTML = "Test data"; | 10 element.innerHTML = "Test data"; |
11 document.body.appendChild(element); | 11 document.body.appendChild(element); |
12 } | 12 } |
13 | 13 |
14 function test() | 14 function test() |
15 { | 15 { |
16 InspectorTest.performActionsAndPrint("performActions()", "ParseHTML"); | 16 InspectorTest.performActionsAndPrint("performActions()", "ParseHTML"); |
17 } | 17 } |
18 | 18 |
19 if (!window.testRunner) | 19 if (!window.testRunner) |
20 setTimeout(performActions, 2000); | 20 setTimeout(performActions, 2000); |
21 | 21 |
22 </script> | 22 </script> |
23 </head> | 23 </head> |
24 | 24 |
25 <body onload="runTest()"> | 25 <body onload="runTest()"> |
26 <p> | 26 <p> |
27 Tests the Timeline API instrumentation of ParseHTML | 27 Tests the Timeline API instrumentation of ParseHTML |
28 </p> | 28 </p> |
29 | 29 |
30 </body> | 30 </body> |
31 </html> | 31 </html> |
OLD | NEW |