зеркало из https://github.com/mozilla/pjs.git
Bug 431159 test_history_expiration.js fails on builds without places enabled. r=sdwilsh, test only change
This commit is contained in:
Родитель
2e47261781
Коммит
8ef71c0f2b
|
@ -41,6 +41,11 @@
|
|||
|
||||
function run_test()
|
||||
{
|
||||
// Like the code, we check to see if nav-history-service exists
|
||||
// (i.e MOZ_PLACES is enabled), so that we don't run this test if it doesn't.
|
||||
if (!("@mozilla.org/browser/nav-history-service;1" in Cc))
|
||||
return;
|
||||
|
||||
let dm = Cc["@mozilla.org/download-manager;1"].
|
||||
getService(Ci.nsIDownloadManager);
|
||||
let db = dm.DBConnection;
|
||||
|
|
Загрузка…
Ссылка в новой задаче