- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 19 Aug 2014 13:27:43 -0700
- To: Jonas Sicking <jonas@sicking.cc>
- Cc: WHAT Working Group <whatwg@lists.whatwg.org>, Mounir Lamouri <mounir@lamouri.fr>, Marcos Caceres <w3c@marcosc.com>
On Tue, Aug 19, 2014 at 11:07 AM, Jonas Sicking <jonas@sicking.cc> wrote: > On Tue, Aug 19, 2014 at 5:35 AM, Mounir Lamouri <mounir@lamouri.fr> wrote: >> How would you handle feature detection with this design? > > This is a good question. I don't have a better solution than adding > separate DisplayWakeLock() and SystemWakeLock() classes. Which, as others have noted, are what we want to do anyway, beyond the feature-testing angle. Different WakeLocks can grow different methods down the line. ~TJ
Received on Tuesday, 19 August 2014 20:28:29 UTC