mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
Bug 403180 - Executing test_378216.js hits an assertion due to not shutting down an HTTP server before finishing. r=Mossop, a=test-only change
This commit is contained in:
parent
cb92454492
commit
8cda7a5076
@ -65,6 +65,7 @@
|
||||
*/
|
||||
|
||||
do_import_script("netwerk/test/httpserver/httpd.js");
|
||||
var server;
|
||||
|
||||
// This allows the EM to attempt to display errors to the user without failing
|
||||
var promptService = {
|
||||
@ -123,6 +124,7 @@ onUpdateStarted: function()
|
||||
|
||||
onUpdateEnded: function()
|
||||
{
|
||||
server.stop();
|
||||
do_test_finished();
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user