gecko-dev/dom/tests/mochitest/dom-level2-core
Aryeh Gregor 527fb3fff5 Bug 1358104 - Only throw InvalidCharacterError for bad XML id's, not NamespaceError r=baku
Discussion at <https://github.com/whatwg/dom/issues/319>.  In short, the
specification used to say to throw sometimes InvalidCharacterError and
sometimes NamespaceError, but browsers disagreed on which to throw in
corner cases, and everyone agreed it wasn't worth the effort to spec the
distinction, so we just changed it to InvalidCharacterError across the
board.

The test changes are already upstream.

MozReview-Commit-ID: AWSZBznQprG

--HG--
extra : rebase_source : 2f0051f48124380f17300a38ceb8c2ab23015ca1
2017-04-20 17:37:07 +03:00
..
files
DOMTestCase.js
exclusions.js Bug 801545 - Remove DocumentType.internalSubset, r=bz 2015-10-19 09:53:41 +01:00
mochitest.ini Bug 1055776 - Move namespaceURI, prefix, localName from Node to Element; r=bz 2016-04-13 15:21:12 +03:00
test_attrgetownerelement01.html Backed out 2 changesets (bug 957431) because we decided we're keeping Attr.ownerElement in the end 2014-03-21 16:04:09 -04:00
test_attrgetownerelement02.html Backed out 2 changesets (bug 957431) because we decided we're keeping Attr.ownerElement in the end 2014-03-21 16:04:09 -04:00
test_attrgetownerelement03.html Backed out 2 changesets (bug 957431) because we decided we're keeping Attr.ownerElement in the end 2014-03-21 16:04:09 -04:00
test_attrgetownerelement04.html Backed out 2 changesets (bug 957431) because we decided we're keeping Attr.ownerElement in the end 2014-03-21 16:04:09 -04:00
test_attrgetownerelement05.html Backed out 2 changesets (bug 957431) because we decided we're keeping Attr.ownerElement in the end 2014-03-21 16:04:09 -04:00
test_createAttributeNS01.html Bug 1358104 - Only throw InvalidCharacterError for bad XML id's, not NamespaceError r=baku 2017-04-20 17:37:07 +03:00
test_createAttributeNS02.html
test_createAttributeNS03.html
test_createAttributeNS04.html
test_createAttributeNS05.html
test_createAttributeNS06.html
test_createDocument01.html Bug 1358104 - Only throw InvalidCharacterError for bad XML id's, not NamespaceError r=baku 2017-04-20 17:37:07 +03:00
test_createDocument02.html
test_createDocument03.html
test_createDocument04.html
test_createDocument05.html
test_createDocument06.html
test_createDocument07.html
test_createDocumentType01.html Bug 1358104 - Only throw InvalidCharacterError for bad XML id's, not NamespaceError r=baku 2017-04-20 17:37:07 +03:00
test_createDocumentType02.html
test_createDocumentType03.html
test_createElementNS01.html Bug 1358104 - Only throw InvalidCharacterError for bad XML id's, not NamespaceError r=baku 2017-04-20 17:37:07 +03:00
test_createElementNS02.html
test_createElementNS03.html
test_createElementNS04.html
test_createElementNS05.html
test_createElementNS06.html
test_documentcreateattributeNS01.html
test_documentcreateattributeNS02.html
test_documentcreateattributeNS03.html
test_documentcreateattributeNS04.html Bug 1358104 - Only throw InvalidCharacterError for bad XML id's, not NamespaceError r=baku 2017-04-20 17:37:07 +03:00
test_documentcreateattributeNS05.html
test_documentcreateattributeNS06.html
test_documentcreateattributeNS07.html
test_documentcreateelementNS01.html
test_documentcreateelementNS02.html
test_documentcreateelementNS05.html
test_documentcreateelementNS06.html
test_documentgetelementbyid01.html
test_documentgetelementsbytagnameNS01.html
test_documentgetelementsbytagnameNS02.html
test_documentgetelementsbytagnameNS03.html
test_documentgetelementsbytagnameNS04.html
test_documentgetelementsbytagnameNS05.html
test_documentimportnode01.html
test_documentimportnode02.html
test_documentimportnode03.html
test_documentimportnode04.html
test_documentimportnode05.html
test_documentimportnode06.html
test_documentimportnode07.html
test_documentimportnode08.html
test_documentimportnode09.html
test_documentimportnode10.html
test_documentimportnode11.html
test_documentimportnode12.html
test_documentimportnode13.html
test_documentimportnode14.html
test_documentimportnode15.html
test_documentimportnode17.html
test_documentimportnode18.html
test_documentimportnode19.html
test_documentimportnode20.html
test_documentimportnode21.html
test_documentimportnode22.html
test_documenttypepublicid01.html
test_documenttypesystemid01.html
test_domimplementationcreatedocument03.html
test_domimplementationcreatedocument04.html
test_domimplementationcreatedocument05.html
test_domimplementationcreatedocument07.html Bug 1358104 - Only throw InvalidCharacterError for bad XML id's, not NamespaceError r=baku 2017-04-20 17:37:07 +03:00
test_domimplementationcreatedocumenttype01.html
test_domimplementationcreatedocumenttype02.html
test_domimplementationcreatedocumenttype04.html
test_domimplementationfeaturecore.html
test_domimplementationfeaturexmlversion2.html
test_domimplementationhasfeature01.html
test_elementgetattributenodens01.html
test_elementgetattributenodens02.html
test_elementgetattributenodens03.html
test_elementgetattributens02.html
test_elementgetelementsbytagnamens02.html
test_elementgetelementsbytagnamens04.html
test_elementgetelementsbytagnamens05.html
test_elementhasattribute01.html
test_elementhasattribute02.html
test_elementhasattribute03.html
test_elementhasattribute04.html
test_elementhasattributens01.html
test_elementhasattributens02.html
test_elementhasattributens03.html
test_elementremoveattributens01.html
test_elementsetattributenodens01.html
test_elementsetattributenodens02.html
test_elementsetattributenodens03.html
test_elementsetattributenodens04.html
test_elementsetattributenodens05.html
test_elementsetattributenodens06.html
test_elementsetattributens01.html
test_elementsetattributens02.html
test_elementsetattributens03.html Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
test_elementsetattributens04.html
test_elementsetattributens05.html
test_elementsetattributens08.html
test_elementsetattributensurinull.html
test_getAttributeNS01.html
test_getAttributeNS02.html Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
test_getAttributeNS03.html Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
test_getAttributeNS04.html Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
test_getAttributeNS05.html Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
test_getAttributeNodeNS01.html Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
test_getAttributeNodeNS02.html Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
test_getElementById01.html
test_getElementById02.html
test_getElementsByTagNameNS01.html
test_getElementsByTagNameNS02.html
test_getElementsByTagNameNS03.html
test_getElementsByTagNameNS04.html
test_getElementsByTagNameNS05.html
test_getElementsByTagNameNS06.html
test_getElementsByTagNameNS07.html
test_getElementsByTagNameNS08.html
test_getElementsByTagNameNS09.html
test_getElementsByTagNameNS10.html
test_getElementsByTagNameNS11.html
test_getElementsByTagNameNS12.html
test_getElementsByTagNameNS13.html
test_getElementsByTagNameNS14.html
test_getNamedItemNS01.html
test_getNamedItemNS02.html
test_getNamedItemNS03.html
test_getNamedItemNS04.html
test_hasAttribute01.html
test_hasAttribute02.html
test_hasAttribute03.html
test_hasAttribute04.html
test_hasAttributeNS01.html
test_hasAttributeNS02.html
test_hasAttributeNS03.html Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
test_hasAttributeNS04.html Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
test_hasAttributeNS05.html
test_hasAttributes01.html
test_hasAttributes02.html
test_hc_namednodemapinvalidtype1.html
test_hc_nodedocumentfragmentnormalize1.html
test_hc_nodedocumentfragmentnormalize2.html
test_importNode01.html Backed out 2 changesets (bug 957431) because we decided we're keeping Attr.ownerElement in the end 2014-03-21 16:04:09 -04:00
test_importNode02.html
test_importNode03.html
test_importNode04.html
test_importNode05.html Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
test_importNode06.html Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
test_importNode07.html
test_importNode08.html
test_importNode09.html
test_importNode10.html
test_importNode11.html
test_importNode12.html
test_importNode13.html
test_importNode14.html
test_importNode15.html
test_importNode16.html
test_importNode17.html
test_localName01.html Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
test_localName02.html
test_localName04.html
test_namednodemapgetnameditemns01.html
test_namednodemapgetnameditemns02.html
test_namednodemapgetnameditemns03.html
test_namednodemapgetnameditemns04.html
test_namednodemapgetnameditemns05.html
test_namednodemapgetnameditemns06.html
test_namednodemapremovenameditemns01.html
test_namednodemapremovenameditemns02.html
test_namednodemapremovenameditemns03.html
test_namednodemapremovenameditemns04.html
test_namednodemapremovenameditemns05.html
test_namednodemapremovenameditemns06.html
test_namednodemapremovenameditemns07.html
test_namednodemapremovenameditemns08.html
test_namednodemapremovenameditemns09.html
test_namednodemapsetnameditemns01.html
test_namednodemapsetnameditemns02.html
test_namednodemapsetnameditemns03.html
test_namednodemapsetnameditemns04.html
test_namednodemapsetnameditemns05.html
test_namednodemapsetnameditemns06.html
test_namednodemapsetnameditemns07.html
test_namednodemapsetnameditemns08.html
test_namednodemapsetnameditemns09.html
test_namednodemapsetnameditemns10.html
test_namednodemapsetnameditemns11.html
test_namespaceURI01.html
test_namespaceURI02.html Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
test_namespaceURI03.html
test_namespaceURI04.html
test_nodegetlocalname03.html
test_nodegetnamespaceuri03.html
test_nodegetownerdocument01.html
test_nodegetownerdocument02.html
test_nodegetprefix03.html
test_nodehasattributes01.html
test_nodehasattributes02.html
test_nodehasattributes03.html Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
test_nodehasattributes04.html
test_nodenormalize01.html
test_normalize01.html
test_ownerDocument01.html
test_ownerElement01.html Backed out 2 changesets (bug 957431) because we decided we're keeping Attr.ownerElement in the end 2014-03-21 16:04:09 -04:00
test_ownerElement02.html Backed out 2 changesets (bug 957431) because we decided we're keeping Attr.ownerElement in the end 2014-03-21 16:04:09 -04:00
test_prefix01.html
test_prefix03.html Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
test_prefix04.html
test_publicId01.html
test_removeAttributeNS01.html
test_removeAttributeNS02.html
test_removeNamedItemNS01.html
test_removeNamedItemNS02.html
test_removeNamedItemNS03.html
test_setAttributeNS01.html
test_setAttributeNS02.html Bug 1358104 - Only throw InvalidCharacterError for bad XML id's, not NamespaceError r=baku 2017-04-20 17:37:07 +03:00
test_setAttributeNS03.html
test_setAttributeNS04.html Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
test_setAttributeNS05.html Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
test_setAttributeNS06.html
test_setAttributeNS07.html
test_setAttributeNS09.html Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
test_setAttributeNS10.html
test_setAttributeNodeNS01.html Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
test_setAttributeNodeNS02.html
test_setAttributeNodeNS03.html Bug 1236329. Back out the patch for bug 492933 (revision d8012b35413b) because it's not web-compatible in practice. r=smaug 2016-01-05 15:05:23 -05:00
test_setAttributeNodeNS04.html
test_setAttributeNodeNS05.html
test_setNamedItemNS01.html
test_setNamedItemNS02.html
test_setNamedItemNS03.html
test_setNamedItemNS04.html
test_setNamedItemNS05.html
test_systemId01.html