Test how Node.prefix setter raises NAMESPACE_ERR. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". PASS href.prefix is null PASS document.createAttribute('attr').prefix = 'abc' threw exception Error: NamespaceError: DOM Exception 14. PASS document.createAttributeNS(null, 'attr').prefix = 'abc' threw exception Error: NamespaceError: DOM Exception 14. PASS document.createElementNS(null, 'attr').prefix = 'abc' threw exception Error: NamespaceError: DOM Exception 14. PASS document.createAttributeNS('foo', 'bar').prefix = 'xml' threw exception Error: NamespaceError: DOM Exception 14. PASS document.createElementNS('foo', 'bar').prefix = 'xml' threw exception Error: NamespaceError: DOM Exception 14. PASS document.createAttribute('attr').prefix = 'xmlns' threw exception Error: NamespaceError: DOM Exception 14. PASS document.createAttributeNS('foo', 'attr').prefix = 'xmlns' threw exception Error: NamespaceError: DOM Exception 14. PASS document.createAttribute('xmlns').prefix = 'foo' threw exception Error: NamespaceError: DOM Exception 14. PASS successfullyParsed is true TEST COMPLETE