| 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 script = document.createElement("script"); | |
| 10 script.textContent = "function noop1() {} \n//# sourceURL=script-content.js"
; | |
| 11 document.body.appendChild(script); | |
| 12 eval("function noop2() {} \n//# sourceURL=script-content.js"); | |
| 13 | |
| 14 script = document.createElement("script"); | |
| 15 script.src = "timeline-script-tag-2.js"; | |
| 16 document.body.appendChild(script); | |
| 17 } | |
| 18 | |
| 19 function test() | |
| 20 { | |
| 21 InspectorTest.performActionsAndPrint("performActions()", WebInspector.Timeli
neModel.RecordType.CompileScript); | |
| 22 } | |
| 23 | |
| 24 </script> | |
| 25 </head> | |
| 26 | |
| 27 <body onload="runTest()"> | |
| 28 <p> | |
| 29 Tests the Timeline instrumentation for CompileScript event. | |
| 30 </p> | |
| 31 | |
| 32 </body> | |
| 33 </html> | |
| OLD | NEW |