mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 431159 test_history_expiration.js fails on builds without places enabled. r=sdwilsh, test only change
This commit is contained in:
parent
b47bc28082
commit
267192a1a4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user