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

> Concretely, look at the example in https://html.spec.whatwg.org/multipage/browsers.html#fully-active . If c.html contains <script>navigator.getWakeLock()</script>, what should happen, if that script runs after clicking the button and navigating the outer iframe?

Since `c.html` is then (i.e., after clicking the button) not fully active, I would say the wake lock should not be granted if the script `<script>navigator.getWakeLock()</script>` runs at that time (i.e., after clicking the button). @kenchris, what do you think?


-- 
GitHub Notification of comment by tomayac
Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/141#issuecomment-471952065 using your GitHub account

Received on Tuesday, 12 March 2019 10:53:24 UTC