Skip to content

Commit

Permalink
Update index.bs
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres authored Jul 4, 2024
1 parent b5af1ee commit db56048
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 @@ -523,7 +523,7 @@ The <dfn method for="DeviceMotionEvent">requestPermission()</dfn> method steps a
1. Let |global| be the [=current global object=].
1. Let |document| be |global|'s [=associated Document=].
1. If |document| is not [=document/fully active=], return [=a promise rejected with=] "{{InvalidStateError}}" {{DOMException}}.
1. Let |hasTransientActivation| be true if |global| has [=transient activation=], and false otherwise.
1. Let |hadTransientActivation| be true if |global| has [=transient activation=], and false otherwise.
1. Let |result| be [=a new promise=] in |global|'s [=relevant Realm=].
1. Run these steps <a>in parallel</a>:
1. Let |permissions| be « <a permission>"accelerometer"</a>, <a permission>"gyroscope"</a> ».
Expand Down

0 comments on commit db56048

Please sign in to comment.