aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/geolocation-sensor/idlharness.https.window.js
diff options
context:
space:
mode:
authorWPT Sync Bot <josh+wptsync@joshmatthews.net>2018-07-22 21:05:03 -0400
committerWPT Sync Bot <josh+wptsync@joshmatthews.net>2018-07-22 22:39:46 -0400
commita5af9a106a1a3937dbbcafb2d18c783e5311749c (patch)
tree09b46fdc3b1c25decafe9bbea5641afcfc636fc5 /tests/wpt/web-platform-tests/geolocation-sensor/idlharness.https.window.js
parent4997ec26c27b470bbcaaf0088d32472c3eed800d (diff)
downloadservo-a5af9a106a1a3937dbbcafb2d18c783e5311749c.tar.gz
servo-a5af9a106a1a3937dbbcafb2d18c783e5311749c.zip
Update web-platform-tests to revision 3f9178031eec5374c9a7d5709a7e11ba4a1955ed
Diffstat (limited to 'tests/wpt/web-platform-tests/geolocation-sensor/idlharness.https.window.js')
-rw-r--r--tests/wpt/web-platform-tests/geolocation-sensor/idlharness.https.window.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/geolocation-sensor/idlharness.https.window.js b/tests/wpt/web-platform-tests/geolocation-sensor/idlharness.https.window.js
new file mode 100644
index 00000000000..eb3da34f672
--- /dev/null
+++ b/tests/wpt/web-platform-tests/geolocation-sensor/idlharness.https.window.js
@@ -0,0 +1,17 @@
+// META: script=/resources/WebIDLParser.js
+// META: script=/resources/idlharness.js
+
+// https://wicg.github.io/geolocation-sensor/
+
+'use strict';
+
+idl_test(
+ ['geolocation-sensor'],
+ ['generic-sensor', 'dom'],
+ idl_array => {
+ idl_array.add_objects({
+ GeolocationSensor: ['new GeolocationSensor'],
+ });
+ },
+ 'Test IDL implementation of Geolocation Sensor'
+);