[whatwg/fullscreen] Reject exitFullscreen() in inactive documents (#68)

If the document becomes inactive after the request, then there will not
be another animation frame task, in which case the promise will be left
hanging instead.

Fixes #67.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fullscreen/pull/68

-- Commit Summary --

  * Reject exitFullscreen() in inactive documents

-- File Changes --

    M fullscreen.bs (4)
    M fullscreen.html (7)

-- Patch Links --

https://github.com/whatwg/fullscreen/pull/68.patch
https://github.com/whatwg/fullscreen/pull/68.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/pull/68

Received on Thursday, 15 December 2016 11:34:59 UTC