summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/interfaces/geolocation.idl
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/interfaces/geolocation.idl')
-rw-r--r--testing/web-platform/tests/interfaces/geolocation.idl2
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/web-platform/tests/interfaces/geolocation.idl b/testing/web-platform/tests/interfaces/geolocation.idl
index 4b971f097b..8c0acfc6cc 100644
--- a/testing/web-platform/tests/interfaces/geolocation.idl
+++ b/testing/web-platform/tests/interfaces/geolocation.idl
@@ -42,6 +42,7 @@ dictionary PositionOptions {
interface GeolocationPosition {
readonly attribute GeolocationCoordinates coords;
readonly attribute EpochTimeStamp timestamp;
+ [Default] object toJSON();
};
[Exposed=Window, SecureContext]
@@ -53,6 +54,7 @@ interface GeolocationCoordinates {
readonly attribute double? altitudeAccuracy;
readonly attribute double? heading;
readonly attribute double? speed;
+ [Default] object toJSON();
};
[Exposed=Window]