- From: <bugzilla@jessica.w3.org>
- Date: Fri, 19 Dec 2014 19:54:15 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27674 --- Comment #2 from Philip Jägenstedt <philipj@opera.com> --- Are there any other APIs that have both promises and events? We certainly can't stop firing any of the events, so at best there would be a promise that resolves after (or before?) the events are fired? Anyway, I think this is probably a good idea, as people are having to add some logic to avoid handling the wrong fullscreenchange event, at least I found that in JW Player: https://github.com/jwplayer/jwplayer/pull/103/files I guess exitFullscreen() should also return a promise, to make it easier to do something after exiting fullscreen? -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Friday, 19 December 2014 19:54:17 UTC