Skip to content
Permalink
Browse files

Add allow-presentation to sandbox flags

  • Loading branch information...
mounirlamouri authored and domenic committed May 27, 2016
1 parent 8f0f73c commit 0678e3de01a3ef83c5f6f0c017e7464ede1d8ec1
Showing with 24 additions and 4 deletions.
  1. +24 −4 source
28 source
data-x="attr-iframe-sandbox-allow-pointer-lock">allow-pointer-lock</code>, <code
data-x="attr-iframe-sandbox-allow-popups">allow-popups</code>, <code
data-x="attr-iframe-sandbox-allow-popups-to-escape-sandbox">allow-popups-to-escape-sandbox</code>,
<code data-x="attr-iframe-sandbox-allow-same-origin">allow-same-origin</code>, <code
<code data-x="attr-iframe-sandbox-allow-presentation">allow-presentation</code>, <code
data-x="attr-iframe-sandbox-allow-same-origin">allow-same-origin</code>, <code
data-x="attr-iframe-sandbox-allow-scripts">allow-scripts</code>, and <code
data-x="attr-iframe-sandbox-allow-top-navigation">allow-top-navigation</code>.</p>

data-x="attr-iframe-sandbox-allow-orientation-lock">allow-orientation-lock</code>, <code
data-x="attr-iframe-sandbox-allow-pointer-lock">allow-pointer-lock</code>, <code
data-x="attr-iframe-sandbox-allow-popups">allow-popups</code>, <code
data-x="attr-iframe-sandbox-allow-presentation">allow-presentation</code>, <code
data-x="attr-iframe-sandbox-allow-scripts">allow-scripts</code>, and <code
data-x="attr-iframe-sandbox-allow-popups-to-escape-sandbox">allow-popups-to-escape-sandbox</code>
keywords re-enable forms, modal dialogs, screen orientation lock, the pointer lock API, popups,
scripts, and the creation of unsandboxed <span>auxiliary browsing contexts</span> respectively.
<ref spec=POINTERLOCK> <ref spec=SCREENORIENTATION></p>
the presentation API, scripts, and the creation of unsandboxed <span>auxiliary browsing
contexts</span> respectively. <ref spec=POINTERLOCK> <ref spec=SCREENORIENTATION> <ref
spec=PRESENTATION></p>

<p class="warning">Setting both the <code
data-x="attr-iframe-sandbox-allow-scripts">allow-scripts</code> and <code

</dd>

</dl>
<dt>The <dfn>sandboxed presentation browsing context flag</dfn></dt>

<dd>

<p>This flag disables the Presentation API. <ref spec=PRESENTATION></p>

</dd>

</dl>

<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
optionally an <var>allow fullscreen flag</var>, it must run the following steps:</p>
data-x="attr-iframe-sandbox-allow-orientation-lock">allow-orientation-lock</code></dfn>
keyword.</p></li>

<li><p>The <span>sandboxed presentation browsing context flag</span>, unless <var>tokens</var>
contains the <dfn><code
data-x="attr-iframe-sandbox-allow-presentation">allow-presentation</code></dfn>
keyword.</p></li>

</ul>

</li>
"<code data-x="attr-iframe-sandbox-allow-pointer-lock">allow-pointer-lock</code>",
"<code data-x="attr-iframe-sandbox-allow-popups">allow-popups</code>",
"<code data-x="attr-iframe-sandbox-allow-popups-to-escape-sandbox">allow-popups-to-escape-sandbox</code>",
"<code data-x="attr-iframe-sandbox-allow-presentation">allow-presentation</code>",
"<code data-x="attr-iframe-sandbox-allow-same-origin">allow-same-origin</code>",
"<code data-x="attr-iframe-sandbox-allow-scripts">allow-scripts</code> and
"<code data-x="attr-iframe-sandbox-allow-top-navigation">allow-top-navigation</code>"
<dt id="refsPPUTF8">[PPUTF8]</dt>
<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>

<dt id="refsPRESENTATION">[PRESENTATION]</dt>
<dd><cite><a href="https://w3c.github.io/presentation-api/">Presentation API</a></cite>, M. Foltz, D. Röttsches. W3C.</dd>

<dt id="refsPSL">[PSL]</dt>
<dd><cite><a href="https://publicsuffix.org/">Public Suffix List</a></cite>.
Mozilla Foundation.</dd>

0 comments on commit 0678e3d

Please sign in to comment.
You can’t perform that action at this time.