OLD | NEW |
| (Empty) |
1 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 | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS prefixedElem.prefix = "." threw exception InvalidCharacterError: Failed to
set the 'prefix' property on 'Element': The prefix '.' is not a valid name.. | |
7 PASS prefixedElem.prefix is "before" | |
8 PASS prefixedElem.prefix = "x." is "x." | |
9 PASS prefixedElem.prefix is "x." | |
10 PASS prefixedElem.prefix = "0a" threw exception InvalidCharacterError: Failed to
set the 'prefix' property on 'Element': The prefix '0a' is not a valid name.. | |
11 PASS prefixedElem.prefix is "before" | |
12 PASS prefixedElem.prefix = "a0" is "a0" | |
13 PASS prefixedElem.prefix is "a0" | |
14 PASS prefixedElem.prefix = "_0" is "_0" | |
15 PASS prefixedElem.prefix is "_0" | |
16 PASS prefixedElem.prefix = "×" threw exception InvalidCharacterError: Failed to
set the 'prefix' property on 'Element': The prefix '×' is not a valid name.. | |
17 PASS prefixedElem.prefix is "before" | |
18 PASS prefixedElem.prefix = "·" threw exception InvalidCharacterError: Failed to
set the 'prefix' property on 'Element': The prefix '·' is not a valid name.. | |
19 PASS prefixedElem.prefix is "before" | |
20 PASS prefixedElem.prefix = "aa" is "aa" | |
21 PASS prefixedElem.prefix is "aa" | |
22 PASS prefixedElem.prefix = "\n" threw exception InvalidCharacterError: Failed to
set the 'prefix' property on 'Element': The prefix ' | |
23 ' is not a valid name.. | |
24 PASS prefixedElem.prefix is "before" | |
25 PASS successfullyParsed is true | |
26 | |
27 TEST COMPLETE | |
28 | |
OLD | NEW |