Bug 1546512 - fix incorrect stagingFailed check. r=bytesized

Differential Revision: https://phabricator.services.mozilla.com/D28567

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Robert Strong 2019-04-23 21:24:35 +00:00
parent c507a11dc6
commit 3cb66d0328

View File

@ -3807,7 +3807,7 @@ Downloader.prototype = {
selectedPatch.QueryInterface(Ci.nsIWritablePropertyBag);
if (selectedPatch.getProperty("bitsResult") != null &&
selectedPatch.getProperty("internalResult") == null &&
selectedPatch.getProperty("stagingFailed") != null) {
selectedPatch.getProperty("stagingFailed") == null) {
LOG("Downloader:_selectPatch - Falling back to non-BITS download " +
"mechanism due to existing BITS result: " +
selectedPatch.getProperty("bitsResult"));