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