Skip to content

Commit

Permalink
Update remaining reference to "triggered by user activation" (#110)
Browse files Browse the repository at this point in the history
The change in #106 only fixed one instance of "triggered by user
interaction". This fixes the other.

Fixed #109.
  • Loading branch information
reillyeon authored Apr 12, 2023
1 parent 23db732 commit e03086d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ The static {{DeviceOrientationEvent/requestPermission()}} operation, when invoke
<li><p>Let <var>permission</var> be <a>permission</a> for
<a>relevant settings object</a>'s <a for="environment settings object">origin</a>.

<li><p>If <var>permission</var> is "<code>default</code>" and <a>relevant global object</a> does not have <a>transient activation</a>, then reject <var>promise</var> with a
<li><p>If <var>permission</var> is "<code>default</code>" and the <a>relevant global object</a> does not have <a>transient activation</a>, then reject <var>promise</var> with a
{{NotAllowedError!!exception}} {{DOMException}} and abort these steps.

<li><p>If <var>permission</var> is "<code>default</code>", ask the user whether sharing device orientation
Expand Down Expand Up @@ -369,7 +369,7 @@ The static {{DeviceMotionEvent/requestPermission()}} operation, when invoked, mu
<li><p>Let <var>permission</var> be <a>permission</a> for
<a>relevant settings object</a>'s <a for="environment settings object">origin</a>.

<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
<li><p>If <var>permission</var> is "<code>default</code>" and the <a>relevant global object</a> does not have <a>transient activation</a>, then reject <var>promise</var> with a
{{NotAllowedError!!exception}} {{DOMException}} and abort these steps.

<li><p>If <var>permission</var> is "<code>default</code>", ask the user whether sharing device motion
Expand Down Expand Up @@ -715,8 +715,6 @@ Lars Erik Bolstad, Dean Jackson, Claes Nilsson, George Percivall, Doug Turner, M
urlPrefix: https://html.spec.whatwg.org/multipage/
urlPrefix: webappapis.html; type: dfn
text: relevant settings object
urlPrefix: interaction.html; type: dfn
text: triggered by user activation
</pre>

<pre class="biblio">
Expand Down

0 comments on commit e03086d

Please sign in to comment.