| Index: third_party/WebKit/LayoutTests/inspector/tracing/trace-event-self-time.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/trace-event-self-time.html b/third_party/WebKit/LayoutTests/inspector/tracing/trace-event-self-time.html
|
| index 17a8a92340ac3e5f90b313236158287dc3568dee..4885de199fd7cb6665835b68dc5256bf9f87f240 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/tracing/trace-event-self-time.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/tracing/trace-event-self-time.html
|
| @@ -260,8 +260,8 @@ function test()
|
| ];
|
|
|
| var cpuProfile = {
|
| - startTime: 420,
|
| - endTime: 430,
|
| + startTime: 420e3,
|
| + endTime: 430e3,
|
| nodes: [
|
| {
|
| callFrame: { functionName: "(root)" },
|
| @@ -284,8 +284,8 @@ function test()
|
| children: []
|
| }
|
| ],
|
| - timestamps: [421000, 422000, 423000, 424000, 425000, 426000, 427000, 428000, 429000],
|
| - samples: [2, 2, 3, 3, 3, 4, 4, 2, 2 ]
|
| + timestampDeltas: new Array(9).fill(1000),
|
| + samples: [2, 2, 3, 3, 3, 4, 4, 2, 2]
|
| };
|
|
|
| var timelineController = InspectorTest.timelineController();
|
| @@ -293,7 +293,7 @@ function test()
|
| timelineController.traceEventsCollected(rawTraceEvents);
|
| timelineController._allSourcesFinished();
|
| var events = InspectorTest.timelineModel().inspectedTargetEvents();
|
| - events.forEach(e => InspectorTest.addResult(e.name + ": " + e.startTime + " " + (e.selfTime || 0).toFixed(2) + "/" + (e.duration || 0).toFixed(2)));
|
| + events.forEach(e => InspectorTest.addResult(`${e.name}: ${e.startTime} ${(e.selfTime || 0).toFixed(2)}/${(e.duration || 0).toFixed(2)}`));
|
| InspectorTest.completeTest();
|
| }
|
|
|
|
|