mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 09:19:28 +00:00
Bug 330878 - Firefox leaks the update.xml document when it checks for updates. Patch by Michael Wu <michael.wu@mozilla.com>, r=darin
This commit is contained in:
parent
53784987fa
commit
9f9821a3f8
@ -1829,6 +1829,8 @@ Checker.prototype = {
|
||||
update.statusText = getStatusTextFromCode(404, 404);
|
||||
this._callback.onError(event.target, update);
|
||||
}
|
||||
|
||||
this._request = null;
|
||||
},
|
||||
|
||||
/**
|
||||
@ -1854,6 +1856,8 @@ Checker.prototype = {
|
||||
var update = new Update(null);
|
||||
update.statusText = getStatusTextFromCode(status, 200);
|
||||
this._callback.onError(request, update);
|
||||
|
||||
this._request = null;
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user