createElementNS tests from mozilla, attached to webkit bug 16833
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS document.createElementNS().toString() is "[object Element]"
PASS document.createElementNS("http://www.example.com").toString() is "[object Element]"
HTML tests:
PASS createElementNS(, )
PASS createElementNS(null, )
PASS createElementNS(, null); threw INVALID_CHARACTER_ERR
PASS createElementNS(null, null); threw INVALID_CHARACTER_ERR
PASS createElementNS(null, ""); threw INVALID_CHARACTER_ERR
PASS createElementNS("", null); threw INVALID_CHARACTER_ERR
PASS createElementNS("", ""); threw INVALID_CHARACTER_ERR
PASS createElementNS(null, "
"); threw INVALID_CHARACTER_ERR
PASS createElementNS(null, "0div"); threw INVALID_CHARACTER_ERR
PASS createElementNS(null, "di v"); threw INVALID_CHARACTER_ERR
PASS createElementNS(null, "di"); threw INVALID_CHARACTER_ERR
PASS createElementNS("http://example.com/", "0div"); threw INVALID_CHARACTER_ERR
PASS createElementNS("http://example.com/", "di"); threw INVALID_CHARACTER_ERR
PASS createElement("0div"); threw INVALID_CHARACTER_ERR
PASS createElement("di v"); threw INVALID_CHARACTER_ERR
PASS createElement("di"); threw INVALID_CHARACTER_ERR
PASS createElement("0div"); threw INVALID_CHARACTER_ERR
PASS createElement("di v"); threw INVALID_CHARACTER_ERR
PASS createElement("di"); threw INVALID_CHARACTER_ERR
PASS createElement("0div"); threw INVALID_CHARACTER_ERR
PASS createElement("di v"); threw INVALID_CHARACTER_ERR
PASS createElement("di