| OLD | NEW |
| 1 function wrapCallFunctionForTimeline(f) | |
| 2 { | |
| 3 var script = document.createElement("script"); | |
| 4 script.textContent = "(" + f.toString() + ")()\n//# sourceURL=wrapCallFuncti
onForTimeline.js"; | |
| 5 document.body.appendChild(script); | |
| 6 } | |
| 7 | |
| 8 var initialize_Timeline = function() { | 1 var initialize_Timeline = function() { |
| 9 | 2 |
| 10 InspectorTest.preloadPanel("timeline"); | 3 InspectorTest.preloadPanel("timeline"); |
| 11 WebInspector.TempFile = InspectorTest.TempFileMock; | 4 WebInspector.TempFile = InspectorTest.TempFileMock; |
| 12 | 5 |
| 13 // Scrub values when printing out these properties in the record or data field. | 6 // Scrub values when printing out these properties in the record or data field. |
| 14 InspectorTest.timelinePropertyFormatters = { | 7 InspectorTest.timelinePropertyFormatters = { |
| 15 children: "formatAsTypeName", | 8 children: "formatAsTypeName", |
| 16 endTime: "formatAsTypeName", | 9 endTime: "formatAsTypeName", |
| 17 requestId: "formatAsTypeName", | 10 requestId: "formatAsTypeName", |
| (...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 if (!--count) { | 458 if (!--count) { |
| 466 callback(); | 459 callback(); |
| 467 return; | 460 return; |
| 468 } | 461 } |
| 469 if (window.testRunner) | 462 if (window.testRunner) |
| 470 testRunner.capturePixelsAsyncThen(requestAnimationFrame.bind(window,
makeFrame)); | 463 testRunner.capturePixelsAsyncThen(requestAnimationFrame.bind(window,
makeFrame)); |
| 471 else | 464 else |
| 472 window.requestAnimationFrame(makeFrame); | 465 window.requestAnimationFrame(makeFrame); |
| 473 } | 466 } |
| 474 } | 467 } |
| OLD | NEW |