OLD | NEW |
(Empty) | |
| 1 This is a testharness.js-based test. |
| 2 FAIL AttrExodus assert_false: expected false got true |
| 3 PASS When qualifiedName does not match the Name production, an INVALID_CHARACTER
_ERR exception is to be thrown. (setAttribute) |
| 4 PASS setAttribute should lowercase its name argument (upper case attribute) |
| 5 PASS setAttribute should lowercase its name argument (mixed case attribute) |
| 6 PASS setAttribute should not throw even when qualifiedName starts with 'xmlns' |
| 7 PASS Basic functionality should be intact. |
| 8 PASS setAttribute should not change the order of previously set attributes. |
| 9 PASS setAttribute should set the first attribute with the given name |
| 10 PASS setAttribute should set the attribute with the given qualified name |
| 11 PASS When qualifiedName does not match the Name production, an INVALID_CHARACTER
_ERR exception is to be thrown. (setAttributeNS) |
| 12 PASS When qualifiedName does not match the QName production, an NAMESPACE_ERR ex
ception is to be thrown. |
| 13 PASS null and the empty string should result in a null namespace. |
| 14 PASS A namespace is required to use a prefix. |
| 15 PASS The xml prefix should not be allowed for arbitrary namespaces |
| 16 PASS XML-namespaced attributes don't need an xml prefix |
| 17 PASS The xmlns prefix should not be allowed for arbitrary namespaces |
| 18 PASS The xmlns qualified name should not be allowed for arbitrary namespaces |
| 19 PASS xmlns should be allowed as local name |
| 20 PASS The XMLNS namespace should require xmlns as prefix or qualified name |
| 21 PASS xmlns should be allowed as prefix in the XMLNS namespace |
| 22 PASS xmlns should be allowed as qualified name in the XMLNS namespace |
| 23 PASS Setting the same attribute with another prefix should not change the prefix
|
| 24 PASS setAttribute should not throw even if a load is not allowed |
| 25 PASS Attributes should work in document fragments. |
| 26 PASS Attribute values should not be parsed. |
| 27 PASS Specified attributes should be accessible. |
| 28 PASS Entities in attributes should have been expanded while parsing. |
| 29 PASS Unset attributes return null |
| 30 PASS First set attribute is returned by getAttribute |
| 31 PASS Style attributes are not normalized |
| 32 FAIL Only lowercase attributes are returned on HTML elements (upper case attribu
te) assert_equals: expected (object) null but got (string) "left" |
| 33 FAIL Only lowercase attributes are returned on HTML elements (mixed case attribu
te) assert_equals: expected (object) null but got (string) "tasty" |
| 34 PASS First set attribute is returned with mapped attribute set first |
| 35 PASS First set attribute is returned with mapped attribute set later |
| 36 FAIL Non-HTML element with upper-case attribute assert_equals: el.hasAttributeNS
(undefined) expected true but got false |
| 37 PASS Attribute with prefix in local name |
| 38 PASS Attribute loses its owner when removed |
| 39 PASS Basic functionality of getAttributeNode/getAttributeNodeNS |
| 40 PASS Basic functionality of setAttributeNode |
| 41 PASS Basic functionality of setAttributeNodeNS |
| 42 PASS Basic functionality of removeAttributeNode |
| 43 PASS setAttributeNode on bound attribute should throw InUseAttributeError |
| 44 Harness: the test ran to completion. |
| 45 |
OLD | NEW |