From 4bb2d300e2c2705dd201b25c56fa33cfb1039f9e Mon Sep 17 00:00:00 2001 From: autofoolip Date: Mon, 23 Mar 2020 18:40:26 +0000 Subject: [PATCH] Update interfaces/geolocation-sensor.idl Source: https://github.com/tidoust/reffy-reports/blob/5a18b76/ed/idl/geolocation-sensor.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/666007015 --- interfaces/geolocation-sensor.idl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interfaces/geolocation-sensor.idl b/interfaces/geolocation-sensor.idl index ef172f63ea0eb1..baa0f5c7a1e78a 100644 --- a/interfaces/geolocation-sensor.idl +++ b/interfaces/geolocation-sensor.idl @@ -3,10 +3,10 @@ // (https://github.com/tidoust/reffy-reports) // Source: Geolocation Sensor (https://w3c.github.io/geolocation-sensor/) -[Constructor(optional GeolocationSensorOptions options = {}), - SecureContext, +[SecureContext, Exposed=(DedicatedWorker, Window)] interface GeolocationSensor : Sensor { + constructor(optional GeolocationSensorOptions options = {}); static Promise read(optional ReadOptions readOptions = {}); readonly attribute unrestricted double? latitude; readonly attribute unrestricted double? longitude;