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 Error: Name
spaceError: DOM Exception 14. | 7 PASS document.createAttribute('attr').prefix = 'abc' threw exception NamespaceEr
ror: An attempt was made to create or change an object in a way which is incorre
ct with regard to namespaces.. |
8 PASS document.createAttributeNS(null, 'attr').prefix = 'abc' threw exception Err
or: NamespaceError: DOM Exception 14. | 8 PASS document.createAttributeNS(null, 'attr').prefix = 'abc' threw exception Nam
espaceError: An attempt was made to create or change an object in a way which is
incorrect with regard to namespaces.. |
9 PASS document.createElementNS(null, 'attr').prefix = 'abc' threw exception Error
: NamespaceError: DOM Exception 14. | 9 PASS document.createElementNS(null, 'attr').prefix = 'abc' threw exception Names
paceError: An attempt was made to create or change an object in a way which is i
ncorrect with regard to namespaces.. |
10 PASS document.createAttributeNS('foo', 'bar').prefix = 'xml' threw exception Err
or: NamespaceError: DOM Exception 14. | 10 PASS document.createAttributeNS('foo', 'bar').prefix = 'xml' threw exception Nam
espaceError: An attempt was made to create or change an object in a way which is
incorrect with regard to namespaces.. |
11 PASS document.createElementNS('foo', 'bar').prefix = 'xml' threw exception Error
: NamespaceError: DOM Exception 14. | 11 PASS document.createElementNS('foo', 'bar').prefix = 'xml' threw exception Names
paceError: An attempt was made to create or change an object in a way which is i
ncorrect with regard to namespaces.. |
12 PASS document.createAttribute('attr').prefix = 'xmlns' threw exception Error: Na
mespaceError: DOM Exception 14. | 12 PASS document.createAttribute('attr').prefix = 'xmlns' threw exception Namespace
Error: An attempt was made to create or change an object in a way which is incor
rect with regard to namespaces.. |
13 PASS document.createAttributeNS('foo', 'attr').prefix = 'xmlns' threw exception
Error: NamespaceError: DOM Exception 14. | 13 PASS document.createAttributeNS('foo', 'attr').prefix = 'xmlns' threw exception
NamespaceError: An attempt was made to create or change an object in a way which
is incorrect with regard to namespaces.. |
14 PASS document.createAttribute('xmlns').prefix = 'foo' threw exception Error: Nam
espaceError: DOM Exception 14. | 14 PASS document.createAttribute('xmlns').prefix = 'foo' threw exception NamespaceE
rror: An attempt was made to create or change an object in a way which is incorr
ect with regard to namespaces.. |
15 PASS successfullyParsed is true | 15 PASS successfullyParsed is true |
16 | 16 |
17 TEST COMPLETE | 17 TEST COMPLETE |
18 | 18 |
OLD | NEW |