mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 3f9178031eec5374c9a7d5709a7e11ba4a1955ed
This commit is contained in:
parent
4997ec26c2
commit
a5af9a106a
192 changed files with 3943 additions and 1927 deletions
|
@ -7,9 +7,9 @@ partial interface Navigator {
|
|||
readonly attribute Geolocation geolocation;
|
||||
};
|
||||
|
||||
|
||||
[NoInterfaceObject]
|
||||
[NoInterfaceObject]
|
||||
interface Geolocation {
|
||||
|
||||
void getCurrentPosition(PositionCallback successCallback,
|
||||
optional PositionErrorCallback errorCallback,
|
||||
optional PositionOptions options);
|
||||
|
@ -25,20 +25,19 @@ partial interface Navigator {
|
|||
|
||||
callback PositionErrorCallback = void (PositionError positionError);
|
||||
|
||||
dictionary PositionOptions {
|
||||
dictionary PositionOptions {
|
||||
boolean enableHighAccuracy = false;
|
||||
[Clamp] unsigned long timeout = 0xFFFFFFFF;
|
||||
[Clamp] unsigned long maximumAge = 0;
|
||||
};
|
||||
|
||||
|
||||
[NoInterfaceObject]
|
||||
[NoInterfaceObject]
|
||||
interface Position {
|
||||
readonly attribute Coordinates coords;
|
||||
readonly attribute DOMTimeStamp timestamp;
|
||||
};
|
||||
|
||||
[NoInterfaceObject]
|
||||
[NoInterfaceObject]
|
||||
interface Coordinates {
|
||||
readonly attribute double latitude;
|
||||
readonly attribute double longitude;
|
||||
|
@ -49,7 +48,7 @@ partial interface Navigator {
|
|||
readonly attribute double? speed;
|
||||
};
|
||||
|
||||
[NoInterfaceObject]
|
||||
[NoInterfaceObject]
|
||||
interface PositionError {
|
||||
const unsigned short PERMISSION_DENIED = 1;
|
||||
const unsigned short POSITION_UNAVAILABLE = 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue