Bug 886138 - Make Geolocation work when geo.wifi.uri is a file:// URI. r=jdm

This commit is contained in:
Michael Harrison 2013-10-01 17:38:30 -04:00
parent 35ff8cdbd9
commit ab4f723042

View File

@ -181,7 +181,7 @@ WifiGeoPositionProvider.prototype = {
xhr.onload = function() {
LOG("gls returned status: " + xhr.status + " --> " + JSON.stringify(xhr.response));
if (xhr.status != 200) {
if (xhr.channel instanceof Ci.nsIHttpChannel && xhr.status != 200) {
return;
}