Bug 715582 - Send quit-application in browser/components/privatebrowsing/test/unit. r=mak.

This commit is contained in:
Rafael Ávila de Espíndola 2012-01-05 16:39:24 -05:00
parent fccf7e4af7
commit 636a05ccbd
4 changed files with 20 additions and 0 deletions

View File

@ -42,8 +42,13 @@
* to remove all traces of visiting a site.
*/
Components.utils.import("resource://gre/modules/Services.jsm");
function run_test() {
PRIVATEBROWSING_CONTRACT_ID = "@mozilla.org/privatebrowsing-wrapper;1";
load("do_test_removeDataFromDomain.js");
do_test();
// Shutdown the download manager.
Services.obs.notifyObservers(null, "quit-application", null);
}

View File

@ -42,8 +42,13 @@
* to remove all traces of visiting a site.
*/
Components.utils.import("resource://gre/modules/Services.jsm");
function run_test() {
PRIVATEBROWSING_CONTRACT_ID = "@mozilla.org/privatebrowsing;1";
load("do_test_removeDataFromDomain_activeDownloads.js");
do_test();
// Shutdown the download manager.
Services.obs.notifyObservers(null, "quit-application", null);
}

View File

@ -42,8 +42,13 @@
* to remove all traces of visiting a site.
*/
Components.utils.import("resource://gre/modules/Services.jsm");
function run_test() {
PRIVATEBROWSING_CONTRACT_ID = "@mozilla.org/privatebrowsing;1";
load("do_test_removeDataFromDomain.js");
do_test();
// Shutdown the download manager.
Services.obs.notifyObservers(null, "quit-application", null);
}

View File

@ -42,8 +42,13 @@
* to remove all traces of visiting a site.
*/
Components.utils.import("resource://gre/modules/Services.jsm");
function run_test() {
PRIVATEBROWSING_CONTRACT_ID = "@mozilla.org/privatebrowsing;1";
load("do_test_removeDataFromDomain_activeDownloads.js");
do_test();
// Shutdown the download manager.
Services.obs.notifyObservers(null, "quit-application", null);
}