You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@progers was wondering if/how to write crash tests in web-platform-tests. I wrote:
I'd say just structure it like a reftest or a testharness.js test that does as little as necessary, and runs as long as necessary for the crash to happen if the bug is there. For testharness.js, that may mean a pretty vacuous async_test or similar, but a dummy assert wouldn't really make it clearer what the test is for.
If others agree with this, we should document it.
The text was updated successfully, but these errors were encountered:
If you structure things as a single-page test then you possibly just need to call done() at some point before the timeout. One can also imagine making .crash. tests that work like testharness tests except that they can't time out only pass (but maybe it should be a different type altogether that doesn't require having a testharness script).
@progers was wondering if/how to write crash tests in web-platform-tests. I wrote:
If others agree with this, we should document it.
The text was updated successfully, but these errors were encountered: