Skip to content
Permalink
Browse files

Add allow-orientation-lock to sandbox flags

  • Loading branch information...
mounirlamouri authored and domenic committed May 27, 2016
1 parent 98895af commit 8f0f73c1b061a8ccee57c6878d8474b43c73aaeb
Showing with 22 additions and 2 deletions.
  1. +22 −2 source
24 source
case-insensitive</span>. The allowed values are <code
data-x="attr-iframe-sandbox-allow-forms">allow-forms</code>, <code
data-x="attr-iframe-sandbox-allow-modals">allow-modals</code>, <code
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-popups-to-escape-sandbox">allow-popups-to-escape-sandbox</code>,
keyword allows the content to <span>navigate</span> its <span>top-level browsing context</span>;
and the <code data-x="attr-iframe-sandbox-allow-forms">allow-forms</code>, <code
data-x="attr-iframe-sandbox-allow-modals">allow-modals</code>, <code
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-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, the pointer lock API, popups, scripts, and the creation
of unsandboxed <span>auxiliary browsing contexts</span> respectively. <ref spec=POINTERLOCK></p>
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>

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

</dd>

<dt>The <dfn>sandboxed orientation lock browsing context flag</dfn></dt>

<dd>

<p>This flag disables the ability to lock the screen orientation. <ref
spec=SCREENORIENTATION></p>

</dd>

</dl>

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

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

</ul>

</li>
<td> <span>Unordered set of unique space-separated tokens</span>, <span>ASCII case-insensitive</span>, consisting of
"<code data-x="attr-iframe-sandbox-allow-forms">allow-forms</code>",
"<code data-x="attr-iframe-sandbox-allow-modals">allow-modals</code>",
"<code 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-popups-to-escape-sandbox">allow-popups-to-escape-sandbox</code>",
<dt id="refsRFC7578">[RFC7578]</dt>
<dd><cite><a href="https://tools.ietf.org/html/rfc7578">Returning Values from Forms: multipart/form-data</a></cite>, L. Masinter. IETF.</dd>

<dt id="refsSCREENORIENTATION">[SCREENORIENTATION]</dt>
<dd><cite><a href="https://w3c.github.io/screen-orientation/">Screen Orientation API</a></cite>, M. Lamouri, M. Cáceres. W3C.</dd>

<dt id="refsSCSU">[SCSU]</dt>
<dd>(Non-normative) <cite><a href="http://www.unicode.org/reports/tr6/">UTR #6: A Standard Compression Scheme For Unicode</a></cite>, M. Wolf, K. Whistler, C. Wicksteed, M. Davis, A. Freytag, M. Scherer. Unicode Consortium.</dd>

0 comments on commit 8f0f73c

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