Add a topLevelDomComplete metric.

This commit is contained in:
Alan Jeffrey 2017-12-14 16:48:19 -06:00
parent 26feea3be5
commit 074447e501
7 changed files with 59 additions and 0 deletions

View file

@ -29,4 +29,7 @@ interface PerformanceTiming {
readonly attribute unsigned long long domComplete;
readonly attribute unsigned long long loadEventStart;
readonly attribute unsigned long long loadEventEnd;
/* Servo-onnly attribute for measuring when the top-level document (not iframes) is complete. */
[Pref="dom.testperf.enabled"]
readonly attribute unsigned long long topLevelDomComplete;
};