зеркало из https://github.com/mozilla/pjs.git
b=599878 restore showAlertNotification and disable unit_ipc tests for MacOS r=joshmatthews a=test
--HG-- rename : uriloader/exthandler/tests/unit_ipc/disable_t_encoding.js => uriloader/exthandler/tests/unit_ipc/test_encoding.js extra : rebase_source : ee1a0d39f4f54d40ab0816a24c3fdcd6a9913018
This commit is contained in:
Родитель
0e8cb97569
Коммит
06fe29534c
|
@ -52,8 +52,11 @@ MODULE = test_uriloader_exthandler
|
||||||
XPCSHELL_TESTS = unit
|
XPCSHELL_TESTS = unit
|
||||||
|
|
||||||
ifdef MOZ_IPC
|
ifdef MOZ_IPC
|
||||||
|
#FIXME/bug 575918: out-of-process xpcshell is broken on OS X
|
||||||
|
ifneq ($(OS_ARCH),Darwin)
|
||||||
XPCSHELL_TESTS += unit_ipc
|
XPCSHELL_TESTS += unit_ipc
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
CPPSRCS = \
|
CPPSRCS = \
|
||||||
WriteArgument.cpp \
|
WriteArgument.cpp \
|
||||||
|
|
|
@ -86,8 +86,16 @@ DownloadMgrUI.prototype = {
|
||||||
getAttention: function () { }
|
getAttention: function () { }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function AlertsSVC() { }
|
||||||
|
AlertsSVC.prototype = {
|
||||||
|
QueryInterface: XPCOMUtils.generateQI([Ci.nsIAlertsService]),
|
||||||
|
contractID: "@mozilla.org/alerts-service;1",
|
||||||
|
showAlertNotification: function (url, title, text, clickable, cookie, listener, name) { },
|
||||||
|
}
|
||||||
|
|
||||||
registerTemporaryComponent(HelperAppDlg);
|
registerTemporaryComponent(HelperAppDlg);
|
||||||
registerTemporaryComponent(DownloadMgrUI);
|
registerTemporaryComponent(DownloadMgrUI);
|
||||||
|
registerTemporaryComponent(AlertsSVC);
|
||||||
|
|
||||||
function initChildTestEnv()
|
function initChildTestEnv()
|
||||||
{
|
{
|
Загрузка…
Ссылка в новой задаче