W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2014

[Bug 24697] Use Promises for lockOrientation

From: <bugzilla@jessica.w3.org>
Date: Thu, 03 Apr 2014 21:12:59 +0000
To: public-webapps@w3.org
Message-ID: <bug-24697-2927-VxnxlbNtUu@http.www.w3.org/Bugs/Public/>

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:
But serious clean-up here:

Probably simpler to look at the current specification document.

You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 3 April 2014 21:13:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:23 UTC