mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 18:08:58 +00:00
Bug 716105 - Send quit-application in toolkit/components/search/tests/xpcshell/test_645970.js. r=mak.
This commit is contained in:
parent
c43edc5e0b
commit
39250c8bf1
@ -35,6 +35,10 @@
|
||||
|
||||
let Cc = Components.classes;
|
||||
let Ci = Components.interfaces;
|
||||
let Cu = Components.utils;
|
||||
|
||||
Cu.import("resource://gre/modules/Services.jsm");
|
||||
|
||||
|
||||
var gPrefService = Cc["@mozilla.org/preferences-service;1"]
|
||||
.getService(Ci.nsIPrefService)
|
||||
@ -58,5 +62,6 @@ function run_test() {
|
||||
.getService(Ci.nsIBrowserSearchService);
|
||||
let engine = searchService.getEngineByName("bug645970");
|
||||
do_check_neq(engine, null);
|
||||
Services.obs.notifyObservers(null, "quit-application", null);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user