[Bug 24697] Use Promises for lockOrientation

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

Mounir Lamouri <mounir@lamouri.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Mounir Lamouri <mounir@lamouri.fr> ---
It's now done. Only lockOrientation() uses promises. There isn't much
usefulness in using that for unlock orientation given that the default
orientation value might be unknown to the browser so the developers might call
unlockOrientation() but the UA couldn't know if there will be an
orientationchange event following so the promise could stay pending forover.

Change made here:
https://dvcs.w3.org/hg/screen-orientation/rev/24701e870b89
But serious clean-up here:
https://dvcs.w3.org/hg/screen-orientation/rev/d42347e9ab3d

Probably simpler to look at the current specification document.

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

Received on Thursday, 3 April 2014 21:13:00 UTC