W3C home > Mailing lists > Public > public-device-apis@w3.org > November 2011

Battery Status API Last Call Feedback

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 29 Nov 2011 12:52:07 +0100
To: public-device-apis@w3.org
Message-ID: <op.v5phw5z164w2qv@annevk-macbookpro.local>
The events need to be queued using the task queue defined in HTML5. It  
should probably be worded in such a way that the attribute is updated and  
the event is dispatched in the same task so nothing else can observe the  
attribute having changed before the event is dispatched.

You also need to actually define the various on* attributes as being event  
handlers and update their IDL to match the latest crazy IDL syntax (which  
might be simplified, so maybe you want to wait for that).

Should there be some kind of privacy section? I guess you cannot tell much  
 from someone charging his phone, but maybe in conjunction with other data  
you can find patterns of some kind. Fingerprinting is probably also  
somewhat aided by this functionality.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Tuesday, 29 November 2011 11:52:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:14:24 GMT