Skip to content

Commit

Permalink
Update reference to "triggered by user activation"
Browse files Browse the repository at this point in the history
This concept is now referred to as "transient activation".

Fixed #105.
  • Loading branch information
reillyeon committed Jan 9, 2023
1 parent 5791e0b commit 3dd77f0
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 3dd77f0

Please sign in to comment.