Skip to content

Commit b85cd91

Browse files
authored
Clarifies restrictions on navigation in receiving browsing contexts. (#436)
1 parent 2ec8ffa commit b85cd91

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

index.html

+19-5
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,11 @@ <h2>
402402
<dfn><a href=
403403
"https://www.w3.org/TR/html51/browsers.html#navigated">navigate</a></dfn>
404404
</li>
405+
<li>
406+
<dfn><a href=
407+
"https://www.w3.org/TR/html51/browsers.html#navigating-to-a-fragment-identifier">
408+
navigating to a fragment identifier</a></dfn>
409+
</li>
405410
<li>
406411
<a href=
407412
"https://www.w3.org/TR/html51/webappapis.html#navigator-navigator"><dfn>
@@ -2868,8 +2873,7 @@ <h4>
28682873
<li>Set the <a>session history</a> of <var>C</var> to be the empty
28692874
list.
28702875
</li>
2871-
<li>Set the <a>sandboxed top-level navigation browsing context
2872-
flag</a>, the <a>sandboxed modals flag</a>, and the <a>sandboxed
2876+
<li>Set the <a>sandboxed modals flag</a> and the <a>sandboxed
28732877
auxiliary navigation browsing context flag</a> on <var>C</var>.
28742878
</li>
28752879
<li>If the <a>receiving user agent</a> implements [[!PERMISSIONS]],
@@ -2911,9 +2915,19 @@ <h4>
29112915
"creating a new browsing context">created</a> by the presented
29122916
document, i.e. that have the <a>receiving browsing context</a> as
29132917
their <a data-lt="top-level browsing context">top-level browsing
2914-
context</a>, MUST also have restrictions 2-4 above. All of these
2915-
<a>browsing contexts</a> MUST also share the same browsing state
2916-
(storage) for features 5-10 listed above.
2918+
context</a>, MUST also have restrictions 2-4 above. In addition,
2919+
they MUST have the <a>sandboxed top-level navigation browsing
2920+
context flag</a> set. All of these <a>browsing contexts</a> MUST
2921+
also share the same browsing state (storage) for features 5-10
2922+
listed above.
2923+
</p>
2924+
<p>
2925+
The <a>top-level browsing context</a> MUST NOT be allowed to
2926+
navigate itself, except by <a>navigating to a fragment
2927+
identifier</a>. This allows the user to grant permission based on
2928+
the presentation URL shown when <a data-lt=
2929+
"select a presentation display">selecting a presentation
2930+
display</a>.
29172931
</p>
29182932
<p>
29192933
<a>Window clients</a> and <a>worker clients</a> associated with the

0 commit comments

Comments
 (0)