mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 880234 - Use add_test in testDeviceSearchEngines. r=mfinkle
This commit is contained in:
parent
839ca13cc5
commit
6bd1f577b4
@ -38,15 +38,14 @@ function search_observer(aSubject, aTopic, aData) {
|
||||
check_submission("/phone?q=foo", "foo", null);
|
||||
}
|
||||
|
||||
do_test_finished();
|
||||
run_next_test();
|
||||
};
|
||||
|
||||
add_task(function test_default() {
|
||||
add_test(function test_default() {
|
||||
do_register_cleanup(function cleanup() {
|
||||
Services.obs.removeObserver(search_observer, "browser-search-engine-modified");
|
||||
});
|
||||
|
||||
do_test_pending();
|
||||
Services.obs.addObserver(search_observer, "browser-search-engine-modified", false);
|
||||
|
||||
do_print("Loading search engine");
|
||||
|
Loading…
Reference in New Issue
Block a user