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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/tracing/frame-model.html

Issue 2850193002: Timeline: fix frame offsets in Timeline details (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/tracing/frame-model-expected.txt » ('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/timeline-test.js"></script> 4 <script src="../../http/tests/inspector/timeline-test.js"></script>
5 <script src="../tracing-test.js"></script> 5 <script src="../tracing-test.js"></script>
6 <script> 6 <script>
7 function test() 7 function test()
8 { 8 {
9 var sessionId = "4.20"; 9 var sessionId = "4.20";
10 var mainThread = 1; 10 var mainThread = 1;
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 {"name": "ActivateLayerTree", "ts": 1296000, args: { "layerTreeId": 17 }, "ph": "I", "tid": implThread, "pid": 100, "cat":"disabled-by-default-devto ols.timeline" }, 273 {"name": "ActivateLayerTree", "ts": 1296000, args: { "layerTreeId": 17 }, "ph": "I", "tid": implThread, "pid": 100, "cat":"disabled-by-default-devto ols.timeline" },
274 {"name": "DrawFrame", "ts": 1296001, args: { "layerTreeId": 17 }, "p h": "I", "tid": implThread, "pid": 100, "cat":"disabled-by-default-devtools.time line" }, 274 {"name": "DrawFrame", "ts": 1296001, args: { "layerTreeId": 17 }, "p h": "I", "tid": implThread, "pid": 100, "cat":"disabled-by-default-devtools.time line" },
275 {"name": "DrawFrame", "ts": 1312000, args: { "layerTreeId": 17 }, "p h": "I", "tid": implThread, "pid": 100, "cat":"disabled-by-default-devtools.time line" }, 275 {"name": "DrawFrame", "ts": 1312000, args: { "layerTreeId": 17 }, "p h": "I", "tid": implThread, "pid": 100, "cat":"disabled-by-default-devtools.time line" },
276 ], 276 ],
277 }; 277 };
278 278
279 for (var testName in testData) { 279 for (var testName in testData) {
280 var data = testData[testName]; 280 var data = testData[testName];
281 var performanceModel = InspectorTest.createPerformanceModelWithEvents(co mmonMetadata.concat(data)); 281 var performanceModel = InspectorTest.createPerformanceModelWithEvents(co mmonMetadata.concat(data));
282 InspectorTest.addResult("Test: " + testName); 282 InspectorTest.addResult("Test: " + testName);
283 performanceModel.frameModel().frames().forEach(InspectorTest.dumpFrame, InspectorTest); 283 for (var frame of performanceModel.frameModel().frames()) {
284 InspectorTest.addResult(Timeline.TimelineUIUtils.frameDuration(frame ).textContent);
285 InspectorTest.dumpFrame(frame);
286 }
284 } 287 }
285 InspectorTest.completeTest(); 288 InspectorTest.completeTest();
286 } 289 }
287 290
288 </script> 291 </script>
289 </head> 292 </head>
290 293
291 <body onload="runTest()"> 294 <body onload="runTest()">
292 <p> 295 <p>
293 Test the frames are correctly built based on trace events 296 Test the frames are correctly built based on trace events
294 </p> 297 </p>
295 298
296 </body> 299 </body>
297 </html> 300 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/tracing/frame-model-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698