Merge. a=blockers

This commit is contained in:
Robert Sayre 2010-09-16 09:25:43 -07:00
commit 0e15eb0d3e

@ -72,7 +72,22 @@ function getFactory(comp)
}
}
}
// Override the download-manager-ui to prevent anyone from trying to open
// a window.
function DownloadMgrUI() { }
DownloadMgrUI.prototype = {
QueryInterface: XPCOMUtils.generateQI([Ci.nsIDownloadManagerUI]),
contractID: "@mozilla.org/download-manager-ui;1",
show: function (ir, aID, reason) { },
visible: false,
getAttention: function () { }
}
registerTemporaryComponent(HelperAppDlg);
registerTemporaryComponent(DownloadMgrUI);
function initChildTestEnv()
{