You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 1, 2022. It is now read-only.
In the documentation minValue is described as "The lower bound to start forward-searching for the quiet window. If no value is set, the default is after the DOMContentLoaded event."
Looking at the code, it seems like the only time minValue is used is in the return value of computeFirstConsistentlyInteractive:
In this case it seems like the forward-searching for the quiet window happens first, and then the evaluated tti is just compared with minValue at the end. Am I missing something? Ideally I would like a minValue parameter that behaved as per the description. A motivating example would be measuring tti on a client-side route, where a batch of activity would occur well after the initial page load.
In the documentation
minValueis described as "The lower bound to start forward-searching for the quiet window. If no value is set, the default is after the DOMContentLoaded event."Looking at the code, it seems like the only time minValue is used is in the return value of
computeFirstConsistentlyInteractive:tti-polyfill/src/firstConsistentlyInteractiveCore.js
Line 36 in 4b5058e
Then that value is immediately resolved:
tti-polyfill/src/firstConsistentlyInteractiveDetector.js
Line 380 in 4b5058e
In this case it seems like the forward-searching for the quiet window happens first, and then the evaluated tti is just compared with minValue at the end. Am I missing something? Ideally I would like a minValue parameter that behaved as per the description. A motivating example would be measuring tti on a client-side route, where a batch of activity would occur well after the initial page load.