summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/interfaces/proximity.idl
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/interfaces/proximity.idl')
-rw-r--r--testing/web-platform/tests/interfaces/proximity.idl12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/web-platform/tests/interfaces/proximity.idl b/testing/web-platform/tests/interfaces/proximity.idl
new file mode 100644
index 0000000000..67513adb14
--- /dev/null
+++ b/testing/web-platform/tests/interfaces/proximity.idl
@@ -0,0 +1,12 @@
+// GENERATED CONTENT - DO NOT EDIT
+// Content was automatically extracted by Reffy into webref
+// (https://github.com/w3c/webref)
+// Source: Proximity Sensor (https://w3c.github.io/proximity/)
+
+[SecureContext, Exposed=Window]
+interface ProximitySensor : Sensor {
+ constructor(optional SensorOptions sensorOptions = {});
+ readonly attribute double? distance;
+ readonly attribute double? max;
+ readonly attribute boolean? near;
+};