Hi,

When fixing [this](https://phabricator.services.mozilla.com/D20947) bug, I need 
to add a test. If the patch is not applied, the test will spend almost infinite 
time to render a SVG; while if the patch is applied, it can be rendered 
instantly.

However, both the reviewer and me don't know how to put a timeout test. It 
won't crash in any case, so it's not a crash test. But the mochitest can only 
be used to check JavaScript assertion, if I use mochitest, the test utility 
will hang waiting for JavaScript stuff, then eventually timeout because there 
is nothing to assert.

Where to put a testcase like this?

Thanks!
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to