W3C home > Mailing lists > Public > public-device-apis-log@w3.org > March 2019

Re: [wake-lock] Subtleties of using Document are not specced (#141)

From: Domenic Denicola via GitHub <sysbot+gh@w3.org>
Date: Tue, 12 Mar 2019 16:18:49 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-472071033-1552407528-sysbot+gh@w3.org>
> Can non-full active documents run JavaScript? I assume these are just in the history but still active?

Yep, they can, e.g. you can call `nonFullyActiveWindow.someFunction()` to run a globally-declared function.

Those conclusions SGTM!

GitHub Notification of comment by domenic
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/141#issuecomment-472071033 using your GitHub account
Received on Tuesday, 12 March 2019 16:18:50 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:56 UTC