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

By using responsible document (i.e. window's associated Document), you are ensuring that the document is always active. However, you are not ensuring the document is fully active.

That may be fine, but if so, I want to make sure it's an intentional choice, ideally with web platform tests.

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?

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

Received on Friday, 8 March 2019 20:34:27 UTC