[Bug 27674] requestFullscreen should return a promise

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

--- Comment #3 from Anne <annevk@annevk.nl> ---
Yeah, either we resolve the promise in the task that dispatches the event
(which means event -> promise) or we dispatch the event as the first callback
from the promise (which means promise -> event). (There's also resolve the
promise and queue a task to dispatch the event, which means promise -> event,
but also allows any number of tasks to happen inbetween and therefore seems
less desirable.)

I suggested to Domenic that we standardize on one of these patterns, not sure
if that has happened.

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

Received on Friday, 19 December 2014 20:34:54 UTC