зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
aade1d72a7
Коммит
e7cebc3454
|
@ -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();
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче