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 createAttributeNS(undefined, undefined) PASS createAttributeNS(null, undefined) PASS createAttributeNS(undefined, null) PASS createAttributeNS(null, null) PASS createAttributeNS(null, ""); threw InvalidCharacterError: Failed to execute 'createAttributeNS' on 'Document': The qualified name provided is empty. PASS createAttributeNS("", null) PASS createAttributeNS("", ""); threw InvalidCharacterError: Failed to execute 'createAttributeNS' on 'Document': The qualified name provided is empty. PASS createAttributeNS(null, "
"); threw InvalidCharacterError: Failed to execute 'createAttributeNS' on 'Document': The qualified name provided ('
') contains the invalid name-start character '<'. PASS createAttributeNS(null, "0div"); threw InvalidCharacterError: Failed to execute 'createAttributeNS' on 'Document': The qualified name provided ('0div') contains the invalid name-start character '0'. PASS createAttributeNS(null, "di v"); threw InvalidCharacterError: Failed to execute 'createAttributeNS' on 'Document': The qualified name provided ('di v') contains the invalid character ' '. PASS createAttributeNS(null, "di"); threw InvalidCharacterError: Failed to execute 'createAttributeNS' on 'Document': The qualified name provided ('
') contains the invalid name-start character '<'. PASS createAttributeNS("http://example.com/", "0div"); threw InvalidCharacterError: Failed to execute 'createAttributeNS' on 'Document': The qualified name provided ('0div') contains the invalid name-start character '0'. PASS createAttributeNS("http://example.com/", "di