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 5b2b826 commit 0e9a39b
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 @@ -296,7 +296,7 @@ The <dfn method for="DeviceOrientationEvent">requestPermission(|absolute|)</dfn>
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 |hadTransientActivation| be |global| has [=transient activation=], and false otherwise.
1. Let |hadTransientActivation| be true if |global| has [=transient activation=], and false otherwise.
1. Let |promise| be [=a new promise=] in |global|'s [=relevant Realm=].
1. Let |permissions| be « <a permission>"accelerometer"</a>, <a permission>"gyroscope"</a> ».
1. If |absolute| is true, [=set/append=] <a permission>"magnetometer"</a> » to |permissions|.
Expand Down

0 comments on commit 0e9a39b

Please sign in to comment.