Skip to content

Commit

Permalink
Merge pull request #42 from rakuco/editorial/remove-duplicate-permiss…
Browse files Browse the repository at this point in the history
…ion-policy-explanation

editorial: Remove reference to getBattery() from Permissions Policy section
  • Loading branch information
anssiko authored Aug 26, 2021
2 parents ae3cd7d + 96e2735 commit 92ecfcf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -411,9 +411,7 @@ <h2>
<p data-link-for="Navigator">
The Battery Status API is a <a>policy-controlled feature</a> identified
by the string "<code>battery</code>". Its <a>default allowlist</a> is
<code>'self'</code>. When disabled in a document, the
<code><a>getBattery</a>()</code> method will return a {{Promise}} which
rejects with a {{"NotAllowedError"}} {{DOMException}}.
<code>'self'</code>.
</p>
</section>
<section class="informative">
Expand Down

0 comments on commit 92ecfcf

Please sign in to comment.