- From: Anssi Kostiainen via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 01 Dec 2011 11:15:10 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/system-info
In directory hutz:/tmp/cvs-serv25758
Modified Files:
battery-status.html
Log Message:
further changes re LC-2574
Index: battery-status.html
===================================================================
RCS file: /sources/public/2009/dap/system-info/battery-status.html,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -r1.71 -r1.72
--- battery-status.html 30 Nov 2011 16:42:06 -0000 1.71
+++ battery-status.html 1 Dec 2011 11:15:08 -0000 1.72
@@ -180,14 +180,18 @@
ECMAScript Bindings defined in the Web IDL specification [[!WEBIDL]],
as this specification uses that specification and terminology.
</p>
+ <p>
+ The <code>Function</code> interface represents a function in the
+ scripting language being used as defined in [[!HTML5]].
+ </p>
</section>
<section>
<h2>Security and Privacy Considerations</h2>
<p>
The API defined in this specification is used to determine the battery
- status of the hosting device. This information discloses whether the
- device is running in battery mode, thereby it may potentially
- compromise the user's privacy.
+ status of the hosting device. This information discloses battery
+ related information, which has minimal impact on privacy or
+ fingerprinting, and therefore is exposed without permission grants.
</p>
</section>
<section>
@@ -264,22 +268,36 @@
respectively.
</p>
<p>
- When the <a class="product-ua" href="#ua">user agent</a> is to
- <dfn>update the battery status</dfn>, the <a class="product-ua"
- href="#ua">user agent</a> MUST queue a task which sets the attribute's
- value and fires a simple event [[!HTML5]] at the <a>BatteryManager</a>
- object. Specifically, when the value of <code>charging</code>,
- <code>chargingTime</code>, <code>level</code> or
- <code>dischargingTime</code> attribute changes, the
- <a class="product-ua" href="#ua">user agent</a> MUST fire a simple
- event, which does not bubble and is not cancelable, named
- <code>chargingchange</code>, <code>chargingtimechange</code>,
- <code>levelchange</code> or <code>dischargingtimechange</code>
- respectively.
+ When the battery charging state is updated, the <a class="product-ua"
+ href="#ua">user agent</a> MUST queue a task which sets the <code>
+ charging</code> attribute's value and fires a simple event [[!HTML5]]
+ named <code>chargingchange</code> at the <a>BatteryManager</a>
+ object.
+ </p>
+ <p>
+ When the battery charging time is updated, the <a class="product-ua"
+ href="#ua">user agent</a> MUST queue a task which sets the <code>
+ chargingTime</code> attribute's value and fires a simple event [[!HTML5]]
+ named <code>chargingtimechange</code> at the <a>BatteryManager</a>
+ object.
+ </p>
+ <p>
+ When the battery discharging time is updated, the <a class="product-ua"
+ href="#ua">user agent</a> MUST queue a task which sets the <code>
+ dischargingTime</code> attribute's value and fires a simple event [[!HTML5]]
+ named <code>dischargingtimechange</code> at the <a>BatteryManager</a>
+ object.
+ </p>
+ <p>
+ When the battery level is updated, the <a class="product-ua"
+ href="#ua">user agent</a> MUST queue a task which sets the <code>
+ level</code> attribute's value and fires a simple event [[!HTML5]]
+ named <code>levelchange</code> at the <a>BatteryManager</a>
+ object.
</p>
<div class="note">
The definition of how often the <code>chargingtimechange</code>,
- <code>levelchange</code> and <code>dischargingtimechange</code> events
+ <code>dischargingtimechange</code>, and <code>levelchange</code> events
are fired is left to the implementation.
</div>
</section>
Received on Thursday, 1 December 2011 11:15:17 UTC