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

Unified Diff: tracing/tracing/metrics/system_health/expected_queueing_time_metric_test.html

Issue 2862103002: Fix main frame detection in loading metrics. (Closed)
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
Index: tracing/tracing/metrics/system_health/expected_queueing_time_metric_test.html
diff --git a/tracing/tracing/metrics/system_health/expected_queueing_time_metric_test.html b/tracing/tracing/metrics/system_health/expected_queueing_time_metric_test.html
index 9548fe9ad9f0b2b671dc47068922843a60a78c85..e6951335edeb545ce6d4c957193da30f0f5a93f5 100644
--- a/tracing/tracing/metrics/system_health/expected_queueing_time_metric_test.html
+++ b/tracing/tracing/metrics/system_health/expected_queueing_time_metric_test.html
@@ -27,6 +27,13 @@ tr.b.unittest.testSuite(function() {
frame: {id_ref: '0xdeadbeef'},
documentLoaderURL: 'http://example.com'
});
+ mainThread.sliceGroup.pushSlice(tr.c.TestUtils.newSliceEx({
+ cat: 'loading',
+ title: 'markAsMainFrame',
+ start: timestamp,
+ duration: 0.0,
+ args: {frame: '0xdeadbeef'}
+ }));
mainThread.sliceGroup.pushSlice(tr.c.TestUtils.newSliceEx({
cat: 'loading',
title: 'firstMeaningfulPaintCandidate',

Powered by Google App Engine
This is Rietveld 408576698