createDocument tests modelled after createElementNS tests from mozilla which were attached to webkit bug 16833 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". PASS document.implementation.createDocument() threw exception TypeError: Failed to execute 'createDocument' on 'DOMImplementation': 2 arguments required, but only 0 present.. PASS document.implementation.createDocument("http://www.example.com") threw exception TypeError: Failed to execute 'createDocument' on 'DOMImplementation': 2 arguments required, but only 1 present.. PASS createDocument(, , null) PASS createDocument(null, , null) FAIL createDocument(, null, null) FAIL createDocument(null, null, null) FAIL createDocument(null, "", null) FAIL createDocument("", null, null) FAIL createDocument("", "", null) PASS createDocument(null, "
", null); threw INVALID_CHARACTER_ERR PASS createDocument(null, "0div", null); threw INVALID_CHARACTER_ERR PASS createDocument(null, "di v", null); threw INVALID_CHARACTER_ERR PASS createDocument(null, "di", null); threw INVALID_CHARACTER_ERR PASS createDocument("http://example.com/", "0div", null); threw INVALID_CHARACTER_ERR PASS createDocument("http://example.com/", "di