These pages test conformance to the DOM Level 1 Recommendation. They assume that:
documentthat implements the HTMLDocument interface.
The tests of exceptions depend on the third edition of ECMA-262 and are therefore in separate pages. The XML-based tests make a number of other assumptions, some of which are not based on specs anywhere, so that the tests work on Mozilla. They will (hopefully) be brought into compliance with XHTML at some future date.
All the test pages use the same linked CSS and ECMAScript.
These tests are based on an old draft, although I have started to convert them to the current (2000-03-07) Candidate Recommendation.
These tests test stability when certain important nodes are removed. The point of these tests is to check that nobody can use this trick to maliciously crash a browser.
|HTML||Mozilla XHTML (not yet available)|
|Removing node||Removing all children of node||Removing node||Removing all children of node|
|document||removing all children of document|
|html||removing html||removing all children of html|
|body||removing body||removing all children of body|
|head||removing head||removing all children of head|
|body and head||removing body and head||removing all children of body and head|
|title||removing title||removing all children of title|
(Back to DOM, David Baron)