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

Side by Side Diff: LayoutTests/inspector/tracing-session-id.html

Issue 270553005: Support warning decorations in Timeline flame chart based on trace events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed timeline tests Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/inspector/tracing.html ('k') | Source/devtools/devtools.gypi » ('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 4
5 <script> 5 <script>
6 function test() 6 function test()
7 { 7 {
8 WebInspector.inspectorView.showPanel("timeline");
8 var tracingModel = new WebInspector.TracingModel(); 9 var tracingModel = new WebInspector.TracingModel();
9 tracingModel.start(WebInspector.TracingModel.DevToolsMetadataEventCategory + ",-*", "", onTracingStarted); 10 tracingModel.start(WebInspector.TracingModel.DevToolsMetadataEventCategory + ",-*", "", onTracingStarted);
10 11
11 function onTracingStarted(error) 12 function onTracingStarted(error)
12 { 13 {
13 tracingModel.stop(processTracingEvents) 14 tracingModel.stop(processTracingEvents)
14 } 15 }
15 16
16 function processTracingEvents() 17 function processTracingEvents()
17 { 18 {
(...skipping 16 matching lines...) Expand all
34 } 35 }
35 } 36 }
36 </script> 37 </script>
37 38
38 <body onload="runTestAfterDisplay()"> 39 <body onload="runTestAfterDisplay()">
39 <p style="-webkit-transform: translateZ(10px)"> <!-- Force compositing so we hav e SetLayerTreeHostId event as well --> 40 <p style="-webkit-transform: translateZ(10px)"> <!-- Force compositing so we hav e SetLayerTreeHostId event as well -->
40 Tests that Tracing agent returns a session id upon a start that is matching one issued in trace events. 41 Tests that Tracing agent returns a session id upon a start that is matching one issued in trace events.
41 </p> 42 </p>
42 </body> 43 </body>
43 </html> 44 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/tracing.html ('k') | Source/devtools/devtools.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698