W3C home > Mailing lists > Public > public-webevents@w3.org > April to June 2011

Re: Testing with testharness.js

From: Arthur Barstow <art.barstow@nokia.com>
Date: Fri, 01 Apr 2011 16:05:29 -0400
Message-ID: <4D963009.7080404@nokia.com>
To: ext Matt Brubeck <mbrubeck@mozilla.com>
CC: "public-webevents@w3.org" <public-webevents@w3.org>
This is great Matt!

If you have any comments about the harness, please let us know.

On Apr/1/2011 10:07 AM, ext Matt Brubeck wrote:
> I add a simple test based on testharness.js from test.w3.org:
> http://dvcs.w3.org/hg/webevents/file/tip/test/touchevents/touch-area.html
> Click on the "raw" link to run the test.  http://limpet.net/w3/ also 
> contains a copy of the test suite at a more convenient URL for typing 
> onto devices with small keyboards.
> This is just a tiny example to start experimenting with the test 
> harness.  It does actually run (and fail) on browsers like Safari and 
> Android that implement a "touchstart" event with no radiusX/Y or 
> rotationAngle.
> It does not fail gracefully on user agents that do not implement any 
> "touchstart" event at all.  (We could fail the test if a "click" event 
> is received before any "touchstart" event, but the spec does not 
> actually define this behavior yet.)
Received on Friday, 1 April 2011 20:06:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:09:33 UTC