| 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 document.createAttributeNS().toString() is "[object Attr]" | |
| 7 PASS document.createAttributeNS("http://www.example.com").toString() is "[object
Attr]" | |
| 8 PASS createAttributeNS(undefined, undefined) | 6 PASS createAttributeNS(undefined, undefined) |
| 9 PASS createAttributeNS(null, undefined) | 7 PASS createAttributeNS(null, undefined) |
| 10 PASS createAttributeNS(undefined, null); threw InvalidCharacterError: Failed to
execute 'createAttributeNS' on 'Document': The qualified name provided is empty. | 8 PASS createAttributeNS(undefined, null); threw InvalidCharacterError: Failed to
execute 'createAttributeNS' on 'Document': The qualified name provided is empty. |
| 11 PASS createAttributeNS(null, null); threw InvalidCharacterError: Failed to execu
te 'createAttributeNS' on 'Document': The qualified name provided is empty. | 9 PASS createAttributeNS(null, null); threw InvalidCharacterError: Failed to execu
te 'createAttributeNS' on 'Document': The qualified name provided is empty. |
| 12 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. |
| 13 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. |
| 14 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. |
| 15 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 '<'. |
| 16 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'. |
| 17 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 ' '. |
| (...skipping 26 matching lines...) Expand all Loading... |
| 44 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'). |
| 45 PASS createAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:test") | 43 PASS createAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:test") |
| 46 PASS createAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:test") | 44 PASS createAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:test") |
| 47 PASS createAttributeNS("http://www.w3.org/XML/1998/namespace", "x:test") | 45 PASS createAttributeNS("http://www.w3.org/XML/1998/namespace", "x:test") |
| 48 PASS createAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns") | 46 PASS createAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns") |
| 49 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'). |
| 50 PASS successfullyParsed is true | 48 PASS successfullyParsed is true |
| 51 | 49 |
| 52 TEST COMPLETE | 50 TEST COMPLETE |
| 53 | 51 |
| OLD | NEW |