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

Forwarding Alex's mail to public-webapps-testsuite.

-Jacob

> -----Original Message-----
> From: Alex Kuang
> Sent: Thursday, October 27, 2011 12:14 PM
> To: Arthur Barstow; Jacob Rossi
> Cc: www-dom@w3.org; Adrian Bateman
> Subject: RE: CfC: publish a Candidate Recommendation of DOM 3 Events;
> deadline October 21
> 
> We're OK with postponing the EventException changes to the test harness
> (testharness.js) and the RfR of the 2 test cases* related to EventException.
> That said, we are still requesting review (with the same deadline, November
> 14) of the remaining test cases that aren't in contention. I'll start a new RfR
> for the reduced set of 19 test cases if no one makes objections by Oct 31.
> 
> Here are the 2 EventException tests that I am going to withdraw from the
> RfR:
>   http://w3c-
> test.org/webapps/DOMEvents/tests/submissions/Microsoft/converted/disp
> atchEvent.DISPATCH_REQUEST_ERR.html
>   http://w3c-
> test.org/webapps/DOMEvents/tests/submissions/Microsoft/converted/disp
> atchEvent.UNSPECIFIED_EVENT_TYPE_ERR.html
> 
> * Correction to Jacob's mail: we only have 2 EventException tests, not 4
> tests; the other 2 are DOMException tests, which are not in contention.
> 
> Thanks,
> Alex


From: Arthur Barstow <art.barstow@nokia.com>
Date: Mon, 24 Oct 2011 15:39:14 -0400
Message-ID: <4EA5BEE2.2040304@nokia.com>
To: ext Alex Kuang <Alex.Kuang@microsoft.com>
CC: James Graham <jgraham@opera.com>, "public-webapps-testsuite@w3.org" <public-webapps-testsuite@w3.org>
Hi Alex - as I mentioned in [1], until the objections to the publication 
of a D3E CR are resolved I propose this change be postponed.

-Regards, Art Barstow

[1] http://lists.w3.org/Archives/Public/www-dom/2011OctDec/0116.html


On 10/14/11 3:26 PM, ext Alex Kuang wrote:
> While converting some event tests to use the harness, I noticed that function assert_throws(code, func, description) in testharness.js needs to handle 'EventException'. Here is a 'patch' for testharness.js around line ~752 -- James Graham do you agree and if so can you update testharness.js?
>
>                          else if (code in EventException)
>                          {
>                                  expected_type = "EventException";
>                                  required_props[code] = EventException[code];
>                                  required_props.code = EventException[code];
>                                  //As above
>                                  //required_props.name = code;
>                         }
>
> Here are the test cases testing EventException:
> http://w3c-test.org/webapps/DOMEvents/tests/submissions/Microsoft/converted/dispatchEvent.DISPATCH_REQUEST_ERR.html
> http://w3c-test.org/webapps/DOMEvents/tests/submissions/Microsoft/converted/dispatchEvent.UNSPECIFIED_EVENT_TYPE_ERR.html
>
> Thanks,
> Alex
>
>

Received on Friday, 28 October 2011 01:39:46 UTC