Bug 471788 - 4 TUnit tests leak now, r=dietrich

This commit is contained in:
Marco Bonardo 2009-01-08 00:37:01 +01:00
Родитель ec9e34388f
Коммит d4651dde8a
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -36,3 +36,10 @@
* ***** END LICENSE BLOCK ***** */
// put cleanup of the bookmarks test here.
// XPCShell doesn't dispatch quit-application, to ensure cleanup we have to
// dispatch it after each test run.
var os = Cc['@mozilla.org/observer-service;1'].
getService(Ci.nsIObserverService);
os.notifyObservers(null, "quit-application-granted", null);
os.notifyObservers(null, "quit-application", null);