forked from bluesmoon/boomerang
-
Notifications
You must be signed in to change notification settings - Fork 290
Open
Description
We should ensure the Time to Visually Ready (TTVR) and Time to Interactive (TTI) metrics are correct (or skipped) when the page is loaded hidden (or goes through hidden-visible transitions).
If the page loads hidden, the First Paint and First Contentful Paint events may not fire until the page is foregrounded. In addition, setTimeout, requestAnimationFrame and other things we use to monitor TTVR/TTI may not fire reliably. In many cases, it's not until the page comes back to visible that these paints/callbacks happen. This can skew our calculations and make TTVR/TTI reflect the user-interaction (of foregrounding) rather than the page's lifecycle.
Related:
Metadata
Metadata
Assignees
Labels
No labels