Update web-platform-tests to revision 0fe9f012a8ee5503b728a379705a6c5286ba1e96

This commit is contained in:
WPT Sync Bot 2018-02-23 20:08:37 -05:00
parent 8329a45163
commit 5dc1649544
69 changed files with 1716 additions and 112 deletions

View file

@ -1,5 +1,6 @@
[Constructor(optional SensorOptions options), SecureContext, Exposed=Window]
[Constructor(optional GeolocationSensorOptions options), SecureContext, Exposed=Window]
interface GeolocationSensor : Sensor {
static Promise<GeolocationSensorReading> read(optional ReadOptions readOptions);
readonly attribute unrestricted double? latitude;
readonly attribute unrestricted double? longitude;
readonly attribute unrestricted double? altitude;
@ -8,3 +9,22 @@ interface GeolocationSensor : Sensor {
readonly attribute unrestricted double? heading;
readonly attribute unrestricted double? speed;
};
dictionary GeolocationSensorOptions : SensorOptions {
// placeholder for GeolocationSensor-specific options
};
dictionary ReadOptions : GeolocationSensorOptions {
AbortSignal? signal;
};
dictionary GeolocationSensorReading {
DOMHighResTimeStamp? timestamp;
double? latitude;
double? longitude;
double? altitude;
double? accuracy;
double? altitudeAccuracy;
double? heading;
double? speed;
};