diff --git a/dom/public/idl/geolocation/nsIGeolocationProvider.idl b/dom/public/idl/geolocation/nsIGeolocationProvider.idl index 89f43e432a13..260d5d36891e 100644 --- a/dom/public/idl/geolocation/nsIGeolocationProvider.idl +++ b/dom/public/idl/geolocation/nsIGeolocationProvider.idl @@ -92,7 +92,7 @@ interface nsIGeolocationUpdate : nsISupports { * startup is called, any geo location change should call * callback.onRequest(). */ -[scriptable, uuid(E319BE2D-B1D1-4CA6-AEF4-66178589B63D)] +[scriptable, uuid(5C819505-8804-496E-9CB2-53089B3DD4EF)] interface nsIGeolocationProvider : nsISupports { /** @@ -113,12 +113,6 @@ interface nsIGeolocationProvider : nsISupports { */ void watch(in nsIGeolocationUpdate callback); - /** - * currentLocation return the current location as seen by - * the provider. may be null. - */ - readonly attribute nsIDOMGeoPosition currentPosition; - /** * shutdown * Shuts down the location device. diff --git a/dom/tests/mochitest/geolocation/testLocationProvider.js b/dom/tests/mochitest/geolocation/testLocationProvider.js index 68d4e44dab60..933812317d9c 100644 --- a/dom/tests/mochitest/geolocation/testLocationProvider.js +++ b/dom/tests/mochitest/geolocation/testLocationProvider.js @@ -64,7 +64,6 @@ MyLocation.prototype = { Ci.nsITimer.TYPE_REPEATING_SLACK); }, - currentLocation: new GeopositionObject(), shutdown: function() { dump("shutdown"); if(this.timer)