OLD | NEW |
| (Empty) |
1 This is a testharness.js-based test. | |
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) | |
4 PASS When qualifiedName does not match the Name production, an INVALID_CHARACTER
_ERR exception is to be thrown, even if the attribute is already present. (setAt
tribute) | |
5 PASS setAttribute should lowercase its name argument (upper case attribute) | |
6 PASS setAttribute should lowercase its name argument (mixed case attribute) | |
7 PASS setAttribute should not throw even when qualifiedName starts with 'xmlns' | |
8 PASS Basic functionality should be intact. | |
9 PASS setAttribute should not change the order of previously set attributes. | |
10 PASS setAttribute should set the first attribute with the given name | |
11 PASS setAttribute should set the attribute with the given qualified name | |
12 PASS When qualifiedName does not match the Name production, an INVALID_CHARACTER
_ERR exception is to be thrown. (setAttributeNS) | |
13 PASS When qualifiedName does not match the Name production, an INVALID_CHARACTER
_ERR exception is to be thrown, even if the attribute is already present. (setAt
tributeNS) | |
14 PASS When qualifiedName does not match the QName production, an NAMESPACE_ERR ex
ception is to be thrown. | |
15 PASS null and the empty string should result in a null namespace. | |
16 PASS A namespace is required to use a prefix. | |
17 PASS The xml prefix should not be allowed for arbitrary namespaces | |
18 PASS XML-namespaced attributes don't need an xml prefix | |
19 PASS The xmlns prefix should not be allowed for arbitrary namespaces | |
20 PASS The xmlns qualified name should not be allowed for arbitrary namespaces | |
21 PASS xmlns should be allowed as local name | |
22 PASS The XMLNS namespace should require xmlns as prefix or qualified name | |
23 PASS xmlns should be allowed as prefix in the XMLNS namespace | |
24 PASS xmlns should be allowed as qualified name in the XMLNS namespace | |
25 PASS Setting the same attribute with another prefix should not change the prefix
| |
26 PASS setAttribute should not throw even if a load is not allowed | |
27 PASS Attributes should work in document fragments. | |
28 PASS Attribute values should not be parsed. | |
29 PASS Specified attributes should be accessible. | |
30 PASS Entities in attributes should have been expanded while parsing. | |
31 PASS Unset attributes return null | |
32 PASS First set attribute is returned by getAttribute | |
33 PASS Style attributes are not normalized | |
34 FAIL Only lowercase attributes are returned on HTML elements (upper case attribu
te) assert_equals: expected (object) null but got (string) "left" | |
35 FAIL Only lowercase attributes are returned on HTML elements (mixed case attribu
te) assert_equals: expected (object) null but got (string) "tasty" | |
36 PASS First set attribute is returned with mapped attribute set first | |
37 PASS First set attribute is returned with mapped attribute set later | |
38 PASS Non-HTML element with upper-case attribute | |
39 PASS Attribute with prefix in local name | |
40 PASS Attribute loses its owner when removed | |
41 PASS Basic functionality of getAttributeNode/getAttributeNodeNS | |
42 PASS Basic functionality of setAttributeNode | |
43 PASS Basic functionality of setAttributeNodeNS | |
44 PASS If attr’s element is neither null nor element, throw an InUseAttributeError
. | |
45 PASS Replacing an attr by itself | |
46 PASS Basic functionality of removeAttributeNode | |
47 PASS setAttributeNode on bound attribute should throw InUseAttributeError | |
48 PASS setAttributeNode, if it fires mutation events, should fire one with the new
node when resetting an existing attribute | |
49 PASS setAttributeNode, if it fires mutation events, should fire one with the new
node when resetting an existing attribute (outer shell) | |
50 PASS setAttributeNode called with an Attr that has the same name as an existing
one should not change attribute order | |
51 FAIL getAttributeNames tests el.getAttributeNames is not a function | |
52 FAIL Own property correctness with basic attributes assert_array_equals: lengths
differ, expected 2 got 0 | |
53 FAIL Own property correctness with non-namespaced attribute before same-name nam
espaced one assert_array_equals: lengths differ, expected 3 got 0 | |
54 FAIL Own property correctness with namespaced attribute before same-name non-nam
espaced one assert_array_equals: lengths differ, expected 3 got 0 | |
55 FAIL Own property correctness with two namespaced attributes with the same name-
with-prefix assert_array_equals: lengths differ, expected 3 got 0 | |
56 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 | |
57 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 | |
58 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 | |
59 Harness: the test ran to completion. | |
60 | |
OLD | NEW |