mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 10:27:03 +00:00
Bug 989719 - js error in WifiWorker when doing geolocation and WiFi is disabled. r=chulee
This commit is contained in:
parent
5289a955ba
commit
540280ae22
@ -2584,7 +2584,7 @@ WifiWorker.prototype = {
|
||||
|
||||
if (count++ >= 3) {
|
||||
timer = null;
|
||||
this.wantScanResults.splice(this.wantScanResults.indexOf(waitForScanCallback), 1);
|
||||
self.wantScanResults.splice(self.wantScanResults.indexOf(waitForScanCallback), 1);
|
||||
callback.onfailure();
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user