createAttirbuteNS tests adapted from createElementNS tests attached to webkit bug 16833 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". PASS document.createAttributeNS().toString() is "[object Attr]" PASS document.createAttributeNS("http://www.example.com").toString() is "[object Attr]" PASS createAttributeNS(undefined, undefined) PASS createAttributeNS(null, undefined) PASS createAttributeNS(undefined, null); threw INVALID_CHARACTER_ERR PASS createAttributeNS(null, null); threw INVALID_CHARACTER_ERR PASS createAttributeNS(null, ""); threw INVALID_CHARACTER_ERR PASS createAttributeNS("", null); threw INVALID_CHARACTER_ERR PASS createAttributeNS("", ""); threw INVALID_CHARACTER_ERR PASS createAttributeNS(null, "