diff --git a/components/metrics/lib.rs b/components/metrics/lib.rs index 59657738e571..1a17f75ca93b 100644 --- a/components/metrics/lib.rs +++ b/components/metrics/lib.rs @@ -102,6 +102,7 @@ fn set_metric( } +// spec: https://github.com/WICG/time-to-interactive // https://github.com/GoogleChrome/lighthouse/issues/27 // we can look at three different metrics here: // navigation start -> visually ready (dom content loaded) @@ -259,6 +260,7 @@ impl ProgressiveWebMetric for InteractiveMetrics { } } +// https://w3c.github.io/paint-timing/ pub struct PaintTimeMetrics { pending_metrics: RefCell, bool)>>, navigation_start: Option,