Skip to content

Commit

Permalink
Merge pull request #106 from w3c/activation_v2
Browse files Browse the repository at this point in the history
Update reference to "triggered by user activation"
  • Loading branch information
anssiko authored Jan 9, 2023
2 parents 5791e0b + 3dd77f0 commit 8a2fe13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,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 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 <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

0 comments on commit 8a2fe13

Please sign in to comment.