Index: chrome/content/tests/synchronizer.js |
=================================================================== |
--- a/chrome/content/tests/synchronizer.js |
+++ b/chrome/content/tests/synchronizer.js |
@@ -6,16 +6,19 @@ |
module("Synchronizer", { |
setup: function() |
{ |
testRunner = this; |
prepareFilterComponents.call(this); |
preparePrefs.call(this); |
+ |
+ Synchronizer.init(); |
+ |
setupVirtualTime.call(this, function(wrapTimer) |
{ |
let SynchronizerModule = getModuleGlobal("synchronizer"); |
SynchronizerModule.downloader._timer = wrapTimer(SynchronizerModule.downloader._timer); |
}, "synchronizer", "downloader"); |
setupVirtualXMLHttp.call(this, "synchronizer", "downloader"); |
// Replace Math.random() function |