mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 886138 - Make Geolocation work when geo.wifi.uri is a file:// URI. r=jdm
This commit is contained in:
parent
35ff8cdbd9
commit
ab4f723042
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user