fune/toolkit/components/url-classifier/tests/unit
Dimi Lee fdb4d54a9e Bug 1407123 - Wait for the update task to be finished before running next test case. r=francois
The test_partialUpdateV4() test case doesn't wait for the update task
to be finished. It checks the status in the HTTP server side and then calls
run_next_test(). However, when XPCShell test is done, it will trigger
the shutdown process and hence interrupt the ongoing update task.

This cause the xpcshell test receives an error since the update is
interrupted and returns an error like NS_ERROR_UC_UPDATE_SHUTDOWNING.

This patch also fixes a javascript error that we didn't stop the httpd
server when cleanup.

Differential Revision: https://phabricator.services.mozilla.com/D2360

--HG--
extra : moz-landing-system : lando
2018-07-26 18:26:19 +00:00
..
data
.eslintrc.js
head_urlclassifier.js Bug 1452445 - Fix update error observer in unit test. r=gcp 2018-05-29 18:06:49 -07:00
test_addsub.js
test_backoff.js
test_bug1274685_unowned_list.js
test_dbservice.js
test_digest256.js
test_hashcompleter.js
test_hashcompleter_v4.js Bug 1452445 - Fix update error observer in unit test. r=gcp 2018-05-29 18:06:49 -07:00
test_listmanager.js Bug 1407123 - Wait for the update task to be finished before running next test case. r=francois 2018-07-26 18:26:19 +00:00
test_malwaretable_pref.js
test_partial.js
test_platform_specific_threats.js
test_pref.js
test_prefixset.js
test_provider_url.js
test_safebrowsing_protobuf.js
test_streamupdater.js
test_threat_type_conversion.js
xpcshell.ini