Skip to content

Commit

Permalink
Merge pull request #24 from Honry/gh-pages
Browse files Browse the repository at this point in the history
Replace SecurityError with NotAllowedError in feature policy
  • Loading branch information
anssiko authored Sep 25, 2019
2 parents 5a628d9 + c8e83cf commit 38e5c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ <h2>
by the string "<code>battery</code>". It's default allowlist is
<code>'self'</code>. When disabled in a document, the
<code><a>getBattery</a>()</code> method MUST return a <a>promise</a>
which rejects with a "<a>SecurityError</a>" <a>DOMException</a>.
which rejects with a "<a>NotAllowedError</a>" <a>DOMException</a>.
</p>
</section>
<section class="informative">
Expand Down

0 comments on commit 38e5c50

Please sign in to comment.