mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 604352 - JavaScript error: browser-ui.js, line 2677: req.responseXML is null [r=mbrubeck]
This commit is contained in:
parent
6eb808e3df
commit
402949ada7
@ -2674,7 +2674,7 @@ var BadgeHandlers = {
|
||||
req.open("GET", "https://mail.google.com/mail/feed/atom", true, login.username, login.password);
|
||||
req.onreadystatechange = function(aEvent) {
|
||||
if (req.readyState == 4) {
|
||||
if (req.status == 200) {
|
||||
if (req.status == 200 && req.responseXML) {
|
||||
let count = req.responseXML.getElementsByTagName("fullcount");
|
||||
this._lastCount = count ? count[0].childNodes[0].nodeValue : 0;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user