From e5a009ee981d90388f9d59a6a8ddc4910932397a Mon Sep 17 00:00:00 2001 From: ddh Date: Wed, 11 Apr 2018 21:29:03 +0100 Subject: [PATCH] added spec comments --- components/metrics/lib.rs | 2 ++ 1 file changed, 2 insertions(+) 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,