| 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 for the implementation of DOM Level 3 Core API on Node Interface: prefix se
tter. INVALID_CHARACTER_ERR: Raised if the specified prefix contains an illegal
character according to the XML version in use specified in the Document.xmlVersi
on attribute. http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-NodeNSPrefix | |
| 3 | |
| 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 5 | |
| 6 | |
| 7 PASS prefixedElem.prefix = "." threw exception InvalidCharacterError: Failed to
set the 'prefix' property on 'Element': The prefix '.' is not a valid name.. | |
| 8 PASS prefixedElem.prefix is "before" | |
| 9 PASS prefixedElem.prefix = "x." is "x." | |
| 10 PASS prefixedElem.prefix is "x." | |
| 11 PASS prefixedElem.prefix = "0a" threw exception InvalidCharacterError: Failed to
set the 'prefix' property on 'Element': The prefix '0a' is not a valid name.. | |
| 12 PASS prefixedElem.prefix is "before" | |
| 13 PASS prefixedElem.prefix = "a0" is "a0" | |
| 14 PASS prefixedElem.prefix is "a0" | |
| 15 PASS prefixedElem.prefix = "_0" is "_0" | |
| 16 PASS prefixedElem.prefix is "_0" | |
| 17 PASS prefixedElem.prefix = "×" threw exception InvalidCharacterError: Failed to
set the 'prefix' property on 'Element': The prefix '×' is not a valid name.. | |
| 18 PASS prefixedElem.prefix is "before" | |
| 19 PASS prefixedElem.prefix = "·" threw exception InvalidCharacterError: Failed to
set the 'prefix' property on 'Element': The prefix '·' is not a valid name.. | |
| 20 PASS prefixedElem.prefix is "before" | |
| 21 PASS prefixedElem.prefix = "aa" is "aa" | |
| 22 PASS prefixedElem.prefix is "aa" | |
| 23 PASS prefixedElem.prefix = "\n" threw exception InvalidCharacterError: Failed to
set the 'prefix' property on 'Element': The prefix ' | |
| 24 ' is not a valid name.. | |
| 25 PASS prefixedElem.prefix is "before" | |
| 26 PASS successfullyParsed is true | |
| 27 | |
| 28 TEST COMPLETE | |
| 29 | |
| OLD | NEW |