Skip to content

Commit 0678e3d

Browse files
mounirlamouridomenic
authored andcommitted
Add allow-presentation to sandbox flags
Fixes w3c/presentation-api#299.
1 parent 8f0f73c commit 0678e3d

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

source

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27990,7 +27990,8 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
2799027990
data-x="attr-iframe-sandbox-allow-pointer-lock">allow-pointer-lock</code>, <code
2799127991
data-x="attr-iframe-sandbox-allow-popups">allow-popups</code>, <code
2799227992
data-x="attr-iframe-sandbox-allow-popups-to-escape-sandbox">allow-popups-to-escape-sandbox</code>,
27993-
<code data-x="attr-iframe-sandbox-allow-same-origin">allow-same-origin</code>, <code
27993+
<code data-x="attr-iframe-sandbox-allow-presentation">allow-presentation</code>, <code
27994+
data-x="attr-iframe-sandbox-allow-same-origin">allow-same-origin</code>, <code
2799427995
data-x="attr-iframe-sandbox-allow-scripts">allow-scripts</code>, and <code
2799527996
data-x="attr-iframe-sandbox-allow-top-navigation">allow-top-navigation</code>.</p>
2799627997

@@ -28006,11 +28007,13 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
2800628007
data-x="attr-iframe-sandbox-allow-orientation-lock">allow-orientation-lock</code>, <code
2800728008
data-x="attr-iframe-sandbox-allow-pointer-lock">allow-pointer-lock</code>, <code
2800828009
data-x="attr-iframe-sandbox-allow-popups">allow-popups</code>, <code
28010+
data-x="attr-iframe-sandbox-allow-presentation">allow-presentation</code>, <code
2800928011
data-x="attr-iframe-sandbox-allow-scripts">allow-scripts</code>, and <code
2801028012
data-x="attr-iframe-sandbox-allow-popups-to-escape-sandbox">allow-popups-to-escape-sandbox</code>
2801128013
keywords re-enable forms, modal dialogs, screen orientation lock, the pointer lock API, popups,
28012-
scripts, and the creation of unsandboxed <span>auxiliary browsing contexts</span> respectively.
28013-
<ref spec=POINTERLOCK> <ref spec=SCREENORIENTATION></p>
28014+
the presentation API, scripts, and the creation of unsandboxed <span>auxiliary browsing
28015+
contexts</span> respectively. <ref spec=POINTERLOCK> <ref spec=SCREENORIENTATION> <ref
28016+
spec=PRESENTATION></p>
2801428017

2801528018
<p class="warning">Setting both the <code
2801628019
data-x="attr-iframe-sandbox-allow-scripts">allow-scripts</code> and <code
@@ -79543,7 +79546,15 @@ callback <dfn>FrameRequestCallback</dfn> = void (<span>DOMHighResTimeStamp</span
7954379546

7954479547
</dd>
7954579548

79546-
</dl>
79549+
<dt>The <dfn>sandboxed presentation browsing context flag</dfn></dt>
79550+
79551+
<dd>
79552+
79553+
<p>This flag disables the Presentation API. <ref spec=PRESENTATION></p>
79554+
79555+
</dd>
79556+
79557+
</dl>
7954779558

7954879559
<p>When the user agent is to <dfn>parse a sandboxing directive</dfn>, given a string <var>input</var>, a <span>sandboxing flag set</span> <var>output</var>, and
7954979560
optionally an <var>allow fullscreen flag</var>, it must run the following steps:</p>
@@ -79630,6 +79641,11 @@ callback <dfn>FrameRequestCallback</dfn> = void (<span>DOMHighResTimeStamp</span
7963079641
data-x="attr-iframe-sandbox-allow-orientation-lock">allow-orientation-lock</code></dfn>
7963179642
keyword.</p></li>
7963279643

79644+
<li><p>The <span>sandboxed presentation browsing context flag</span>, unless <var>tokens</var>
79645+
contains the <dfn><code
79646+
data-x="attr-iframe-sandbox-allow-presentation">allow-presentation</code></dfn>
79647+
keyword.</p></li>
79648+
7963379649
</ul>
7963479650

7963579651
</li>
@@ -116006,6 +116022,7 @@ interface <dfn>External</dfn> {
116006116022
"<code data-x="attr-iframe-sandbox-allow-pointer-lock">allow-pointer-lock</code>",
116007116023
"<code data-x="attr-iframe-sandbox-allow-popups">allow-popups</code>",
116008116024
"<code data-x="attr-iframe-sandbox-allow-popups-to-escape-sandbox">allow-popups-to-escape-sandbox</code>",
116025+
"<code data-x="attr-iframe-sandbox-allow-presentation">allow-presentation</code>",
116009116026
"<code data-x="attr-iframe-sandbox-allow-same-origin">allow-same-origin</code>",
116010116027
"<code data-x="attr-iframe-sandbox-allow-scripts">allow-scripts</code> and
116011116028
"<code data-x="attr-iframe-sandbox-allow-top-navigation">allow-top-navigation</code>"
@@ -118009,6 +118026,9 @@ INSERT INTERFACES HERE
118009118026
<dt id="refsPPUTF8">[PPUTF8]</dt>
118010118027
<dd>(Non-normative) <cite><a href="http://www.sw.it.aoyama.ac.jp/2012/pub/IUC11-UTF-8.pdf">The Properties and Promises <!-- Promizes (sic) --> of UTF-8</a></cite>, M. D&uuml;rst. University of Z&uuml;rich. In <cite>Proceedings of the 11th International Unicode Conference</cite>.</dd>
118011118028

118029+
<dt id="refsPRESENTATION">[PRESENTATION]</dt>
118030+
<dd><cite><a href="https://w3c.github.io/presentation-api/">Presentation API</a></cite>, M. Foltz, D. Röttsches. W3C.</dd>
118031+
118012118032
<dt id="refsPSL">[PSL]</dt>
118013118033
<dd><cite><a href="https://publicsuffix.org/">Public Suffix List</a></cite>.
118014118034
Mozilla Foundation.</dd>

0 commit comments

Comments
 (0)