- From: Raphael Kubo da Costa via GitHub <sysbot+gh@w3.org>
- Date: Mon, 29 Apr 2024 15:45:20 +0000
- To: public-device-apis-log@w3.org
I'm reopening the spec issue because the wording should still be adjusted here: - `[[Time]]` is described as relative to the global's time origin - https://w3c.github.io/compute-pressure/#dfn-data-delivery is setting `[[Time]]` to the platform-specific timestamp obtained from the collector I think what needs to happen is something similar to how Generic Sensors handles timestamps (https://w3c.github.io/sensors/#update-latest-reading): - When a platform-specific timestamp is obtained, it is converted "in an [implementation-defined](https://infra.spec.whatwg.org/#implementation-defined) way to an [unsafe current time](https://w3c.github.io/hr-time/#monotonic-clock-unsafe-current-time) using the same [monotonic clock](https://w3c.github.io/hr-time/#dfn-monotonic-clock) that is shared by [time origins](https://html.spec.whatwg.org/multipage/webappapis.html#concept-settings-object-time-origin)". - `[[Time]]` stored the value above. - The `time` getter returns the [relative high resolution time](https://w3c.github.io/hr-time/#dfn-relative-high-resolution-time) based on `[[Time]]` and a global. -- GitHub Notification of comment by rakuco Please view or discuss this issue at https://github.com/w3c/compute-pressure/issues/257#issuecomment-2083077976 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 29 April 2024 15:45:21 UTC