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

Side by Side Diff: LayoutTests/inspector/tracing-test.js

Issue 308123008: DevTools: added support for image url & node in tracing-based timeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: skip check for presence of endData in Layout Created 6 years, 6 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 function initialize_TracingTest() 1 function initialize_TracingTest()
2 { 2 {
3 3
4 // FIXME: remove when tracing is out of experimental 4 // FIXME: remove when tracing is out of experimental
5 WebInspector.inspectorView.showPanel("timeline"); 5 WebInspector.inspectorView.showPanel("timeline");
6 InspectorTest.tracingModel = new WebInspector.TracingModel(); 6 InspectorTest.tracingModel = new WebInspector.TracingModel();
7 7
8 InspectorTest.invokeWithTracing = function(categoryFilter, functionName, callbac k) 8 InspectorTest.invokeWithTracing = function(categoryFilter, functionName, callbac k)
9 { 9 {
10 InspectorTest.tracingModel.start(categoryFilter, "", onTracingStarted); 10 InspectorTest.tracingModel.start(categoryFilter, "", onTracingStarted);
11 11
12 function onTracingStarted(error) 12 function onTracingStarted(error)
13 { 13 {
14 InspectorTest.invokePageFunctionAsync(functionName, onPageActionsDone) 14 InspectorTest.invokePageFunctionAsync(functionName, onPageActionsDone);
15 } 15 }
16 16
17 function onPageActionsDone() 17 function onPageActionsDone()
18 { 18 {
19 InspectorTest.tracingModel.stop(callback); 19 InspectorTest.tracingModel.stop(InspectorTest.safeWrap(callback));
20 } 20 }
21 } 21 }
22 22
23 } 23 }
OLDNEW
« no previous file with comments | « LayoutTests/inspector/timeline/tracing/decode-resize-expected.txt ('k') | Source/core/inspector/InspectorTraceEvents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698