| Test Suites Working Group
DOM Level 1 Test Suite made mobile-friendly
Due to the difficulty of using the existing DOM conformance test suites on a mobile devices, the Mobile Web Test Suites Working Group makes available these tests in a less demanding (although less automated as well) harness, in the hope of making it easier to check the conformance of mobile web user agents to the DOM specifications.
Please note that these tests, while automatically derived from the official test suites, have not been approved by the DOM Working Group and have received less scrutinity than the official test suite.
Should you find any bug in it, please report it to the Mobile Web Test Suites Working Group publicly archived mailing list <public-mwts@w3.org>.
At this time, only the tests for DOM Level 1 are provided; please let us know if having more tests under this format would be helpful.
Please note that if your browser supports it, it will go and navigate through the test cases automatically.
DOM Level 1 Tests
-
documentgetdoctypenodtd
-
documentinvalidcharacterexceptioncreateentref
-
documentinvalidcharacterexceptioncreateentref1
-
documentinvalidcharacterexceptioncreatepi
-
documentinvalidcharacterexceptioncreatepi1
-
hc_attrappendchild1
-
hc_attrappendchild2
-
hc_attrappendchild3
-
hc_attrappendchild4
-
hc_attrappendchild5
-
hc_attrappendchild6
-
hc_attrchildnodes1
-
hc_attrchildnodes2
-
hc_attrclonenode1
-
hc_attrcreatedocumentfragment
-
hc_attrcreatetextnode
-
hc_attrcreatetextnode2
-
hc_attreffectivevalue
-
hc_attrfirstchild
-
hc_attrgetvalue1
-
hc_attrgetvalue2
-
hc_attrhaschildnodes
-
hc_attrinsertbefore1
-
hc_attrinsertbefore2
-
hc_attrinsertbefore3
-
hc_attrinsertbefore4
-
hc_attrinsertbefore5
-
hc_attrinsertbefore6
-
hc_attrinsertbefore7
-
hc_attrlastchild
-
hc_attrname
-
hc_attrnextsiblingnull
-
hc_attrnormalize
-
hc_attrparentnodenull
-
hc_attrprevioussiblingnull
-
hc_attrremovechild1
-
hc_attrremovechild2
-
hc_attrreplacechild1
-
hc_attrreplacechild2
-
hc_attrsetvalue1
-
hc_attrsetvalue2
-
hc_attrspecifiedvalue
-
hc_attrspecifiedvaluechanged
-
hc_characterdataappenddata
-
hc_characterdataappenddatagetdata
-
hc_characterdatadeletedatabegining
-
hc_characterdatadeletedataend
-
hc_characterdatadeletedataexceedslength
-
hc_characterdatadeletedatagetlengthanddata
-
hc_characterdatadeletedatamiddle
-
hc_characterdatagetdata
-
hc_characterdatagetlength
-
hc_characterdataindexsizeerrdeletedatacountnegative
-
hc_characterdataindexsizeerrdeletedataoffsetgreater
-
hc_characterdataindexsizeerrdeletedataoffsetnegative
-
hc_characterdataindexsizeerrinsertdataoffsetgreater
-
hc_characterdataindexsizeerrinsertdataoffsetnegative
-
hc_characterdataindexsizeerrreplacedatacountnegative
-
hc_characterdataindexsizeerrreplacedataoffsetgreater
-
hc_characterdataindexsizeerrreplacedataoffsetnegative
-
hc_characterdataindexsizeerrsubstringcountnegative
-
hc_characterdataindexsizeerrsubstringnegativeoffset
-
hc_characterdataindexsizeerrsubstringoffsetgreater
-
hc_characterdatainsertdatabeginning
-
hc_characterdatainsertdataend
-
hc_characterdatainsertdatamiddle
-
hc_characterdatareplacedatabegining
-
hc_characterdatareplacedataend
-
hc_characterdatareplacedataexceedslengthofarg
-
hc_characterdatareplacedataexceedslengthofdata
-
hc_characterdatareplacedatamiddle
-
hc_characterdatasetnodevalue
-
hc_characterdatasubstringexceedsvalue
-
hc_characterdatasubstringvalue
-
hc_commentgetcomment
-
hc_documentcreateattribute
-
hc_documentcreatecomment
-
hc_documentcreatedocumentfragment
-
hc_documentcreateelement
-
hc_documentcreateelementcasesensitive
-
hc_documentcreatetextnode
-
hc_documentgetdoctype
-
hc_documentgetelementsbytagnamelength
-
hc_documentgetelementsbytagnametotallength
-
hc_documentgetelementsbytagnamevalue
-
hc_documentgetimplementation
-
hc_documentgetrootnode
-
hc_documentinvalidcharacterexceptioncreateattribute
-
hc_documentinvalidcharacterexceptioncreateattribute1
-
hc_documentinvalidcharacterexceptioncreateelement
-
hc_documentinvalidcharacterexceptioncreateelement1
-
hc_domimplementationfeaturenoversion
-
hc_domimplementationfeaturenull
-
hc_domimplementationfeaturexml
-
hc_elementaddnewattribute
-
hc_elementassociatedattribute
-
hc_elementchangeattributevalue
-
hc_elementcreatenewattribute
-
hc_elementgetattributenode
-
hc_elementgetattributenodenull
-
hc_elementgetelementempty
-
hc_elementgetelementsbytagname
-
hc_elementgetelementsbytagnameaccessnodelist
-
hc_elementgetelementsbytagnamenomatch
-
hc_elementgetelementsbytagnamespecialvalue
-
hc_elementgettagname
-
hc_elementinuseattributeerr
-
hc_elementinvalidcharacterexception
-
hc_elementinvalidcharacterexception1
-
hc_elementnormalize
-
hc_elementnormalize2
-
hc_elementnotfounderr
-
hc_elementremoveattribute
-
hc_elementremoveattributeaftercreate
-
hc_elementremoveattributenode
-
hc_elementreplaceattributewithself
-
hc_elementreplaceexistingattribute
-
hc_elementreplaceexistingattributegevalue
-
hc_elementretrieveallattributes
-
hc_elementretrieveattrvalue
-
hc_elementretrievetagname
-
hc_elementsetattributenodenull
-
hc_elementwrongdocumenterr
-
hc_entitiesremovenameditem1
-
hc_entitiessetnameditem1
-
hc_namednodemapchildnoderange
-
hc_namednodemapgetnameditem
-
hc_namednodemapinuseattributeerr
-
hc_namednodemapnotfounderr
-
hc_namednodemapnumberofnodes
-
hc_namednodemapremovenameditem
-
hc_namednodemapreturnattrnode
-
hc_namednodemapreturnfirstitem
-
hc_namednodemapreturnlastitem
-
hc_namednodemapreturnnull
-
hc_namednodemapsetnameditem
-
hc_namednodemapsetnameditemreturnvalue
-
hc_namednodemapsetnameditemthatexists
-
hc_namednodemapsetnameditemwithnewvalue
-
hc_namednodemapwrongdocumenterr
-
hc_nodeappendchild
-
hc_nodeappendchildchildexists
-
hc_nodeappendchilddocfragment
-
hc_nodeappendchildgetnodename
-
hc_nodeappendchildinvalidnodetype
-
hc_nodeappendchildnewchilddiffdocument
-
hc_nodeappendchildnodeancestor
-
hc_nodeattributenodeattribute
-
hc_nodeattributenodename
-
hc_nodeattributenodetype
-
hc_nodeattributenodevalue
-
hc_nodechildnodes
-
hc_nodechildnodesappendchild
-
hc_nodechildnodesempty
-
hc_nodecloneattributescopied
-
hc_nodeclonefalsenocopytext
-
hc_nodeclonegetparentnull
-
hc_nodeclonenodefalse
-
hc_nodeclonenodetrue
-
hc_nodeclonetruecopytext
-
hc_nodecommentnodeattributes
-
hc_nodecommentnodename
-
hc_nodecommentnodetype
-
hc_nodecommentnodevalue
-
hc_nodedocumentfragmentnodename
-
hc_nodedocumentfragmentnodetype
-
hc_nodedocumentfragmentnodevalue
-
hc_nodedocumentnodeattribute
-
hc_nodedocumentnodename
-
hc_nodedocumentnodetype
-
hc_nodedocumentnodevalue
-
hc_nodeelementnodeattributes
-
hc_nodeelementnodename
-
hc_nodeelementnodetype
-
hc_nodeelementnodevalue
-
hc_nodegetfirstchild
-
hc_nodegetfirstchildnull
-
hc_nodegetlastchild
-
hc_nodegetlastchildnull
-
hc_nodegetnextsibling
-
hc_nodegetnextsiblingnull
-
hc_nodegetownerdocument
-
hc_nodegetownerdocumentnull
-
hc_nodegetprevioussibling
-
hc_nodegetprevioussiblingnull
-
hc_nodehaschildnodes
-
hc_nodehaschildnodesfalse
-
hc_nodeinsertbefore
-
hc_nodeinsertbeforedocfragment
-
hc_nodeinsertbeforeinvalidnodetype
-
hc_nodeinsertbeforenewchilddiffdocument
-
hc_nodeinsertbeforenewchildexists
-
hc_nodeinsertbeforenodeancestor
-
hc_nodeinsertbeforenodename
-
hc_nodeinsertbeforerefchildnonexistent
-
hc_nodeinsertbeforerefchildnull
-
hc_nodelistindexequalzero
-
hc_nodelistindexgetlength
-
hc_nodelistindexgetlengthofemptylist
-
hc_nodelistindexnotzero
-
hc_nodelistreturnfirstitem
-
hc_nodelistreturnlastitem
-
hc_nodelisttraverselist
-
hc_nodeparentnode
-
hc_nodeparentnodenull
-
hc_noderemovechild
-
hc_noderemovechildgetnodename
-
hc_noderemovechildnode
-
hc_noderemovechildoldchildnonexistent
-
hc_nodereplacechild
-
hc_nodereplacechildinvalidnodetype
-
hc_nodereplacechildnewchilddiffdocument
-
hc_nodereplacechildnewchildexists
-
hc_nodereplacechildnodeancestor
-
hc_nodereplacechildnodename
-
hc_nodereplacechildoldchildnonexistent
-
hc_nodetextnodeattribute
-
hc_nodetextnodename
-
hc_nodetextnodetype
-
hc_nodetextnodevalue
-
hc_nodevalue01
-
hc_nodevalue02
-
hc_nodevalue03
-
hc_nodevalue04
-
hc_nodevalue05
-
hc_nodevalue06
-
hc_nodevalue07
-
hc_nodevalue08
-
hc_notationsremovenameditem1
-
hc_notationssetnameditem1
-
hc_textindexsizeerrnegativeoffset
-
hc_textindexsizeerroffsetoutofbounds
-
hc_textparseintolistofelements
-
hc_textsplittextfour
-
hc_textsplittextone
-
hc_textsplittextthree
-
hc_textsplittexttwo
-
hc_textwithnomarkup
Dominique Hazaël-Massieux
The development of these test cases was funded by the European Union through the 3GWeb European Project.
Copyright
© 2007 W3C® (MIT, ERCIM,
Keio), All Rights Reserved. W3C liability,
trademark,
document
use rules apply.