| 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 testRunner.setDumpConsoleMessages(false); | 7 testRunner.setDumpConsoleMessages(false); |
| 8 | 8 |
| 9 function simpleConsoleTime() | 9 function simpleConsoleTime() |
| 10 { | 10 { |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 function dumpName(event, level) | 81 function dumpName(event, level) |
| 82 { | 82 { |
| 83 if (namesToDump.has(event.name)) | 83 if (namesToDump.has(event.name)) |
| 84 InspectorTest.addResult("----".repeat(level) + "> " + Timeline.T
imelineUIUtils.eventTitle(event)); | 84 InspectorTest.addResult("----".repeat(level) + "> " + Timeline.T
imelineUIUtils.eventTitle(event)); |
| 85 } | 85 } |
| 86 function callback() | 86 function callback() |
| 87 { | 87 { |
| 88 InspectorTest.walkTimelineEventTree(dumpName); | 88 InspectorTest.walkTimelineEventTree(dumpName); |
| 89 next(); | 89 next(); |
| 90 } | 90 } |
| 91 UI.panels.timeline._landingPage._tabbedPane.selectTab(Timeline.TimelineL
andingPage.PageId.Advanced); |
| 91 UI.panels.timeline._captureJSProfileSetting.set(false); | 92 UI.panels.timeline._captureJSProfileSetting.set(false); |
| 92 InspectorTest.evaluateWithTimeline(actions, InspectorTest.safeWrap(callb
ack), true); | 93 InspectorTest.evaluateWithTimeline(actions, InspectorTest.safeWrap(callb
ack), true); |
| 93 } | 94 } |
| 94 } | 95 } |
| 95 | 96 |
| 96 </script> | 97 </script> |
| 97 </head> | 98 </head> |
| 98 | 99 |
| 99 <body onload="runTest()"> | 100 <body onload="runTest()"> |
| 100 <p>Test nesting of time/timeEnd records on Timeline</p> | 101 <p>Test nesting of time/timeEnd records on Timeline</p> |
| 101 | 102 |
| 102 </body> | 103 </body> |
| 103 </html> | 104 </html> |
| OLD | NEW |