OLD | NEW |
1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
2 FAIL AttrExodus assert_false: expected false got true | 2 FAIL AttrExodus assert_false: should not be a Node expected false got true |
3 PASS When qualifiedName does not match the Name production, an INVALID_CHARACTER
_ERR exception is to be thrown. (setAttribute) | 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) | 4 PASS setAttribute should lowercase its name argument (upper case attribute) |
5 PASS setAttribute should lowercase its name argument (mixed 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' | 6 PASS setAttribute should not throw even when qualifiedName starts with 'xmlns' |
7 PASS Basic functionality should be intact. | 7 PASS Basic functionality should be intact. |
8 PASS setAttribute should not change the order of previously set attributes. | 8 PASS setAttribute should not change the order of previously set attributes. |
9 PASS setAttribute should set the first attribute with the given name | 9 PASS setAttribute should set the first attribute with the given name |
10 PASS setAttribute should set the attribute with the given qualified 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) | 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. | 12 PASS When qualifiedName does not match the QName production, an NAMESPACE_ERR ex
ception is to be thrown. |
(...skipping 19 matching lines...) Expand all Loading... |
32 FAIL Only lowercase attributes are returned on HTML elements (upper case attribu
te) assert_equals: expected (object) null but got (string) "left" | 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" | 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 | 34 PASS First set attribute is returned with mapped attribute set first |
35 PASS First set attribute is returned with mapped attribute set later | 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 | 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 | 37 PASS Attribute with prefix in local name |
38 PASS Attribute loses its owner when removed | 38 PASS Attribute loses its owner when removed |
39 PASS Basic functionality of getAttributeNode/getAttributeNodeNS | 39 PASS Basic functionality of getAttributeNode/getAttributeNodeNS |
40 PASS Basic functionality of setAttributeNode | 40 PASS Basic functionality of setAttributeNode |
41 PASS Basic functionality of setAttributeNodeNS | 41 PASS Basic functionality of setAttributeNodeNS |
| 42 PASS If attr’s element is neither null nor element, throw an InUseAttributeError
. |
| 43 PASS Replacing an attr by itself |
42 PASS Basic functionality of removeAttributeNode | 44 PASS Basic functionality of removeAttributeNode |
43 PASS setAttributeNode on bound attribute should throw InUseAttributeError | 45 PASS setAttributeNode on bound attribute should throw InUseAttributeError |
| 46 PASS setAttributeNode, if it fires mutation events, should fire one with the new
node when resetting an existing attribute |
| 47 PASS setAttributeNode, if it fires mutation events, should fire one with the new
node when resetting an existing attribute (outer shell) |
| 48 PASS setAttributeNode called with an Attr that has the same name as an existing
one should not change attribute order |
44 FAIL getAttributeNames tests el.getAttributeNames is not a function | 49 FAIL getAttributeNames tests el.getAttributeNames is not a function |
45 FAIL Own property correctness with basic attributes assert_array_equals: lengths
differ, expected 2 got 0 | 50 FAIL Own property correctness with basic attributes assert_array_equals: lengths
differ, expected 2 got 0 |
46 FAIL Own property correctness with non-namespaced attribute before same-name nam
espaced one assert_array_equals: lengths differ, expected 3 got 0 | 51 FAIL Own property correctness with non-namespaced attribute before same-name nam
espaced one assert_array_equals: lengths differ, expected 3 got 0 |
47 FAIL Own property correctness with namespaced attribute before same-name non-nam
espaced one assert_array_equals: lengths differ, expected 3 got 0 | 52 FAIL Own property correctness with namespaced attribute before same-name non-nam
espaced one assert_array_equals: lengths differ, expected 3 got 0 |
48 FAIL Own property correctness with two namespaced attributes with the same name-
with-prefix assert_array_equals: lengths differ, expected 3 got 0 | 53 FAIL Own property correctness with two namespaced attributes with the same name-
with-prefix assert_array_equals: lengths differ, expected 3 got 0 |
| 54 FAIL Own property names should only include all-lowercase qualified names for an
HTML element in an HTML document assert_array_equals: lengths differ, expected
8 got 6 |
| 55 FAIL Own property names should include all qualified names for a non-HTML elemen
t in an HTML document assert_array_equals: lengths differ, expected 12 got 6 |
| 56 FAIL Own property names should include all qualified names for an HTML element i
n a non-HTML document assert_array_equals: lengths differ, expected 12 got 6 |
49 Harness: the test ran to completion. | 57 Harness: the test ran to completion. |
50 | 58 |
OLD | NEW |