[Bug 27674] requestFullscreen should return a promise

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27674

--- Comment #21 from Philip Jägenstedt <philipj@opera.com> ---
Sure, no disagreement there. I think it would be very easy spec-wise.

Here I must admit some ignorance about promises, but the timing is important,
and the fullscreenchange event fires precisely when it does to avoid a bad
frame of layout in case scripts change something when going fullscreen. If a
promise is resolved at the same time, when will its callbacks run? It needs to
be before that animation frame is "over" for the API to make sense.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 15 July 2015 14:15:36 UTC