From e89568cc345c73c8f4df3acf01e08a7bd52b777d Mon Sep 17 00:00:00 2001 From: Juha Vainio Date: Wed, 25 Oct 2023 11:11:18 +0300 Subject: [PATCH 1/5] Rewrite Automation section after w3c/sensors#470 The Automation section in the Generic Sensor API specification was rewritten and several terms and concepts have changed. This commit adapts the Proximity Sensor spec to the changes: Remove references to "mock sensor type", "mock sensor reading values" and the "MockSensorType" enum. Define an entry in the per-type virtual sensor metadata map whose key is what used to be the "proximity" entry in MockSensorType and an appropriate virtual sensor metadata entry. This is enough to integrate properly with the Generic Sensor spec and allow Proximity virtual sensors to be created and used. Fixes #56. --- index.bs | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/index.bs b/index.bs index 010c0e4..4c7a0a5 100644 --- a/index.bs +++ b/index.bs @@ -43,9 +43,6 @@ urlPrefix: https://w3c.github.io/sensors; spec: GENERIC-SENSOR text: fingerprinting; url: device-fingerprinting text: user identifying; url: user-identifying text: mitigation strategies; url: mitigation-strategies - text: automation - text: mock sensor type - text: mock sensor reading values