gecko/dom/geolocation
Andrew McCreight 339c59af64 Bug 1238427 - Avoid a strong reference from the timeout timer to nsGeolocationRequest. r=jdm
The timeout timer of a geolocation request holds a strong reference to
the request. This can cause the window to leak if the request is not
completed before the tab containing the window is closed.

To fix this, I made the timer instead hold a strong reference to a
wrapper class that has only a weak reference to the request. The
request destructor must now cancel the timeout timer.

I also outlined a call to StopTimeoutTimer() in
nsGeolocationRequest::Shutdown().
2016-01-21 09:57:30 -08:00
..
MLSFallback.cpp
MLSFallback.h
moz.build
nsGeoGridFuzzer.cpp Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsGeoGridFuzzer.h
nsGeolocation.cpp Bug 1238427 - Avoid a strong reference from the timeout timer to nsGeolocationRequest. r=jdm 2016-01-21 09:57:30 -08:00
nsGeolocation.h Bug 1230209 - Add more telemetry for Geolocation usage f=bsmedberg r=tanvi,rbarnes,jdm 2015-12-03 19:12:11 +01:00
nsGeolocationSettings.cpp Bug 1220688 - catch and ignore JS exceptions when working with nsAutoJSString. r=bz 2015-11-12 13:12:00 +01:00
nsGeolocationSettings.h Bug 1231378 - part 2 - Fix uninitialized members of classes in dom/*, r=smaug 2016-01-12 18:16:59 +00:00
nsGeoPosition.cpp
nsGeoPosition.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
nsGeoPositionIPCSerialiser.h