The Geolocation API specification renamed the following interfaces and removed the [NoInterfaceObject] annotation so that these types are now exposed to script: * Coordinates -> GeolocationCoordinates * Position -> GeolocationPosition * PositionError -> GeolocationPositionError This is done in response to an effort to remove the [NoInterfaceObject] annotation from WebIDL. Additionally, the following interfaces are now only exposed in Secure Contexts: * GeolocationCoordinates * GeolocationPosition Differential Revision: https://phabricator.services.mozilla.com/D51972
14 lines
456 B
Plaintext
14 lines
456 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 http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
#include "domstubs.idl"
|
|
|
|
webidl GeolocationPositionError;
|
|
|
|
[scriptable, function, uuid(7D9B09D9-4843-43EB-A7A7-67F7DDA6B3C4)]
|
|
interface nsIDOMGeoPositionErrorCallback : nsISupports {
|
|
void handleEvent(in GeolocationPositionError positionError);
|
|
};
|