OLD | NEW |
1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
2 Found 58 tests; 49 PASS, 9 FAIL, 0 TIMEOUT, 0 NOTRUN. | 2 Found 58 tests; 50 PASS, 8 FAIL, 0 TIMEOUT, 0 NOTRUN. |
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 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) | 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) | 5 PASS setAttribute should lowercase its name argument (upper case attribute) |
6 PASS setAttribute should lowercase its name argument (mixed 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' | 7 PASS setAttribute should not throw even when qualifiedName starts with 'xmlns' |
8 PASS Basic functionality should be intact. | 8 PASS Basic functionality should be intact. |
9 PASS setAttribute should not change the order of previously set attributes. | 9 PASS setAttribute should not change the order of previously set attributes. |
10 PASS setAttribute should set the first attribute with the given name | 10 PASS setAttribute should set the first attribute with the given name |
11 PASS setAttribute should set the attribute with the given qualified 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) | 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) | 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 FAIL When qualifiedName does not match the QName production, an INVALID_CHARACTE
R_ERR exception is to be thrown. assert_throws: Expected exception for :a. funct
ion "function () { el.setAttributeNS("a", invalid_qnames[i], "fail") }" threw ob
ject "NamespaceError: Failed to execute 'setAttributeNS' on 'Element': The quali
fied name provided (':a') has an empty namespace prefix." that is not a DOMExcep
tion INVALID_CHARACTER_ERR: property "code" is equal to 14, expected 5 | 14 PASS When qualifiedName does not match the QName production, an INVALID_CHARACTE
R_ERR exception is to be thrown. |
15 PASS null and the empty string should result in a null namespace. | 15 PASS null and the empty string should result in a null namespace. |
16 PASS A namespace is required to use a prefix. | 16 PASS A namespace is required to use a prefix. |
17 PASS The xml prefix should not be allowed for arbitrary namespaces | 17 PASS The xml prefix should not be allowed for arbitrary namespaces |
18 PASS XML-namespaced attributes don't need an xml prefix | 18 PASS XML-namespaced attributes don't need an xml prefix |
19 PASS The xmlns prefix should not be allowed for arbitrary namespaces | 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 | 20 PASS The xmlns qualified name should not be allowed for arbitrary namespaces |
21 PASS xmlns should be allowed as local name | 21 PASS xmlns should be allowed as local name |
22 PASS The XMLNS namespace should require xmlns as prefix or qualified 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 | 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 | 24 PASS xmlns should be allowed as qualified name in the XMLNS namespace |
(...skipping 28 matching lines...) Expand all Loading... |
53 FAIL getAttributeNames tests el.getAttributeNames is not a function | 53 FAIL getAttributeNames tests el.getAttributeNames is not a function |
54 FAIL Own property correctness with basic attributes assert_array_equals: lengths
differ, expected 2 got 0 | 54 FAIL Own property correctness with basic attributes assert_array_equals: lengths
differ, expected 2 got 0 |
55 FAIL Own property correctness with non-namespaced attribute before same-name nam
espaced one assert_array_equals: lengths differ, expected 3 got 0 | 55 FAIL Own property correctness with non-namespaced attribute before same-name nam
espaced one assert_array_equals: lengths differ, expected 3 got 0 |
56 FAIL Own property correctness with namespaced attribute before same-name non-nam
espaced one assert_array_equals: lengths differ, expected 3 got 0 | 56 FAIL Own property correctness with namespaced attribute before same-name non-nam
espaced one assert_array_equals: lengths differ, expected 3 got 0 |
57 FAIL Own property correctness with two namespaced attributes with the same name-
with-prefix assert_array_equals: lengths differ, expected 3 got 0 | 57 FAIL Own property correctness with two namespaced attributes with the same name-
with-prefix assert_array_equals: lengths differ, expected 3 got 0 |
58 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 | 58 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 |
59 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 | 59 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 |
60 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 | 60 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 |
61 Harness: the test ran to completion. | 61 Harness: the test ran to completion. |
62 | 62 |
OLD | NEW |