Skip to content

Clarify self-navigation behavior in a presentation. #461

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

Merged
merged 4 commits into from
Apr 5, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 21 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,11 @@ <h2>
"https://www.w3.org/TR/html51/browsers.html#active-sandboxing-flag-set">
active sandboxing flag set</a></dfn>
</li>
<li>
<dfn><a href=
"https://www.w3.org/TR/html51/browsers.html#allowed-to-navigate">allowed
to navigate</a></dfn>
</li>
<li>
<dfn><a href=
"https://www.w3.org/TR/html51/browsers.html#allowed-to-show-a-popup">allowed
Expand Down Expand Up @@ -398,7 +403,7 @@ <h2>
list of descendant browsing contexts</a></dfn>
</li>
<li>
<dfn><a href=
<dfn data-lt="steps to navigate"><a href=
"https://www.w3.org/TR/html51/browsers.html#navigated">navigate</a></dfn>
</li>
<li>
Expand Down Expand Up @@ -3057,14 +3062,25 @@ <h4>
listed above.
</p>
<p>
The <a>top-level browsing context</a> MUST NOT be allowed to
navigate itself, except by <a>navigating to a fragment
identifier</a> or by <a data-lt="reload a document">reloading its
document</a>. This allows the user to grant permission based on the
When the <a>top-level browsing context</a> attempts to navigate to
a new resource and runs the <a>steps to navigate</a>, it MUST
follow step 1 to determine if it is <a>allowed to navigate</a>. In
addition, it MUST NOT be allowed to navigate itself to a new
resource, except by <a>navigating to a fragment identifier</a> or
by <a data-lt="reload a document">reloading its document</a>.
</p>
<p class="note">
This allows the user to grant permission based on the origin of the
presentation URL shown when <a data-lt=
"select a presentation display">selecting a presentation
display</a>.
</p>
<p>
If the top-level-browsing context was not <a>allowed to
navigate</a>, it SHOULD NOT offer to open the resource in a new
<a>top-level browsing context</a>, but otherwise SHOULD be
consistent with the <a>steps to navigate</a>.
</p>
<p>
<a>Window clients</a> and <a>worker clients</a> associated with the
<a>receiving browsing context</a> and its <a>list of descendant
Expand Down