Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a landing attribute to PerformanceNavigationTiming #161

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions index.html
Expand Up @@ -379,6 +379,7 @@ <h3>
readonly attribute DOMHighResTimeStamp loadEventEnd;
readonly attribute NavigationType type;
readonly attribute unsigned short redirectCount;
readonly attribute boolean landing;
[Default] object toJSON();
};
</pre>
Expand Down Expand Up @@ -475,6 +476,15 @@ <h3>
<p class="note">This timestamp is measured after the user agent completes handling the
<a data-cite="HTML/parsing.html#the-end:event-event-load">load</a> event for the document.
</p>
<p data-dfn-for='PerformanceNavigationTiming'>
The <dfn>landing</dfn> getter steps are as following:
<ul>
<li><p>Let |document| be |this|'s [=relevant global object=]'s [=associated Document=].</p></li>
<li><p>Let |history entry| be |document|'s [=browsing context=]'s [=session history=]'s first entry.</p></li>
<li><p>If |history entry|'s [=session history entry/document=] equals |document|, return true.</p></li>
<li><p>Return false.</p></li>
</ul>
</p>
<p data-dfn-for='PerformanceNavigationTiming'>
The <dfn>type</dfn> getter steps are to run the |this|'s [=navigation type=].
</p>
Expand Down