Re: [whatwg/fullscreen] Decide on wanted behavior for request+exit or exit+request together (#63)

A request can fail with a fullscreenerror event, so I've also tested what events are fired for the "request then exit+request" case after clicking "exit+request" with a [variation](https://gist.github.com/foolip/c333ab539685bebc0e53d1808ce4aa21) on the original script:

<table>
<tr>
 <th>Chrome 55 on Linux</th>
 <td>fullscreenchange, fullscreenchange, fullscreenchange, resize</td>
<tr>
 <th>Edge 15 on Window 10</th>
 <td>fullscreenchange, fullscreenchange, resize, resize</td>
<tr>
 <th>Firefox Nightly (53) on Linux</th>
 <td>fullscreenchange, resize</td>
</table>

(With unprefixed API manually enabled.)

So, at least no existing browser fires a fullscreenerror event in this case. The only sensible thing for the promise is to reject it, but it would be possible to fire no events.

Opinions?

-- 
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/issues/63#issuecomment-263303242

Received on Monday, 28 November 2016 15:38:40 UTC