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
After #27, the proposal discusses how you can get the "duration of the navigation" via event.timeStamp - event.startTime, at least for same-document navigations. It has an open question about whether this should work for cross-document navigations (related to #31).
A larger question is whether this property-on-an-event design is the right approach at all. We need to coordinate with the WebPerf folks, e.g. @yoavweiss is apparently working on a way to generate PerformanceEntry instances for bfcache navigations, which have some similarities to same-document navigations. Maybe (probably?) we should just have same-document navigations be measured via the those performance timeline mechanisms as well.
The text was updated successfully, but these errors were encountered:
Closes#8 by renaming to something shorter, although not to the proposed name since navigationStart is apparently deprecated.
Closes#12 by changing the semantics to when the navigation is initiated to be more useful.
Points to #33 for further work on this area.
domenic
added
the
surface api
Minor tweaks or additions to the API surface to make it nicer (without changing the model)
label
Feb 17, 2021
The @w3ctag think that is makes sense to use the same primitive for this and bfcache navigations, but developers should be able to see what navigation type happened so that you can differentiate the two
This replaces our previous broken idea of using currentchange for this. Closes#59. Closes#33. #14 remains to track whether currentchange is actually useful.
This replaces our previous broken idea of using currentchange for duration tracking. Closes#59. Closes#33. Closes#14 by removing currentchange entirely for now (we can always add it back later if we see a use case).
After #27, the proposal discusses how you can get the "duration of the navigation" via
event.timeStamp - event.startTime
, at least for same-document navigations. It has an open question about whether this should work for cross-document navigations (related to #31).A larger question is whether this property-on-an-event design is the right approach at all. We need to coordinate with the WebPerf folks, e.g. @yoavweiss is apparently working on a way to generate
PerformanceEntry
instances for bfcache navigations, which have some similarities to same-document navigations. Maybe (probably?) we should just have same-document navigations be measured via the those performance timeline mechanisms as well.The text was updated successfully, but these errors were encountered: