W3C home > Mailing lists > Public > public-mwts@w3.org > March 2007

Re: Getting help on DOM Test Suite?

From: Carmelo Montanez <carmelo@nist.gov>
Date: Tue, 06 Mar 2007 10:07:29 -0500
Message-Id: <6.2.5.6.2.20070306095941.045d0958@nist.gov>
To: Dominique Hazael-Massieux <dom@w3.org>
Cc: public-mwts@w3.org, carnold@houston.rr.com

Hey Dom:

I spoke with both Mary Brady and Rick Rivello from my end.  I am also 
copying Curt Arnold here,
who was heavily involved in the development of the tests/harness.  T

The tests are defined in terms of XML (each test is an XML 
instance).  So if there
is a way you can simply transform the tests into whichever format 
fits you, then
you can easily run them.  The running format given on the web site is
suite better for desk tops (as it deals with jsunit and the like)and 
I can see how
easily you can get into hot water with memory issues.

I am sure Curt have some more insights into this.

Carmelo


At 11:15 AM 3/5/2007, Dominique Hazael-Massieux wrote:

>Hi Carmelo,
>
>I've tried to run the DOM Level 1 test suite [1] on a combination of
>mobile devices/user agents, but without much success; from what I can
>tell, the test harness relies on frames and iframes, is very memory- and
>cpu-hungry, and requires some good enough level of javascript that makes
>it hard or impossible to run on quite a few mobile devices available
>today.
>
>I've made a few attempts at diving into the test cases to see how we
>could re-use them in a more mobile-friendly manner, but the current set
>up, while very efficient for desktop browsers, make it a bit hard to
>figure out how to re-use the existing test cases in a different test
>harness.
>
>As NIST was heavily involved in the development of that test suite, esp.
>Mary Brady, I was wondering if you could get some input or leads as to
>how we could re-purpose these test cases in a new harness.
>
>As an example of a simple set of test cases that do run on my phones and
>that test a subset of javascript (including a few DOM functions):
>http://paxmodept.com/pan/javascript/javascript.xhtml
>
>Thanks,
>
>Dom
>
>1.
>http://www.w3.org/2004/04/ecmascript/jsunit/testRunner.html?testpage=http://www.w3.org/2004/04/ecmascript/level1/core/alltests.html&implementation=iframe&skipIncompatibleTests=true&autoRun=true&contentType=text/html
Received on Tuesday, 6 March 2007 15:09:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:13:07 GMT