Open sagudev opened 1 month ago
There's no way to reliably flush uncaptured errors. Best we could do is wait a bit and hope they flush.
Would it be possible to enhance the scope tests so they would have caught the issue?
There's no way to reliably flush uncaptured errors. Best we could do is wait a bit and hope they flush.
Ah, you're right. I also se this in expectUncapturedError
.
Would it be possible to enhance the scope tests so they would have caught the issue?
Will do.
In servo (https://github.com/servo/servo/pull/32304) I noticed that test could pass if errors we not caught by scopes (bad scopes impl; but they passed all error scope tests), so it might make sense to also assert on endTestScope that no uncaptured errors exists.