Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(608)

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-time/timeline-time.html

Issue 2593273003: DevTools: Do not reset timeline recoring options on basic/advanced switch. (Closed)
Patch Set: more tests Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698