|
7 | 7 | <link href="https://www.w3.org/StyleSheets/TR/2021/W3C-ED" rel="stylesheet">
|
8 | 8 | <meta content="Bikeshed version 82ce88815, updated Thu Sep 7 16:33:55 2023 -0700" name="generator">
|
9 | 9 | <link href="https://www.w3.org/TR/generic-sensor/" rel="canonical">
|
10 |
| - <meta content="1e4015653fcfac6b0f8e98dfc43a502cab35c3af" name="document-revision"> |
| 10 | + <meta content="0a4fd137aa8a2b4fed14c528d9e5d62470d927df" name="document-revision"> |
11 | 11 | <style>
|
12 | 12 | svg g.edge text {
|
13 | 13 | font-size: 8px;
|
|
911 | 911 | <div class="head">
|
912 | 912 | <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/2021/logos/W3C" width="72"> </a> </p>
|
913 | 913 | <h1 class="p-name no-ref" id="title">Generic Sensor API</h1>
|
914 |
| - <p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2024-01-25">25 January 2024</time></p> |
| 914 | + <p id="w3c-state"><a href="https://www.w3.org/standards/types#ED">Editor’s Draft</a>, <time class="dt-updated" datetime="2024-02-17">17 February 2024</time></p> |
915 | 915 | <details open>
|
916 | 916 | <summary>More details about this document</summary>
|
917 | 917 | <div data-fill-with="spec-metadata">
|
@@ -1869,7 +1869,9 @@ <h4 class="heading settled" data-level="7.1.6" id="sensor-timestamp"><span class
|
1869 | 1869 | <li data-md>
|
1870 | 1870 | <p>Let <var>unsafeTimestamp</var> be the result of invoking <a data-link-type="dfn" href="#get-value-from-latest-reading" id="ref-for-get-value-from-latest-reading②">get value from latest reading</a> with <a data-link-type="dfn" href="https://webidl.spec.whatwg.org/#this" id="ref-for-this③">this</a> and "timestamp" as arguments.</p>
|
1871 | 1871 | <li data-md>
|
1872 |
| - <p>Return <a data-link-type="dfn" href="https://w3c.github.io/hr-time/#dfn-relative-high-resolution-time" id="ref-for-dfn-relative-high-resolution-time">relative high resolution time</a> with <var>unsafeTimestamp</var> and <var>global</var>.</p> |
| 1872 | + <p>If <var>unsafeTimestamp</var> is null, return null.</p> |
| 1873 | + <li data-md> |
| 1874 | + <p>Otherwise, return <a data-link-type="dfn" href="https://w3c.github.io/hr-time/#dfn-relative-high-resolution-time" id="ref-for-dfn-relative-high-resolution-time">relative high resolution time</a> with <var>unsafeTimestamp</var> and <var>global</var>.</p> |
1873 | 1875 | </ol>
|
1874 | 1876 | </div>
|
1875 | 1877 | <h4 class="heading settled" data-level="7.1.7" id="sensor-start"><span class="secno">7.1.7. </span><span class="content">Sensor.start()</span><a class="self-link" href="#sensor-start"></a></h4>
|
@@ -3578,7 +3580,7 @@ <h3 class="no-num no-ref heading settled" id="informative"><span class="content"
|
3578 | 3580 | <dt id="biblio-accelprint">[ACCELPRINT]
|
3579 | 3581 | <dd>Dey, Sanorita, et al.. <a href="http://synrg.csl.illinois.edu/papers/AccelPrint_NDSS14.pdf"><cite>AccelPrint: Imperfections of Accelerometers Make Smartphones Trackable</cite></a>. 2014. Informational. URL: <a href="http://synrg.csl.illinois.edu/papers/AccelPrint_NDSS14.pdf">http://synrg.csl.illinois.edu/papers/AccelPrint_NDSS14.pdf</a>
|
3580 | 3582 | <dt id="biblio-api-design-principles">[API-DESIGN-PRINCIPLES]
|
3581 |
| - <dd>Sangwhan Moon. <a href="https://w3ctag.github.io/design-principles/"><cite>Web Platform Design Principles</cite></a>. URL: <a href="https://w3ctag.github.io/design-principles/">https://w3ctag.github.io/design-principles/</a> |
| 3583 | + <dd>Sangwhan Moon; Lea Verou. <a href="https://w3ctag.github.io/design-principles/"><cite>Web Platform Design Principles</cite></a>. URL: <a href="https://w3ctag.github.io/design-principles/">https://w3ctag.github.io/design-principles/</a> |
3582 | 3584 | <dt id="biblio-coordinates-transformation">[COORDINATES-TRANSFORMATION]
|
3583 | 3585 | <dd>George W. Collins, II. <a href="http://ads.harvard.edu/books/1989fcm..book/Chapter2.pdf"><cite>The Foundations of Celestial Mechanics</cite></a>. 2004. Informational. URL: <a href="http://ads.harvard.edu/books/1989fcm..book/Chapter2.pdf">http://ads.harvard.edu/books/1989fcm..book/Chapter2.pdf</a>
|
3584 | 3586 | <dt id="biblio-extennnnsible">[EXTENNNNSIBLE]
|
|
0 commit comments