MozillaZine

DOM Level 2 Conformance Test

Monday November 20th, 2000

Bob Clary writes, "I have written a DOM Core Level 2 Conformance test which can be run with both Mozilla/Netscape 6 and Internet Explorer 5.5. It uses only the DOM methods and does not depend upon the HTMLDocument or the XML Parser. The test coverage is not yet complete but is nevertheless extensive. I think you will find the results interesting.

"The test generates two sets of reports: one by test case and one by API name. It is completely interactive and contains links to the relevant parts of the DOM Core 2 Recommendation as well as links to bug reports in Bugzilla. Of course there are no links to reports of Internet Explorer bugs available.

"If you run all of the tests it will use 50-60M and may take several minutes depending on your processor so be patient. If you do not have enough memory to run all of the tests at once, you can choose a subset of the test cases to run.

"If you have any problems, questions or suggestions please feel free to contact me."

UPDATE: The host for the conformance test is taking down the site due to heavy bandwidth usage. We'll let you know when the site's back online.


#10 Other Netscape 6 Test: GOOD

by jmarranz <jmarranz@eresmas.com>

Tuesday November 21st, 2000 3:00 AM

You are replying to this message

I have tested too NS6 I have been seeing reported errors: most of them are minor errors in no common use case.

I think NS6 is satisfactory DOM-2 compliant

Examples:

* Attr.insertBefore (9 errors) Is very unusual have Text children inside a Attr object Idem with Attr.removeChild and Attr.replaceChild

* Properties returning "" against returning null

* Document.appendChild Doesn't throw a exception when trying an anormal use

* Document.createAttributeNS Doesn't implemented. HTML-only DOM implementations do not need to implement this method (OK XML is important today)

* Many errors are due not thrown exceptions in no valid operations

...