| 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 </script> | 19 </script> |
| 20 </head> | 20 </head> |
| 21 | 21 |
| 22 <body onload="runTest()"> | 22 <body onload="runTest()"> |
| 23 <p> | 23 <p> |
| 24 Tests the Timeline API instrumentation of ParseHTML | 24 Tests the Timeline API instrumentation of ParseHTML |
| 25 </p> | 25 </p> |
| 26 | 26 |
| 27 </body> | 27 </body> |
| 28 </html> | 28 </html> |
| OLD | NEW |