| 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 simpleConsoleTime() | 7 function simpleConsoleTime() | 
| 8 { | 8 { | 
| 9     console.time("a"); | 9     console.time("a"); | 
| 10     console.timeEnd("a"); | 10     console.timeEnd("a"); | 
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 79         function dumpName(event, level) | 79         function dumpName(event, level) | 
| 80         { | 80         { | 
| 81             if (namesToDump.has(event.name)) | 81             if (namesToDump.has(event.name)) | 
| 82                 InspectorTest.addResult("----".repeat(level) + "> " + WebInspect
     or.TimelineUIUtils.eventTitle(event)); | 82                 InspectorTest.addResult("----".repeat(level) + "> " + WebInspect
     or.TimelineUIUtils.eventTitle(event)); | 
| 83         } | 83         } | 
| 84         function callback() | 84         function callback() | 
| 85         { | 85         { | 
| 86             InspectorTest.walkTimelineEventTree(dumpName); | 86             InspectorTest.walkTimelineEventTree(dumpName); | 
| 87             next(); | 87             next(); | 
| 88         } | 88         } | 
| 89         InspectorTest.evaluateWithTimeline(actions, InspectorTest.safeWrap(callb
     ack)); | 89         WebInspector.panels.timeline._captureJSProfileSetting.set(false); | 
|  | 90         InspectorTest.evaluateWithTimeline(actions, InspectorTest.safeWrap(callb
     ack), true); | 
| 90     } | 91     } | 
| 91 } | 92 } | 
| 92 | 93 | 
| 93 </script> | 94 </script> | 
| 94 </head> | 95 </head> | 
| 95 | 96 | 
| 96 <body onload="runTest()"> | 97 <body onload="runTest()"> | 
| 97 <p>Test nesting of time/timeEnd records on Timeline</p> | 98 <p>Test nesting of time/timeEnd records on Timeline</p> | 
| 98 | 99 | 
| 99 </body> | 100 </body> | 
| 100 </html> | 101 </html> | 
| OLD | NEW | 
|---|