OLD | NEW |
1 Test how Node.prefix setter raises NAMESPACE_ERR. | 1 Test how Node.prefix setter raises NAMESPACE_ERR. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS href.prefix is null | 6 PASS href.prefix is null |
7 PASS document.createAttribute('attr').prefix = 'abc' threw exception NamespaceEr
ror: Failed to set the 'prefix' property on 'Node': No namespace is set, so a na
mespace prefix may not be set.. | 7 PASS document.createAttribute('attr').prefix = 'abc' threw exception NamespaceEr
ror: Failed to set the 'prefix' property on 'Attr': No namespace is set, so a na
mespace prefix may not be set.. |
8 PASS document.createAttributeNS(null, 'attr').prefix = 'abc' threw exception Nam
espaceError: Failed to set the 'prefix' property on 'Node': No namespace is set,
so a namespace prefix may not be set.. | 8 PASS document.createAttributeNS(null, 'attr').prefix = 'abc' threw exception Nam
espaceError: Failed to set the 'prefix' property on 'Attr': No namespace is set,
so a namespace prefix may not be set.. |
9 PASS document.createElementNS(null, 'attr').prefix = 'abc' threw exception Names
paceError: Failed to set the 'prefix' property on 'Node': No namespace is set, s
o a namespace prefix may not be set.. | 9 PASS document.createElementNS(null, 'attr').prefix = 'abc' threw exception Names
paceError: Failed to set the 'prefix' property on 'Element': No namespace is set
, so a namespace prefix may not be set.. |
10 PASS document.createAttributeNS('foo', 'bar').prefix = 'xml' threw exception Nam
espaceError: Failed to set the 'prefix' property on 'Node': The prefix 'xml' may
not be set on namespace 'foo'.. | 10 PASS document.createAttributeNS('foo', 'bar').prefix = 'xml' threw exception Nam
espaceError: Failed to set the 'prefix' property on 'Attr': The prefix 'xml' may
not be set on namespace 'foo'.. |
11 PASS document.createElementNS('foo', 'bar').prefix = 'xml' threw exception Names
paceError: Failed to set the 'prefix' property on 'Node': The prefix 'xml' may n
ot be set on namespace 'foo'.. | 11 PASS document.createElementNS('foo', 'bar').prefix = 'xml' threw exception Names
paceError: Failed to set the 'prefix' property on 'Element': The prefix 'xml' ma
y not be set on namespace 'foo'.. |
12 PASS document.createAttribute('attr').prefix = 'xmlns' threw exception Namespace
Error: Failed to set the 'prefix' property on 'Node': No namespace is set, so a
namespace prefix may not be set.. | 12 PASS document.createAttribute('attr').prefix = 'xmlns' threw exception Namespace
Error: Failed to set the 'prefix' property on 'Attr': No namespace is set, so a
namespace prefix may not be set.. |
13 PASS document.createAttributeNS('foo', 'attr').prefix = 'xmlns' threw exception
NamespaceError: Failed to set the 'prefix' property on 'Attr': The prefix 'xmlns
' may not be used on the namespace 'foo'.. | 13 PASS document.createAttributeNS('foo', 'attr').prefix = 'xmlns' threw exception
NamespaceError: Failed to set the 'prefix' property on 'Attr': The prefix 'xmlns
' may not be used on the namespace 'foo'.. |
14 PASS document.createAttribute('xmlns').prefix = 'foo' threw exception NamespaceE
rror: Failed to set the 'prefix' property on 'Node': No namespace is set, so a n
amespace prefix may not be set.. | 14 PASS document.createAttribute('xmlns').prefix = 'foo' threw exception NamespaceE
rror: Failed to set the 'prefix' property on 'Attr': No namespace is set, so a n
amespace prefix may not be set.. |
15 PASS successfullyParsed is true | 15 PASS successfullyParsed is true |
16 | 16 |
17 TEST COMPLETE | 17 TEST COMPLETE |
18 | 18 |
OLD | NEW |