OLD | NEW |
1 createDocument tests modeled after createElementNS tests from mozilla which were
attached to webkit bug 16833 | 1 createDocument tests modeled after createElementNS tests from mozilla which were
attached to webkit bug 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.implementation.createDocument().toString() is "[object Document]" | 6 PASS document.implementation.createDocument() threw exception TypeError: Not eno
ugh arguments. |
7 PASS document.implementation.createDocument("http://www.example.com").toString()
is "[object Document]" | 7 PASS document.implementation.createDocument("http://www.example.com") threw exce
ption TypeError: Not enough arguments. |
8 PASS createDocument(, , null) | 8 PASS createDocument(, , null) |
9 PASS createDocument(null, , null) | 9 PASS createDocument(null, , null) |
10 FAIL createDocument(, null, null) | 10 FAIL createDocument(, null, null) |
11 FAIL createDocument(null, null, null) | 11 FAIL createDocument(null, null, null) |
12 FAIL createDocument(null, "", null) | 12 FAIL createDocument(null, "", null) |
13 FAIL createDocument("", null, null) | 13 FAIL createDocument("", null, null) |
14 FAIL createDocument("", "", null) | 14 FAIL createDocument("", "", null) |
15 PASS createDocument(null, "<div>", null); threw INVALID_CHARACTER_ERR | 15 PASS createDocument(null, "<div>", null); threw INVALID_CHARACTER_ERR |
16 PASS createDocument(null, "0div", null); threw INVALID_CHARACTER_ERR | 16 PASS createDocument(null, "0div", null); threw INVALID_CHARACTER_ERR |
17 PASS createDocument(null, "di v", null); threw INVALID_CHARACTER_ERR | 17 PASS createDocument(null, "di v", null); threw INVALID_CHARACTER_ERR |
(...skipping 24 matching lines...) Expand all Loading... |
42 PASS createDocument("http://example.com/", "xml:test", null); binding xml prefix
wrong; threw NAMESPACE_ERR | 42 PASS createDocument("http://example.com/", "xml:test", null); binding xml prefix
wrong; threw NAMESPACE_ERR |
43 PASS createDocument("http://example.com/", "xmlns:test", null); binding xmlns pr
efix wrong; threw NAMESPACE_ERR | 43 PASS createDocument("http://example.com/", "xmlns:test", null); binding xmlns pr
efix wrong; threw NAMESPACE_ERR |
44 PASS createDocument("http://www.w3.org/2000/xmlns/", "x:test", null); binding na
mespace namespace to wrong prefix; threw NAMESPACE_ERR | 44 PASS createDocument("http://www.w3.org/2000/xmlns/", "x:test", null); binding na
mespace namespace to wrong prefix; threw NAMESPACE_ERR |
45 PASS createDocument("http://www.w3.org/2000/xmlns/", "xmlns:test", null) | 45 PASS createDocument("http://www.w3.org/2000/xmlns/", "xmlns:test", null) |
46 PASS createDocument("http://www.w3.org/XML/1998/namespace", "xml:test", null) | 46 PASS createDocument("http://www.w3.org/XML/1998/namespace", "xml:test", null) |
47 PASS createDocument("http://www.w3.org/XML/1998/namespace", "x:test", null) | 47 PASS createDocument("http://www.w3.org/XML/1998/namespace", "x:test", null) |
48 PASS successfullyParsed is true | 48 PASS successfullyParsed is true |
49 | 49 |
50 TEST COMPLETE | 50 TEST COMPLETE |
51 | 51 |
OLD | NEW |