mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
Needed for #39526; stubs out all the necessary interface from https://www.w3.org/TR/geolocation/. Testing: WPT Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
21 lines
746 B
Plaintext
21 lines
746 B
Plaintext
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
|
|
/*
|
|
* The origin of this IDL file is
|
|
* https://www.w3.org/TR/geolocation/#coordinates_interface
|
|
*/
|
|
|
|
// https://www.w3.org/TR/geolocation/#coordinates_interface
|
|
[Pref="dom_geolocation_enabled", Exposed=Window, SecureContext]
|
|
interface GeolocationCoordinates {
|
|
readonly attribute double accuracy;
|
|
readonly attribute double latitude;
|
|
readonly attribute double longitude;
|
|
readonly attribute double? altitude;
|
|
readonly attribute double? altitudeAccuracy;
|
|
readonly attribute double? heading;
|
|
readonly attribute double? speed;
|
|
};
|