- From: James Graham <james@hoppipolla.co.uk>
- Date: Fri, 05 Jul 2013 13:04:08 +0200
- To: "<public-test-infra@w3.org>" <public-test-infra@w3.org>
In order to make the test system more robust I intend to modify testharness.js so that uncaught exceptions cause the harness status to be set to ERROR, and stop further testing. This will allow consumers to identify that something unexpected happened and report the failure. It should also make tests easier to write. Obviously this is a backward-incompatible change and certain tests, e.g. those testing window.onerror, may need to opt out of it. Opt out will be possible by adding allow_uncaught_exception:true in setup. If this causes a problem that can't be solved by the aforementioned opt-out, please let me know as soon as possible.
Received on Friday, 5 July 2013 11:04:33 UTC