File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -2824,6 +2824,7 @@ TODO: Link to the definition in the HTML spec.
2824
2824
browsingContext.NavigationInfo = {
2825
2825
context: browsingContext.BrowsingContext,
2826
2826
navigation: browsingContext.Navigation / null,
2827
+ timestamp: js-uint,
2827
2828
url: text,
2828
2829
}
2829
2830
</pre>
@@ -2837,13 +2838,15 @@ To <dfn>get the navigation info</dfn>, given |context| and |navigation status|:
2837
2838
2838
2839
1. Let |navigation id| be |navigation status|'s id.
2839
2840
2841
+ 1. Let |timestamp| be a [=time value=] representing the current date and time in UTC.
2842
+
2840
2843
1. Let |url| be |navigation status|'s url.
2841
2844
2842
- 1. Return a [=map=] matching the
2843
- <code> browsingContext.NavigationInfo </code> production, with the
2844
- <code> context </code> field set to |context id|, the <code> navigation </code>
2845
- field set to |navigation id |, and the <code> url</code> field set to the
2846
- result of the [=URL serializer=] given |url|.
2845
+ 1. Return a [=map=] matching the <code> browsingContext.NavigationInfo </code>
2846
+ production, with the <code> context </code> field set to |context id|, the
2847
+ <code> navigation </code> field set to |navigation id|, the
2848
+ <code> timestamp </code> field set to |timestamp |, and the <code> url</code>
2849
+ field set to the result of the [=URL serializer=] given |url|.
2847
2850
2848
2851
</div>
2849
2852
You can’t perform that action at this time.
0 commit comments