You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><p>If <var>permission</var> is "<code>default</code>" and the method call was not <a>triggered by user activation</a>, then reject <var>promise</var> with a
206
-
<code>NotAllowedError</code>exception and abort these steps.
206
+
{{NotAllowedError!!exception}}{{DOMException}} and abort these steps.
207
207
208
208
<li><p>If <var>permission</var> is "<code>default</code>", ask the user whether sharing device orientation
209
209
for the <a>relevant settings object</a>'s
@@ -391,7 +391,7 @@ The static {{DeviceMotionEvent/requestPermission()}} operation, when invoked, mu
<li><p>If <var>permission</var> is "<code>default</code>" and the method call was not <a>triggered by user activation</a>, then reject <var>promise</var> with a
394
-
<code>NotAllowedError</code> exception and abort these steps.
394
+
{{NotAllowedError!!exception}} {{DOMException}} and abort these steps.
395
395
396
396
<li><p>If <var>permission</var> is "<code>default</code>", ask the user whether sharing device motion
W3C maintains a <ahref="https://www.w3.org/2004/01/pp-impl/43696/status" rel="disclosure">public list of any patent disclosures</a> made in connection with the deliverables of the group;
1516
1515
that page also includes instructions for disclosing a patent.
1517
1516
An individual who has actual knowledge of a patent which the individual believes contains <ahref="https://www.w3.org/Consortium/Patent-Policy/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <ahref="https://www.w3.org/Consortium/Patent-Policy/#sec-Disclosure">section 6 of the W3C Patent Policy</a>. </p>
1518
-
<p> This document is governed by the <ahref="https://www.w3.org/2018/Process-20180201/" id="w3c_process_revision">1 February 2018 W3C Process Document</a>. </p>
1517
+
<p> This document is governed by the <ahref="https://www.w3.org/2019/Process-20190301/" id="w3c_process_revision">1 March 2019 W3C Process Document</a>. </p>
<p>Let <var>permission</var> be <adata-link-type="dfn" href="#permission" id="ref-for-permission">permission</a> for <adata-link-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#relevant-settings-object" id="ref-for-relevant-settings-object">relevant settings object</a>’s <adata-link-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#concept-settings-object-origin" id="ref-for-concept-settings-object-origin">origin</a>. </p>
1688
1687
<li>
1689
-
<p>If <var>permission</var> is "<code>default</code>" and the method call was not <adata-link-type="dfn" href="https://html.spec.whatwg.org/multipage/interaction.html#triggered-by-user-activation" id="ref-for-triggered-by-user-activation">triggered by user activation</a>, then reject <var>promise</var> with a <code>NotAllowedError</code>exception and abort these steps. </p>
1688
+
<p>If <var>permission</var> is "<code>default</code>" and the method call was not <adata-link-type="dfn" href="https://html.spec.whatwg.org/multipage/interaction.html#triggered-by-user-activation" id="ref-for-triggered-by-user-activation">triggered by user activation</a>, then reject <var>promise</var> with a <codeclass="idl"><aclass="idl-code" data-link-type="exception" href="https://heycam.github.io/webidl/#notallowederror" id="ref-for-notallowederror">NotAllowedError</a></code><codeclass="idl"><adata-link-type="idl" href="https://heycam.github.io/webidl/#idl-DOMException" id="ref-for-idl-DOMException">DOMException</a></code> and abort these steps. </p>
1690
1689
<li>
1691
1690
<p>If <var>permission</var> is "<code>default</code>", ask the user whether sharing device orientation
1692
1691
for the <adata-link-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#relevant-settings-object" id="ref-for-relevant-settings-object①">relevant settings object</a>’s <adata-link-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#concept-settings-object-origin" id="ref-for-concept-settings-object-origin①">origin</a> is acceptable. If it is, set <var>permission</var> to "<code>granted</code>", and "<code>denied</code>" otherwise. </p>
<p>Let <var>permission</var> be <adata-link-type="dfn" href="#permission" id="ref-for-permission②">permission</a> for <adata-link-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#relevant-settings-object" id="ref-for-relevant-settings-object③">relevant settings object</a>’s <adata-link-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#concept-settings-object-origin" id="ref-for-concept-settings-object-origin③">origin</a>. </p>
1836
1835
<li>
1837
-
<p>If <var>permission</var> is "<code>default</code>" and the method call was not <adata-link-type="dfn" href="https://html.spec.whatwg.org/multipage/interaction.html#triggered-by-user-activation" id="ref-for-triggered-by-user-activation①">triggered by user activation</a>, then reject <var>promise</var> with a <code>NotAllowedError</code>exception and abort these steps. </p>
1836
+
<p>If <var>permission</var> is "<code>default</code>" and the method call was not <adata-link-type="dfn" href="https://html.spec.whatwg.org/multipage/interaction.html#triggered-by-user-activation" id="ref-for-triggered-by-user-activation①">triggered by user activation</a>, then reject <var>promise</var> with a <codeclass="idl"><aclass="idl-code" data-link-type="exception" href="https://heycam.github.io/webidl/#notallowederror" id="ref-for-notallowederror①">NotAllowedError</a></code><codeclass="idl"><adata-link-type="idl" href="https://heycam.github.io/webidl/#idl-DOMException" id="ref-for-idl-DOMException①">DOMException</a></code> and abort these steps. </p>
1838
1837
<li>
1839
1838
<p>If <var>permission</var> is "<code>default</code>", ask the user whether sharing device motion
1840
1839
for the <adata-link-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#relevant-settings-object" id="ref-for-relevant-settings-object④">relevant settings object</a>’s <adata-link-type="dfn" href="https://html.spec.whatwg.org/multipage/webappapis.html#concept-settings-object-origin" id="ref-for-concept-settings-object-origin④">origin</a> is acceptable. If it is, set <var>permission</var> to "<code>granted</code>", and "<code>denied</code>" otherwise. </p>
0 commit comments