[Bug 27674] requestFullscreen should return a promise

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

--- Comment #22 from Domenic Denicola <d@domenic.me> ---
This is always a bit tricky, but given that promises run on the microtask
queue, and you queue a task to fire fullscreenchange, you should be able to get
the promise callbacks to fire before the fullscreenchange listeners, which will
be early enough. As long as you just do "resolve the promise" instead of "queue
a task to resolve the promise" you'll be fine.

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

Received on Wednesday, 15 July 2015 14:17:51 UTC