Skip to content

Commit 50e0583

Browse files
author
Andreu Botella
committed
change all_done
1 parent c0c0e0e commit 50e0583

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

resources/testharness.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -2942,7 +2942,8 @@
29422942
};
29432943

29442944
Tests.prototype.all_done = function() {
2945-
return test_environment.all_loaded &&
2945+
return (this.tests.length > 0 || this.pending_remotes.length > 0) &&
2946+
test_environment.all_loaded &&
29462947
(this.num_pending === 0 || this.is_aborted) && !this.wait_for_finish &&
29472948
!this.processing_callbacks &&
29482949
!this.pending_remotes.some(function(w) { return w.running; });

0 commit comments

Comments
 (0)