name-validation.html
Details
- Test
/dom/nodes/name-validation.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| FAIL | Valid 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 |
| FAIL | Valid 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' … |
| FAIL | Valid 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 |
| FAIL | Valid 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… |
| FAIL | Valid 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 … |