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

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

Issue 396803008: Remove some of timeline experiments (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
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="tracing-test.js"></script> 4 <script src="tracing-test.js"></script>
5 5
6 <script> 6 <script>
7 function test() 7 function test()
8 { 8 {
9 WebInspector.inspectorView.showPanel("timeline"); 9 WebInspector.inspectorView.showPanel("timeline");
10 InspectorTest.invokeWithTracing("-*," + WebInspector.TracingModel.DevToolsMe tadataEventCategory, "(function(callback) { callback(); })", processTracingEvent s); 10 InspectorTest.invokeWithTracing("(function(callback) { callback(); })", proc essTracingEvents);
11 11
12 function processTracingEvents() 12 function processTracingEvents()
13 { 13 {
14 InspectorTest.tracingModel.sortedProcesses().forEach(function(process) { 14 InspectorTest.tracingModel.sortedProcesses().forEach(function(process) {
15 process.sortedThreads().forEach(function(thread) { 15 process.sortedThreads().forEach(function(thread) {
16 thread.events().forEach(processEvent); 16 thread.events().forEach(processEvent);
17 }); 17 });
18 }); 18 });
19 InspectorTest.completeTest(); 19 InspectorTest.completeTest();
20 } 20 }
(...skipping 13 matching lines...) Expand all
34 } 34 }
35 } 35 }
36 </script> 36 </script>
37 37
38 <body onload="runTestAfterDisplay()"> 38 <body onload="runTestAfterDisplay()">
39 <p style="-webkit-transform: translateZ(10px)"> <!-- Force compositing so we hav e SetLayerTreeHostId event as well --> 39 <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. 40 Tests that Tracing agent returns a session id upon a start that is matching one issued in trace events.
41 </p> 41 </p>
42 </body> 42 </body>
43 </html> 43 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698