- From: Philippe Le Hegaret <plh@w3.org>
- Date: Wed, 05 Oct 2011 14:04:44 -0400
- To: public-webapps <public-webapps@w3.org>
I took a pass at rewriting the existing element traversal tests we have at [1]: http://w3c-test.org/webapps/ElementTraversal/tests/submissions/W3C/ The new tests now relies on testharness.js, so they can easily be integrated in the framework. I also submitted those tests to DOM Core as well: http://w3c-test.org/webapps/DOMCore/tests/submissions/W3C/ As long as DOM Core does not modify the properties from what is defined in Element Traversal, I'll keep them in sync. If they diverge, then I'll only do bug fixes for the Element Traversal ones and will involve the DOM Core tests instead. Feedback is welcome of course. The tests are not ready for approval yet because the new tests are going beyond what the existing tests were doing: - the new tests are trying to check if the properties are effectively read only and there are questions around the assert_readonly function. - the new tests are doing more on testing the dynamic aspects of the properties, thus reporting more failures in existing implementations (unless I got the tests wrong of course). So, at least until the assert_readonly issue settles down, I don't plan to ask for those tests to be approved. In the meantime, I'm more than happy to get feedback and bug reports, Philippe [1] http://w3c-test.org/webapps/ElementTraversal/tests/approved/
Received on Wednesday, 5 October 2011 18:04:51 UTC