name-validation.html

FAILExpected0 of 5 subtests pass413 ms

Details

Test
/dom/nodes/name-validation.html
Harness
OK

Subtests

StatusSubtestMessage
FAILValid and invalid characters in createElement.
assert_throws_dom: document.createElement should throw an error for: code points: [58,115,111,104,1], string: ":soh" function "() => document.createElement(invalidName)" did not throw
assert_throws_dom: document.createElement should throw an error for: code points: [58,115,111,104,1], string: ":soh" function "() => document.createElement(invalidName)" did not throw
FAILValid and invalid characters in createElementNS and createDocument.
assert_unreached: document.createElementNS should not have thrown an error for: code points: [1], string: "" code points: [100,105,118], string: "div" InvalidCharacterError: createElementNS: ':div' …
assert_unreached: document.createElementNS should not have thrown an error for: code points: [1], string: "" code points: [100,105,118], string: "div" InvalidCharacterError: createElementNS: ':div' …
FAILValid and invalid characters in setAttribute, toggleAttribute, and createAttribute.
assert_unreached: element.setAttribute should not have thrown an error for: code points: [1], string: "" InvalidCharacterError: '' is not a valid attribute name Reached unreachable code
assert_unreached: element.setAttribute should not have thrown an error for: code points: [1], string: "" InvalidCharacterError: '' is not a valid attribute name Reached unreachable code
FAILValid and invalid characters in setAttributeNS and createAttributeNS.
assert_throws_dom: document.createAttributeNS should have thrown an error for: code points: [115,109,97,108,108,69,109,111,106,105,55356,56726], string: "smallEmoji🆖" code points: [], string: "" func…
assert_throws_dom: document.createAttributeNS should have thrown an error for: code points: [115,109,97,108,108,69,109,111,106,105,55356,56726], string: "smallEmoji🆖" code points: [], string: "" func…
FAILValid and invalid characters in createDocumentType.
assert_unreached: createDocumentType should not have thrown an error for code points: [1], string: "" InvalidCharacterError: createDocumentType: '' is not a valid qualified name Reached unreachable …
assert_unreached: createDocumentType should not have thrown an error for code points: [1], string: "" InvalidCharacterError: createDocumentType: '' is not a valid qualified name Reached unreachable …