mirror of
https://github.com/servo/servo.git
synced 2025-08-16 10:55:34 +01:00
Update web-platform-tests to revision 0fe9f012a8ee5503b728a379705a6c5286ba1e96
This commit is contained in:
parent
8329a45163
commit
5dc1649544
69 changed files with 1716 additions and 112 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue