| Index: modules/geolocation/Geolocation.idl
|
| diff --git a/modules/geolocation/Geolocation.idl b/modules/geolocation/Geolocation.idl
|
| index b8fde66b7bb2516172513e192798530a53ed7cec..1d98cfb0e77653517c6c8774ef2fe95277efe2bd 100644
|
| --- a/modules/geolocation/Geolocation.idl
|
| +++ b/modules/geolocation/Geolocation.idl
|
| @@ -25,15 +25,18 @@
|
|
|
| // http://www.w3.org/TR/geolocation-API/#geolocation_interface
|
| [
|
| - NoInterfaceObject
|
| + WillBeGarbageCollected,
|
| + NoInterfaceObject,
|
| ] interface Geolocation {
|
| + // FIXME: should be: PositionOptions options (need PositionOptions.idl)
|
| [Custom, PerWorldBindings, ActivityLogging=ForIsolatedWorlds] void getCurrentPosition(PositionCallback successCallback,
|
| optional PositionErrorCallback errorCallback,
|
| - optional PositionOptions options);
|
| + optional object options);
|
|
|
| + // FIXME: should be: PositionOptions options (need PositionOptions.idl)
|
| [Custom, PerWorldBindings, ActivityLogging=ForIsolatedWorlds] long watchPosition(PositionCallback successCallback,
|
| optional PositionErrorCallback errorCallback,
|
| - optional PositionOptions options);
|
| + optional object options);
|
|
|
| void clearWatch(long watchID);
|
| };
|
|
|