| 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="../tracing-test.js"></script> | 4 <script src="../tracing-test.js"></script> | 
| 5 <script> | 5 <script> | 
| 6 function test() | 6 function test() | 
| 7 { | 7 { | 
| 8     var sessionId = "6.23"; | 8     var sessionId = "6.23"; | 
| 9     var rawTraceEvents = [ | 9     var rawTraceEvents = [ | 
| 10     { | 10     { | 
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 281             InspectorTest.addResult(padding + name + ": " + timelineData.entryTo
     talTimes[i] + " @ " + timelineData.entryStartTimes[i]); | 281             InspectorTest.addResult(padding + name + ": " + timelineData.entryTo
     talTimes[i] + " @ " + timelineData.entryStartTimes[i]); | 
| 282         } | 282         } | 
| 283     } | 283     } | 
| 284 | 284 | 
| 285     Runtime.experiments.enableForTest("blackboxJSFramesOnTimeline"); | 285     Runtime.experiments.enableForTest("blackboxJSFramesOnTimeline"); | 
| 286     var tracingTimelineModel = InspectorTest.tracingTimelineModel(); | 286     var tracingTimelineModel = InspectorTest.tracingTimelineModel(); | 
| 287     tracingTimelineModel.setEventsForTest(rawTraceEvents); | 287     tracingTimelineModel.setEventsForTest(rawTraceEvents); | 
| 288     var dataProvider = new WebInspector.TimelineFlameChartDataProvider(tracingTi
     melineModel, new WebInspector.TracingTimelineFrameModel()); | 288     var dataProvider = new WebInspector.TimelineFlameChartDataProvider(tracingTi
     melineModel, new WebInspector.TracingTimelineFrameModel()); | 
| 289 | 289 | 
| 290     InspectorTest.addResult("\nBlackboxed url: lib_script.js"); | 290     InspectorTest.addResult("\nBlackboxed url: lib_script.js"); | 
| 291     WebInspector.BlackboxSupport.blackboxURL("lib_script.js"); | 291     WebInspector.blackboxManager.blackboxURL("lib_script.js"); | 
| 292     printTimelineData(dataProvider); | 292     printTimelineData(dataProvider); | 
| 293 | 293 | 
| 294     InspectorTest.addResult("\nUnblackboxed url: lib_script.js"); | 294     InspectorTest.addResult("\nUnblackboxed url: lib_script.js"); | 
| 295     WebInspector.BlackboxSupport.unblackbox("lib_script.js", false); | 295     WebInspector.blackboxManager.unblackbox("lib_script.js", false); | 
| 296     printTimelineData(dataProvider); | 296     printTimelineData(dataProvider); | 
| 297 | 297 | 
| 298     InspectorTest.completeTest(); | 298     InspectorTest.completeTest(); | 
| 299 } | 299 } | 
| 300 | 300 | 
| 301 </script> | 301 </script> | 
| 302 </head> | 302 </head> | 
| 303 <body onload="runTest()"> | 303 <body onload="runTest()"> | 
| 304 </body> | 304 </body> | 
| 305 </html> | 305 </html> | 
| OLD | NEW | 
|---|