mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 431130 xpcshell test test_nsIDownloadHistory.js fails on Thunderbird. r=sdwilsh
This commit is contained in:
parent
380e9f593a
commit
c975877210
@ -74,6 +74,16 @@ var tests = [testLinkVistedObserver];
|
||||
|
||||
function run_test()
|
||||
{
|
||||
// Not everyone uses/defines an nsGlobalHistory* service. Especially if
|
||||
// MOZ_PLACES is not defined. If getService fails, then abort gracefully.
|
||||
try {
|
||||
Cc["@mozilla.org/browser/global-history;2"].
|
||||
getService(Ci.nsIGlobalHistory2);
|
||||
}
|
||||
catch (ex) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (var i = 0; i < tests.length; i++)
|
||||
tests[i]();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user