From e39ed55f71e6345ef103e1d31ce018231ed44cee Mon Sep 17 00:00:00 2001 From: Scott Haseley Date: Mon, 25 Sep 2023 15:17:23 -0700 Subject: [PATCH] Add fully active check in start() --- index.bs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.bs b/index.bs index 45986f9..cd3e5a0 100644 --- a/index.bs +++ b/index.bs @@ -281,6 +281,12 @@ The requestPermission() method steps are: The start(|options|) method steps are: +1. If the [=relevant global object=] of [=this=] is a {{Window}} object whose + [=associated Document=] is not [=fully active=], return [=a promise rejected with=] + an "{{InvalidStateError}}" {{DOMException}}. + + idle-detection-detached-frame.https.html + 1. If the [=relevant global object=]'s [=associated Document=] is not [=allowed to use=] "idle-detection", return [=a promise rejected with=] a "{{NotAllowedError}}" {{DOMException}}.