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

Side by Side Diff: LayoutTests/inspector/tracing/console-timeline.html

Issue 715803002: DevTools: merge TracingTimelineModel into TimelineModel (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/inspector/tracing-test.js ('k') | LayoutTests/inspector/tracing/decode-resize.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/console-test.js"></script> 4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script src="../../http/tests/inspector/timeline-test.js"></script> 5 <script src="../../http/tests/inspector/timeline-test.js"></script>
6 <script> 6 <script>
7 7
8 function startStopTimeline() 8 function startStopTimeline()
9 { 9 {
10 console.timeStamp("timestamp 0"); 10 console.timeStamp("timestamp 0");
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 function printTimelineAndTimestampEvents() { 238 function printTimelineAndTimestampEvents() {
239 panel._tracingModel.sortedProcesses().forEach(function(process) 239 panel._tracingModel.sortedProcesses().forEach(function(process)
240 { 240 {
241 process.sortedThreads().forEach(function(thread) 241 process.sortedThreads().forEach(function(thread)
242 { 242 {
243 thread.events().forEach(function(event) 243 thread.events().forEach(function(event)
244 { 244 {
245 if (event.category === WebInspector.TracingModel.ConsoleEvent Category) 245 if (event.category === WebInspector.TracingModel.ConsoleEvent Category)
246 InspectorTest.addResult(event.name); 246 InspectorTest.addResult(event.name);
247 else if (event.name === WebInspector.TracingTimelineModel.Rec ordType.TimeStamp) 247 else if (event.name === WebInspector.TimelineModel.RecordType .TimeStamp)
248 InspectorTest.addResult(event.args["data"]["message"]); 248 InspectorTest.addResult(event.args["data"]["message"]);
249 }); 249 });
250 }); 250 });
251 }); 251 });
252 } 252 }
253 } 253 }
254 254
255 </script> 255 </script>
256 </head> 256 </head>
257 257
258 <body onload="runTest()"> 258 <body onload="runTest()">
259 <p> 259 <p>
260 Tests console.timeline and timelineEnd commands. 260 Tests console.timeline and timelineEnd commands.
261 </p> 261 </p>
262 262
263 </body> 263 </body>
264 </html> 264 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/tracing-test.js ('k') | LayoutTests/inspector/tracing/decode-resize.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698