OLD | NEW |
1 This test checks some DOM Range exceptions. | 1 This test checks some DOM Range exceptions. |
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 node.innerHTML is '<bar>AB<moo>C</moo>DE</bar>' | 6 PASS node.innerHTML is '<bar>AB<moo>C</moo>DE</bar>' |
7 PASS foo.outerHTML is '<foo></foo>' | 7 PASS foo.outerHTML is '<foo></foo>' |
8 PASS range.surroundContents(foo) threw exception Error: INVALID_NODE_TYPE_ERR: D
OM Range Exception 2. | 8 PASS range.surroundContents(foo) threw exception Error: InvalidNodeTypeError: DO
M Exception 24. |
9 PASS r.surroundContents(document.createElement('a')) threw exception Error: BAD_
BOUNDARYPOINTS_ERR: DOM Range Exception 1. | 9 PASS r.surroundContents(document.createElement('a')) threw exception Error: Inva
lidStateError: DOM Exception 11. |
10 PASS r.surroundContents(document.createElement('a')) threw exception Error: Hier
archyRequestError: DOM Exception 3. | 10 PASS r.surroundContents(document.createElement('a')) threw exception Error: Hier
archyRequestError: DOM Exception 3. |
11 PASS successfullyParsed is true | 11 PASS successfullyParsed is true |
12 | 12 |
13 TEST COMPLETE | 13 TEST COMPLETE |
14 | 14 |
OLD | NEW |