W3C home > Mailing lists > Public > public-webapps-testsuite@w3.org > October 2011

Re: WebApps testharness.js needs to handle 'EventException'

From: Jacob Rossi <Jacob.Rossi@microsoft.com>
Date: Mon, 17 Oct 2011 18:44:20 +0000
To: "public-webapps-testsuite@w3.org" <public-webapps-testsuite@w3.org>, "annevk@opera.com" <annevk@opera.com>
CC: Alex Kuang <Alex.Kuang@microsoft.com>
Message-ID: <D0BC8E77E79D9846B61A2432D1BA4EAE03596024@TK5EX14MBXC288.redmond.corp.microsoft.com>
> EventException is being removed from implementations. The only thing we  
> might possibly want to test is that it does not exist.

Test cases should test the specs.  The spec still has EventException and in ISSUE-179 we resolved to keep it in the spec. 

If for some reason we go back on that and do remove it from the spec, then it will be easy to change these 2 tests to a different exception type. At that time, the test case can easily be updated to test the new type.  The test case ought to test that implementations throw the new exception type for these scenarios, rather than testing that they don't throw the old type.

-Jacob
Received on Monday, 17 October 2011 18:44:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 17 October 2011 18:44:56 GMT