diff --git a/index.html b/index.html index bff6d25..4194ddf 100644 --- a/index.html +++ b/index.html @@ -147,16 +147,14 @@
EventHandler
-
- EventTarget
- EventTarget
+ Document
+ SecurityError
NotAllowedError
+ DOMException
@@ -208,6 +230,37 @@ Document
is not allowed to use
+ the battery
feature, then reject this Navigator
+ object's battery promise with a "NotAllowedError"
+ DOMException, return this Navigator object's battery
+ promise and abort these steps.
+ Document
's browsing context's active
+ document's origin is not same origin-domain with
+ the origin of the current settings object of this
+ Navigator object, unless specifically allowed by the
+ document's feature policy.
+ null
, return this Navigator object's battery
@@ -486,6 +548,18 @@
+ The Battery Status API is a policy-controlled feature identified
+ 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.
+