Closed Bug 1512705 Opened 6 years ago Closed 6 years ago

Add support to measure 'onload' event in tp6 pageload tests, and use that value for the top-level result

Categories

(Testing :: Raptor, enhancement)

Version 3
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1504013

People

(Reporter: rwood, Assigned: rwood)

References

Details

Add a new measurement type ('onload') to the raptor tp6 pageload tests. Make that value the top-level result - instead of using a geometric mean of all the measurement types, just use the 'onload' time so we can alert on that. For the other existing measurement types (fnbpaint, dcf, hero, ttfi) still measure those and report as subtests, but don't include those values in the overall result that is alerted upon.
Is this the correct API to use to measure this?

https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming/loadEventEnd

i.e. p.domContentLoadedEventEnd - p.domContentLoadedEventStart
Flags: needinfo?(acreskey)
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Flags: needinfo?(acreskey)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.