OLD | NEW |
1 createAttirbuteNS tests adapted from createElementNS tests attached to webkit bu
g 16833 | 1 createAttirbuteNS tests adapted from createElementNS tests attached to webkit bu
g 16833 |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS createAttributeNS(undefined, undefined) | 6 PASS createAttributeNS(undefined, undefined) |
7 PASS createAttributeNS(null, undefined) | 7 PASS createAttributeNS(null, undefined) |
8 PASS createAttributeNS(undefined, null); threw InvalidCharacterError: Failed to
execute 'createAttributeNS' on 'Document': The qualified name provided is empty. | 8 PASS createAttributeNS(undefined, null) |
9 PASS createAttributeNS(null, null); threw InvalidCharacterError: Failed to execu
te 'createAttributeNS' on 'Document': The qualified name provided is empty. | 9 PASS createAttributeNS(null, null) |
10 PASS createAttributeNS(null, ""); threw InvalidCharacterError: Failed to execute
'createAttributeNS' on 'Document': The qualified name provided is empty. | 10 PASS createAttributeNS(null, ""); threw InvalidCharacterError: Failed to execute
'createAttributeNS' on 'Document': The qualified name provided is empty. |
11 PASS createAttributeNS("", null); threw InvalidCharacterError: Failed to execute
'createAttributeNS' on 'Document': The qualified name provided is empty. | 11 PASS createAttributeNS("", null) |
12 PASS createAttributeNS("", ""); threw InvalidCharacterError: Failed to execute '
createAttributeNS' on 'Document': The qualified name provided is empty. | 12 PASS createAttributeNS("", ""); threw InvalidCharacterError: Failed to execute '
createAttributeNS' on 'Document': The qualified name provided is empty. |
13 PASS createAttributeNS(null, "<div>"); threw InvalidCharacterError: Failed to ex
ecute 'createAttributeNS' on 'Document': The qualified name provided ('<div>') c
ontains the invalid name-start character '<'. | 13 PASS createAttributeNS(null, "<div>"); threw InvalidCharacterError: Failed to ex
ecute 'createAttributeNS' on 'Document': The qualified name provided ('<div>') c
ontains the invalid name-start character '<'. |
14 PASS createAttributeNS(null, "0div"); threw InvalidCharacterError: Failed to exe
cute 'createAttributeNS' on 'Document': The qualified name provided ('0div') con
tains the invalid name-start character '0'. | 14 PASS createAttributeNS(null, "0div"); threw InvalidCharacterError: Failed to exe
cute 'createAttributeNS' on 'Document': The qualified name provided ('0div') con
tains the invalid name-start character '0'. |
15 PASS createAttributeNS(null, "di v"); threw InvalidCharacterError: Failed to exe
cute 'createAttributeNS' on 'Document': The qualified name provided ('di v') con
tains the invalid character ' '. | 15 PASS createAttributeNS(null, "di v"); threw InvalidCharacterError: Failed to exe
cute 'createAttributeNS' on 'Document': The qualified name provided ('di v') con
tains the invalid character ' '. |
16 PASS createAttributeNS(null, "di<v"); threw InvalidCharacterError: Failed to exe
cute 'createAttributeNS' on 'Document': The qualified name provided ('di<v') con
tains the invalid character '<'. | 16 PASS createAttributeNS(null, "di<v"); threw InvalidCharacterError: Failed to exe
cute 'createAttributeNS' on 'Document': The qualified name provided ('di<v') con
tains the invalid character '<'. |
17 PASS createAttributeNS(null, "-div"); threw InvalidCharacterError: Failed to exe
cute 'createAttributeNS' on 'Document': The qualified name provided ('-div') con
tains the invalid name-start character '-'. | 17 PASS createAttributeNS(null, "-div"); threw InvalidCharacterError: Failed to exe
cute 'createAttributeNS' on 'Document': The qualified name provided ('-div') con
tains the invalid name-start character '-'. |
18 PASS createAttributeNS(null, ".div"); threw InvalidCharacterError: Failed to exe
cute 'createAttributeNS' on 'Document': The qualified name provided ('.div') con
tains the invalid name-start character '.'. | 18 PASS createAttributeNS(null, ".div"); threw InvalidCharacterError: Failed to exe
cute 'createAttributeNS' on 'Document': The qualified name provided ('.div') con
tains the invalid name-start character '.'. |
19 PASS createAttributeNS("http://example.com/", "<div>"); threw InvalidCharacterEr
ror: Failed to execute 'createAttributeNS' on 'Document': The qualified name pro
vided ('<div>') contains the invalid name-start character '<'. | 19 PASS createAttributeNS("http://example.com/", "<div>"); threw InvalidCharacterEr
ror: Failed to execute 'createAttributeNS' on 'Document': The qualified name pro
vided ('<div>') contains the invalid name-start character '<'. |
20 PASS createAttributeNS("http://example.com/", "0div"); threw InvalidCharacterErr
or: Failed to execute 'createAttributeNS' on 'Document': The qualified name prov
ided ('0div') contains the invalid name-start character '0'. | 20 PASS createAttributeNS("http://example.com/", "0div"); threw InvalidCharacterErr
or: Failed to execute 'createAttributeNS' on 'Document': The qualified name prov
ided ('0div') contains the invalid name-start character '0'. |
21 PASS createAttributeNS("http://example.com/", "di<v"); threw InvalidCharacterErr
or: Failed to execute 'createAttributeNS' on 'Document': The qualified name prov
ided ('di<v') contains the invalid character '<'. | 21 PASS createAttributeNS("http://example.com/", "di<v"); threw InvalidCharacterErr
or: Failed to execute 'createAttributeNS' on 'Document': The qualified name prov
ided ('di<v') contains the invalid character '<'. |
(...skipping 20 matching lines...) Expand all Loading... |
42 PASS createAttributeNS("http://www.w3.org/2000/xmlns/", "x:test"); binding names
pace namespace to wrong prefix; threw NamespaceError: Failed to execute 'createA
ttributeNS' on 'Document': The namespace URI provided ('http://www.w3.org/2000/x
mlns/') is not valid for the qualified name provided ('x:test'). | 42 PASS createAttributeNS("http://www.w3.org/2000/xmlns/", "x:test"); binding names
pace namespace to wrong prefix; threw NamespaceError: Failed to execute 'createA
ttributeNS' on 'Document': The namespace URI provided ('http://www.w3.org/2000/x
mlns/') is not valid for the qualified name provided ('x:test'). |
43 PASS createAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:test") | 43 PASS createAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:test") |
44 PASS createAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:test") | 44 PASS createAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:test") |
45 PASS createAttributeNS("http://www.w3.org/XML/1998/namespace", "x:test") | 45 PASS createAttributeNS("http://www.w3.org/XML/1998/namespace", "x:test") |
46 PASS createAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns") | 46 PASS createAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns") |
47 PASS createAttributeNS("http://example.com/", "xmlns"); threw NamespaceError: Fa
iled to execute 'createAttributeNS' on 'Document': The namespace URI provided ('
http://example.com/') is not valid for the qualified name provided ('xmlns'). | 47 PASS createAttributeNS("http://example.com/", "xmlns"); threw NamespaceError: Fa
iled to execute 'createAttributeNS' on 'Document': The namespace URI provided ('
http://example.com/') is not valid for the qualified name provided ('xmlns'). |
48 PASS successfullyParsed is true | 48 PASS successfullyParsed is true |
49 | 49 |
50 TEST COMPLETE | 50 TEST COMPLETE |
51 | 51 |
OLD | NEW |