OLD | NEW |
| (Empty) |
1 CONSOLE WARNING: Setting 'Element.prefix' is deprecated, as it is read-only per
DOM (http://dom.spec.whatwg.org/#element). | |
2 Test how Node.prefix setter raises NAMESPACE_ERR. | |
3 | |
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
5 | |
6 | |
7 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.. | |
8 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'.. | |
9 PASS successfullyParsed is true | |
10 | |
11 TEST COMPLETE | |
12 | |
OLD | NEW |