diff --git a/index.html b/index.html index 4194ddf..767b764 100644 --- a/index.html +++ b/index.html @@ -557,7 +557,7 @@

by the string "battery". It's default allowlist is 'self'. When disabled in a document, the getBattery() method MUST return a promise - which rejects with a "SecurityError" DOMException. + which rejects with a "NotAllowedError" DOMException.