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

Getting help on DOM Test Suite?

From: Dominique Hazael-Massieux <dom@w3.org>
Date: Mon, 05 Mar 2007 17:15:51 +0100
To: carmelo@nist.gov
Cc: public-mwts@w3.org
Message-Id: <1173111351.23809.42.camel@cumulustier>

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 Monday, 5 March 2007 16:18:23 GMT

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