[Bug 27674] requestFullscreen should return a promise

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

--- Comment #32 from Philip Jägenstedt <philipj@opera.com> ---
(In reply to Anne from comment #31)
> Perhaps we should focus first on the semantics of fulfilling vs rejection.
> It's not entirely clear to me what we want to do there.

First attempt: Create a promise in requestFullscreen() and exitFullscreen().
Fulfil it after firing fullscreenchange in the same algorithm invocation, and
reject it when firing fullscreen error.

What remains, I think, is the "No need to notify observers when nothing has
changed" step, where I think it should be fulfilled.

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

Received on Wednesday, 15 July 2015 15:59:51 UTC