-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Description
Based on my reading of the spec performance.timing.navigationStart seems to be the same as time origin as specified in hr-time spec. The wording is not exactly the same so I may be mistaken.
If my interpretation is correct then I think we should spell this relationship explicitly in this spec and perhaps align the texts. Otherwise, I think they should be made the same. :)
hr-spec definition
If the global object [HTML51] is a Window object, the time origin must be equal to:
- the time when the browsing context is first created if there is no previous document;
- otherwise, the time of the user confirming the navigation if a confirmation dialog is displayed during the prompt to unload algorithm;
- otherwise, the time of starting the navigation responsible for loading the Window object's newest Document object.
navigation-timing-2 definition
This attribute must return the time immediately after the user agent finishes prompting to unload the previous document. If there is no previous document, this attribute must return the time the current document is created.
where
current document = Window object's newest Document object.