From b5c7832ee21ca6da3f127a03467f440ae9ca1e3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20=C3=81vila=20de=20Esp=C3=ADndola?= Date: Thu, 29 Dec 2011 10:08:03 -0500 Subject: [PATCH] Bug 713293 - Send quit-application in toolkit/components/downloads/test/schema_migration/head_migration.js. r=mak. --- .../downloads/test/schema_migration/head_migration.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/toolkit/components/downloads/test/schema_migration/head_migration.js b/toolkit/components/downloads/test/schema_migration/head_migration.js index 7961beaa6e71..a71fe32cd551 100644 --- a/toolkit/components/downloads/test/schema_migration/head_migration.js +++ b/toolkit/components/downloads/test/schema_migration/head_migration.js @@ -34,12 +34,18 @@ * * ***** END LICENSE BLOCK ***** */ +Components.utils.import("resource://gre/modules/Services.jsm"); + const Cc = Components.classes; const Ci = Components.interfaces; const Cr = Components.results; do_get_profile(); +do_register_cleanup(function() { + Services.obs.notifyObservers(null, "quit-application", null); +}); + var dirSvc = Cc["@mozilla.org/file/directory_service;1"]. getService(Ci.nsIProperties);