Bug 567267 - reenable unit test, r=dwitte, a=blocking-fennec2.0b1,mfinkle

--HG--
rename : uriloader/exthandler/tests/unit_ipc/disable_t_encoding.js => uriloader/exthandler/tests/unit_ipc/test_encoding.js
This commit is contained in:
Brian Crowder 2010-09-16 09:00:37 -07:00
parent d62dadbd6f
commit 8c9f0fea6d

View File

@ -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()
{