mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 19:41:49 +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(HelperAppDlg);
|
||||||
|
registerTemporaryComponent(DownloadMgrUI);
|
||||||
|
|
||||||
function initChildTestEnv()
|
function initChildTestEnv()
|
||||||
{
|
{
|
Loading…
x
Reference in New Issue
Block a user