Re: Mozilla tests

After the demo of the DOM TS to the DOM WG, I sat together with Johnny 
Stenback of Netscape trying to resolve the issue of Mozilla crashing 
when testing alltests-html. We found the error and if the error report 
submitted turns into a fix, future versions of Mozilla (0.9.7 I believe, 
and onwards) should not crash, we could then therefore skip the 
mozsafe.html all together.

Also, we received very positive feedback from the Mozilla people who 
promised to look into the tests and provide information on resolution 
and interpretation of tests.

/Dimitris


On Wednesday, November 14, 2001, at 12:12  AM, Curt Arnold wrote:

> I ran the DOM L1 tests against the 2001111303 build.  I've tried to do a
> quick categorization.
>
>
> Category 1: Mozilla crashes
> suite.member href="characterdataindexsizeerrdeletedatacountnegative.xml
> suite.member href="characterdataindexsizeerrreplacedatacountnegative.xml
> suite.member href="characterdataindexsizeerrsubstringcountnegative.xml
>
> ----------------------
> Category 2: Document.getDoctype returns null, all DTD related tests fail
>
> 14.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testdocumentgetdoctype had an error
> Error message is:
> "TypeError: docType has no properties"
>
> 19.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testdocumenttypegetdoctype had an error
> Error message is:
> "TypeError: docType has no properties"
>
> 20.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testdocumenttypegetentities had an error
> Error message is:
> "TypeError: docType has no properties"
>
> 21.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testdocumenttypegetentitieslength had an error
> Error message is:
> "TypeError: docType has no properties"
>
> 22.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testdocumenttypegetentitiestype had an error
> Error message is:
> "TypeError: docType has no properties"
>
> 23.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testdocumenttypegetnotations had an error
> Error message is:
> "TypeError: docType has no properties"
>
> 24.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testdocumenttypegetnotationstype had an error
> Error message is:
> "TypeError: docType has no properties"
>
> 34.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testentitygetentityname had an error
> Error message is:
> "TypeError: docType has no properties"
> 35.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testentitygetpublicid had an error
> Error message is:
> "TypeError: docType has no properties"
>
> 36.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testentitygetpublicidnull had an error
> Error message is:
> "TypeError: docType has no properties"
>
> 43.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodedocumenttypenodename had an error
> Error message is:
> "TypeError: docType has no properties"
>
> 44.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodedocumenttypenodetype had an error
> Error message is:
> "TypeError: documentTypeNode has no properties"
>
> 45.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodedocumenttypenodevalue had an error
> Error message is:
> "TypeError: docType has no properties"
>
> 47.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodeentitynodeattributes had an error
> Error message is:
> "TypeError: docType has no properties"
>
>
> 48.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodeentitynodename had an error
> Error message is:
> "TypeError: docType has no properties"
>
>
> 49.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodeentitynodetype had an error
> Error message is:
> "TypeError: docType1 has no properties"
>
>
> 50.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodeentitynodevalue had an error
> Error message is:
> "TypeError: docType has no properties"
>
> 55.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodenotationnodeattributes had an error
> Error message is:
> "TypeError: docType has no properties"
>
>
> 56.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodenotationnodename had an error
> Error message is:
> "TypeError: docType has no properties"
>
> 57.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodenotationnodetype had an error
> Error message is:
> "TypeError: docType has no properties"
>
>
> 58.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodenotationnodevalue had an error
> Error message is:
> "TypeError: docType has no properties"
>
> 67.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnotationgetnotationname had an error
> Error message is:
> "TypeError: docType has no properties"
>
>
> 68.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnotationgetpublicid had an error
> Error message is:
> "TypeError: docType has no properties"
>
>
> 69.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnotationgetpublicidnull had an error
> Error message is:
> "TypeError: docType has no properties"
>
>
> 70.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnotationgetsystemid had an error
> Error message is:
> "TypeError: docType has no properties"
>
>
> 71.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnotationgetsystemidnull had an error
> Error message is:
> "TypeError: docType has no properties"
>
> 75.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testtextsplittextnomodificationallowederrEE had an error
> Error message is:
> "TypeError: entRef has no properties"
> ----------------------
> Category 3: Default values from DTD not used
>
> 1.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testattrdefaultvalue had an error
> Error message is:
> "TypeError: streetAttr has no properties"
>
> 2.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testattrnotspecifiedvalue had an error
> Error message is:
> "TypeError: streetAttr has no properties"
>
> 4.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testattrspecifiedvalueremove had an error
> Error message is:
> "TypeError: streetAttr has no properties"
>
> 11.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testdocumentcreateelementdefaultattr had an error
> Error message is:
> "TypeError: child has no properties"
>
> 27.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testelementremoveattribute failed
> "elementRemoveAttributeAssert"
> Expected Yes (string) but was null (object)
>
> 30.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testelementremoveattributerestoredefaultvalue failed
> "elementRemoveAttributeRestoreDefaultValueAssert"
> Expected Yes (string) but was null (object)
>
> 31.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testelementretrieveallattributes failed
> "elementRetrieveAllAttributesAssert"
> Expected 2 (number) but was 1 (number)
>
> 38.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnamednodemapremovenameditem had an error
> Error message is:
> "TypeError: streetAttr has no properties"
>
> 39.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnamednodemapremovenameditemgetvalue had an error
> Error message is:
> "TypeError: streetAttr has no properties"
>
> -------------------------
> Category 4: "" returned when null specified
>
> 9.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testdocumentcreatedocumentfragment failed
> "value"
> Expected null but was
>
> 10.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testdocumentcreateelement failed
> "valueInitiallyNull"
> Expected null but was
>
> 42.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodedocumentfragmentnodevalue failed
> "initiallyNull"
> Expected null but was
>
> 46.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodeelementnodevalue failed
> "nodeElementNodeValueAssert1"
> Expected null but was
>
> ---------------------
> Category 5: Document.createEntityReference returns null
>
> 3.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testattrsetvaluenomodificationallowederrEE had an error
> Error message is:
> "[Exception... "Component returned failure code: 0x80004003
> (NS_ERROR_INVALID_POINTER) [nsIDOMElement.appendChild]"  nsresult:
> "0x80004003 (NS_ERROR_INVALID_POINTER)"  location: "JS frame ::
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml :: attrsetvaluenomodificationallowederrEE_runTest :: line 565"  data:
> no]"
>
> 5.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testcharacterdataappenddatanomodificationallowederrEE had an error
> Error message is:
> "[Exception... "Component returned failure code: 0x80004003
> (NS_ERROR_INVALID_POINTER) [nsIDOMElement.appendChild]"  nsresult:
> "0x80004003 (NS_ERROR_INVALID_POINTER)"  location: "JS frame ::
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml :: characterdataappenddatanomodificationallowederrEE_runTest :: line
> 1012"  data: no]"
>
> 6.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testcharacterdatadeletedatanomodificationallowederrEE had an error
> Error message is:
> "[Exception... "Component returned failure code: 0x80004003
> (NS_ERROR_INVALID_POINTER) [nsIDOMElement.appendChild]"  nsresult:
> "0x80004003 (NS_ERROR_INVALID_POINTER)"  location: "JS frame ::
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml :: characterdatadeletedatanomodificationallowederrEE_runTest :: line
> 1353"  data: no]"
>
> 7.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testcharacterdatainsertdatanomodificationallowederrEE had an error
> Error message is:
> "TypeError: entReference has no properties"
>
> 8.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testcharacterdatasetdatanomodificationallowederrEE had an error
> Error message is:
> "TypeError: entReference has no properties"
>
> 12.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testdocumentcreateentityreference failed
> "notNull"
> Expected not to be null
>
> 13.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testdocumentcreateentityreferenceknown had an error
> Error message is:
> "TypeError: newEntRefNode has no properties"
>
> 28.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testelementremoveattributenodenomodificationallowederrEE had an error
> Error message is:
> "[Exception... "Component returned failure code: 0x80004003
> (NS_ERROR_INVALID_POINTER) [nsIDOMElement.appendChild]"  nsresult:
> "0x80004003 (NS_ERROR_INVALID_POINTER)"  location: "JS frame ::
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml :: elementremoveattributenodenomodificationallowederrEE_runTest :: 
> line
> 4945"  data: no]"
>
> 29.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testelementremoveattributenomodificationallowederrEE had an error
> Error message is:
> "[Exception... "Component returned failure code: 0x80004003
> (NS_ERROR_INVALID_POINTER) [nsIDOMElement.appendChild]"  nsresult:
> "0x80004003 (NS_ERROR_INVALID_POINTER)"  location: "JS frame ::
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml :: elementremoveattributenomodificationallowederrEE_runTest :: line 
> 5065"
> data: no]"
>
> 32.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testelementsetattributenomodificationallowederrEE had an error
> Error message is:
> "[Exception... "Component returned failure code: 0x80004003
> (NS_ERROR_INVALID_POINTER) [nsIDOMElement.appendChild]"  nsresult:
> "0x80004003 (NS_ERROR_INVALID_POINTER)"  location: "JS frame ::
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml :: elementsetattributenomodificationallowederrEE_runTest :: line 
> 5615"
> data: no]"
>
> 51.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodeentityreferencenodename had an error
> Error message is:
> "TypeError: entRefNode has no properties"
>
>
> 52.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodeentityreferencenodetype had an error
> Error message is:
> "TypeError: entRefNode has no properties"
>
> 53.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodeentityreferencenodevalue had an error
> Error message is:
> "TypeError: entRefNode has no properties"
>
> 63.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnoderemovechildnomodificationallowederrEE had an error
> Error message is:
> "TypeError: entRef has no properties"
>
> 65.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodereplacechildnomodificationallowederrEE had an error
> Error message is:
> "TypeError: entRef has no properties"
>
> 66.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodesetnodevaluenomodificationallowederrEE had an error
> Error message is:
> "TypeError: entRef has no properties"
>
> ----------------------
> Category 6: Invalid character exception not raised
>
> 15.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testdocumentinvalidcharacterexceptioncreateattribute failed
> "documentInvalidCharacterExceptionCreateAttributeAssert"
> Call to assertTrue(boolean) with false
>
> 16.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testdocumentinvalidcharacterexceptioncreateelement failed
> "documentInvalidCharacterExceptionCreateElementAssert"
> Call to assertTrue(boolean) with false
>
> 17.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testdocumentinvalidcharacterexceptioncreateentref failed
> "documentInvalidCharacterExceptionCreateEntRefAssert"
> Call to assertTrue(boolean) with false
>
> 18.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testdocumentinvalidcharacterexceptioncreatepi failed
> "documentInvalidCharacterExceptionCreatePIAssert"
> Call to assertTrue(boolean) with false
>
> 26.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testelementinvalidcharacterexception failed
> "elementInvalidCharacterExceptionAssert"
>
>
> -----------
> Category 7: Processing instruction not preserved?
>
> 59.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodeprocessinginstructionnodeattributes failed
> "nodeProcessingInstructionNodeAttrAssert1"
> Expected null but was [object NamedNodeMap]
>
>
> 60.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodeprocessinginstructionnodename failed
> "nodeProcessingInstructionNodeNameAssert1"
> Expected TEST-STYLE (string) but was staff (string)
>
> 61.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodeprocessinginstructionnodetype failed
> "nodeProcessingInstructionNodeTypeAssert1"
> Expected 7 (number) but was 1 (number)
>
>
> 62.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodeprocessinginstructionnodevalue failed
> "value"
> Expected PIDATA (string) but was  (string)
>
> 72.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testprocessinginstructiongetdata failed
> "processinginstructionGetTargetAssert"
> Expected PIDATA (string) but was undefined (undefined)
>
> 73.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testprocessinginstructiongettarget failed
> "processinginstructionGetTargetAssert"
> Expected TEST-STYLE (string) but was undefined (undefined)
>
> 74.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testprocessinginstructionsetdatanomodificationallowederrEE had an 
> error
> Error message is:
> "[Exception... "Component returned failure code: 0x80004003
> (NS_ERROR_INVALID_POINTER) [nsIDOMElement.appendChild]"  nsresult:
> "0x80004003 (NS_ERROR_INVALID_POINTER)"  location: "JS frame ::
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml :: processinginstructionsetdatanomodificationallowederrEE_runTest :: 
> line
> 12645"  data: no]"
>
>
> ----------------
> Category 8: IN_USE_ATTRIBUTE not thrown
>
> 25.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testelementinuseattributeerr failed
> "throw_INUSE_ATTRIBUTE_ERR"
> Call to assertTrue(boolean) with false
> Call to assertTrue(boolean) with false
>
> 37.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnamednodemapinuseattributeerr failed
> "namednodemapInUseAttributeErrAssert"
> Call to assertTrue(boolean) with false
>
> ---------------
> Category 8: WRONG_DOCUMENT_ERR not thrown
>
>
> 41.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodeappendchildnewchilddiffdocument failed
> "nodeAppendChildNewChildDiffDocumentAssert1"
> Call to assertTrue(boolean) with false
>
> 33.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testelementwrongdocumenterr failed
> "elementWrongDocumentErrAssert"
> Call to assertTrue(boolean) with false
>
>
> 40.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnamednodemapwrongdocumenterr failed
> "namednodemapWrongDocumentErrAssert"
> Call to assertTrue(boolean) with false
>
>
> 54.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodeinsertbeforenewchilddiffdocument failed
> "throw_WRONG_DOCUMENT_ERR"
> Call to assertTrue(boolean) with false
>
>
>
> 64.
> file:///D:/domts/2001/DOM-Test-
> Suite/build/ecmascript/level1/core/mozsafe.ht
> ml:testnodereplacechildnewchilddiffdocument failed
> "throw_WRONG_DOCUMENT_ERR"
> Call to assertTrue(boolean) with false
>
>
>
>

Received on Friday, 16 November 2001 03:25:24 UTC