- From: James Graham <jgraham@opera.com>
- Date: Tue, 10 Aug 2010 18:11:12 +0200
- To: Anne van Kesteren <annevk@opera.com>
- CC: Kris Krueger <krisk@microsoft.com>, Philippe Le Hegaret <plh@w3.org>, public-html-testsuite@w3.org
On 08/10/2010 06:04 PM, Anne van Kesteren wrote: > On Tue, 10 Aug 2010 18:01:57 +0200, Philippe Le Hegaret <plh@w3.org> wrote: >> one possible improvement: >> >> instead of having maintain the list of tests that are automatic and not, >> why don't you check for id="log" instead? ie, if there is an element >> with id="log" in the test then, it's automatic, otherwise, it's not. > > Even better is probably all tests that include a reference to > testharness.js. Best of all would be all tests :) Checking for something exposed on the window object seems better than inspecting the DOM. For example if one finds add_completion_callback then it is clearly an automated test. There is the question of what to do for e.g. the <canvas> tests that use a different harness.
Received on Tuesday, 10 August 2010 16:11:50 UTC