On Wed, Mar 6, 2019, at 5:05 PM, violet.bugrep...@gmail.com wrote: > 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?
You can use a crashtest for this under layout/svg/crashtests/. crashtests are like reftests that don't actually check against a reference, but will just fail if the test crashes, or causes some assertions, or times out. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform