Skip to content

Commit 2617809

Browse files
authored
Merge pull request #49 from alexshalamov/reword_privacy_section
Reword security and privacy section
2 parents fb2fbf3 + 68a88ee commit 2617809

File tree

2 files changed

+14
-16
lines changed

2 files changed

+14
-16
lines changed

index.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ use one or both of the following mitigation strategies:
196196
- <a>limit maximum sampling frequency</a>
197197
- <a>reduce accuracy</a> of sensor readings
198198

199-
The generic <a>mitigation strategies</a> are described in the Generic Sensor
200-
API [[!GENERIC-SENSOR]].
199+
These mitigation strategies complement the [=mitigation strategies|generic mitigations=]
200+
defined in the Generic Sensor API [[!GENERIC-SENSOR]].
201201

202202
Model {#model}
203203
=====

index.html

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,9 +1183,8 @@
11831183
background-attachment: fixed;
11841184
}
11851185
</style>
1186-
<meta content="Bikeshed version 6aa3aaa1336714f1530c976b6df9a86c683d5968" name="generator">
1186+
<meta content="Bikeshed version 66a76cd06d4fa9e491630583356008a71a166760" name="generator">
11871187
<link href="http://www.w3.org/TR/ambient-light/" rel="canonical">
1188-
<meta content="dc8a7953c125d5863e5337c541839e3805690bad" name="document-revision">
11891188
<style>/* style-md-lists */
11901189

11911190
/* This is a weird hack for me not yet following the commonmark spec
@@ -1432,7 +1431,7 @@
14321431
<div class="head">
14331432
<p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2016/logos/W3C" width="72"> </a> </p>
14341433
<h1 class="p-name no-ref" id="title">Ambient Light Sensor</h1>
1435-
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2018-02-26">26 February 2018</time></span></h2>
1434+
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft, <time class="dt-updated" datetime="2018-02-28">28 February 2018</time></span></h2>
14361435
<div data-fill-with="spec-metadata">
14371436
<dl>
14381437
<dt>This version:
@@ -1483,11 +1482,11 @@ <h2 class="no-num no-toc no-ref heading settled" id="sotd"><span class="content"
14831482
All comments are welcome. </p>
14841483
<p> This document was produced by the <a href="https://www.w3.org/2009/dap/">Device and Sensors Working Group</a>. </p>
14851484
<p> This document was produced by a group operating under
1486-
the <a href="https://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 W3C Patent Policy</a>.
1485+
the <a href="https://www.w3.org/Consortium/Patent-Policy/">W3C Patent Policy</a>.
14871486
W3C maintains a <a href="https://www.w3.org/2004/01/pp-impl/43696/status" rel="disclosure">public list of any patent disclosures</a> made in connection with the deliverables of the group;
14881487
that page also includes instructions for disclosing a patent.
1489-
An individual who has actual knowledge of a patent which the individual believes contains <a href="https://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="https://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the W3C Patent Policy</a>. </p>
1490-
<p> This document is governed by the <a href="https://www.w3.org/2017/Process-20170301/" id="w3c_process_revision">1 March 2017 W3C Process Document</a>. </p>
1488+
An individual who has actual knowledge of a patent which the individual believes contains <a href="https://www.w3.org/Consortium/Patent-Policy/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="https://www.w3.org/Consortium/Patent-Policy/#sec-Disclosure">section 6 of the W3C Patent Policy</a>. </p>
1489+
<p> This document is governed by the <a href="https://www.w3.org/2018/Process-20180201/" id="w3c_process_revision">1 February 2018 W3C Process Document</a>. </p>
14911490
<p></p>
14921491
</div>
14931492
<div data-fill-with="at-risk"></div>
@@ -1547,8 +1546,8 @@ <h3 class="heading settled" data-level="1.1" id="scope"><span class="secno">1.1.
15471546
which would mirror the <code>light-level</code> media feature, but in JavaScript.
15481547
This sensor would <em>not require additional user permission to be activated</em> in user agents that exposed the <code>light-level</code> media feature.</p>
15491548
<h2 class="heading settled" data-level="2" id="examples"><span class="secno">2. </span><span class="content">Examples</span><a class="self-link" href="#examples"></a></h2>
1550-
<div class="example" id="example-9df8033e">
1551-
<a class="self-link" href="#example-9df8033e"></a> In this simple example, ambient light sensor is created with
1549+
<div class="example" id="example-67e29d5f">
1550+
<a class="self-link" href="#example-67e29d5f"></a> In this simple example, ambient light sensor is created with
15521551
default configuration. Whenever new <a data-link-type="dfn" href="https://w3c.github.io/sensors#sensor-readings" id="ref-for-sensor-readings">reading</a> is available,
15531552
it is printed to the console.
15541553
<pre class="highlight"><span class="kr">const</span> sensor <span class="o">=</span> <span class="k">new</span> AmbientLightSensor<span class="p">();</span>
@@ -1557,8 +1556,8 @@ <h2 class="heading settled" data-level="2" id="examples"><span class="secno">2.
15571556
sensor<span class="p">.</span>start<span class="p">();</span>
15581557
</pre>
15591558
</div>
1560-
<div class="example" id="example-65bd329c">
1561-
<a class="self-link" href="#example-65bd329c"></a> In this example, exposure value (EV) at ISO 100 is calculated from
1559+
<div class="example" id="example-ae3465bd">
1560+
<a class="self-link" href="#example-ae3465bd"></a> In this example, exposure value (EV) at ISO 100 is calculated from
15621561
the ambient light <a data-link-type="dfn" href="https://w3c.github.io/sensors#sensor-readings" id="ref-for-sensor-readings①">sensor readings</a>. Initially, we check that the user
15631562
agent has permissions to access ambient light <a data-link-type="dfn" href="https://w3c.github.io/sensors#sensor-readings" id="ref-for-sensor-readings②">sensor readings</a>. Then, <code class="idl"><a class="idl-code" data-link-type="attribute" href="#dom-ambientlightsensor-illuminance" id="ref-for-dom-ambientlightsensor-illuminance">illuminance</a></code> value is converted to the
15641563
closest exposure value.
@@ -1585,8 +1584,8 @@ <h2 class="heading settled" data-level="2" id="examples"><span class="secno">2.
15851584
<span class="p">});</span>
15861585
</pre>
15871586
</div>
1588-
<div class="example" id="example-ebb26391">
1589-
<a class="self-link" href="#example-ebb26391"></a> This example demonstrates how ambient light <a data-link-type="dfn" href="https://w3c.github.io/sensors#sensor-readings" id="ref-for-sensor-readings③">sensor readings</a> can be mapped
1587+
<div class="example" id="example-67979230">
1588+
<a class="self-link" href="#example-67979230"></a> This example demonstrates how ambient light <a data-link-type="dfn" href="https://w3c.github.io/sensors#sensor-readings" id="ref-for-sensor-readings③">sensor readings</a> can be mapped
15901589
to recommended workplace light levels.
15911590
<pre class="highlight"><span class="kr">const</span> als <span class="o">=</span> <span class="k">new</span> AmbientLightSensor<span class="p">();</span>
15921591

@@ -1651,8 +1650,7 @@ <h2 class="heading settled" data-level="3" id="security-and-privacy"><span class
16511650
<li data-md="">
16521651
<p><a data-link-type="dfn" href="https://w3c.github.io/sensors#reduce-accuracy" id="ref-for-reduce-accuracy">reduce accuracy</a> of sensor readings</p>
16531652
</ul>
1654-
<p>The generic <a data-link-type="dfn" href="https://w3c.github.io/sensors#mitigation-strategies" id="ref-for-mitigation-strategies">mitigation strategies</a> are described in the Generic Sensor
1655-
API <a data-link-type="biblio" href="#biblio-generic-sensor">[GENERIC-SENSOR]</a>.</p>
1653+
<p>These mitigation strategies complement the <a data-link-type="dfn" href="https://w3c.github.io/sensors#mitigation-strategies" id="ref-for-mitigation-strategies">generic mitigations</a> defined in the Generic Sensor API <a data-link-type="biblio" href="#biblio-generic-sensor">[GENERIC-SENSOR]</a>.</p>
16561654
<h2 class="heading settled" data-level="4" id="model"><span class="secno">4. </span><span class="content">Model</span><a class="self-link" href="#model"></a></h2>
16571655
<p>The <dfn class="dfn-paneled" data-dfn-type="dfn" data-noexport="" id="ambient-light-sensor">Ambient Light Sensor</dfn> <a data-link-type="dfn" href="https://w3c.github.io/sensors#sensor-type" id="ref-for-sensor-type">sensor type</a>’s associated <code class="idl"><a data-link-type="idl" href="https://w3c.github.io/sensors/#sensor" id="ref-for-sensor">Sensor</a></code> subclass is the <code class="idl"><a data-link-type="idl" href="#ambientlightsensor" id="ref-for-ambientlightsensor">AmbientLightSensor</a></code> class.</p>
16581656
<p>The <a data-link-type="dfn" href="#ambient-light-sensor" id="ref-for-ambient-light-sensor">Ambient Light Sensor</a> has a <a data-link-type="dfn" href="https://w3c.github.io/sensors#default-sensor" id="ref-for-default-sensor">default sensor</a>,

0 commit comments

Comments
 (0)