mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 899990 - Null check xhr.response to avoid spammy JS exceptions; r=jdm
--HG-- extra : rebase_source : d1b78bc695896565c8ac7d327da62f324a44bb51
This commit is contained in:
parent
4c48878187
commit
9fd3792ee3
@ -185,7 +185,7 @@ WifiGeoPositionProvider.prototype = {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!xhr.response.location) {
|
||||
if (!xhr.response || !xhr.response.location) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user