mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 11:38:16 +00:00
Merge. a=blockers
This commit is contained in:
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()
|
||||
{
|
Loading…
x
Reference in New Issue
Block a user