1 Unit tests for WebCore text iterator
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS range.selectNodeContents(testDocument.body); internals.rangeAsText(range) is ""
7 PASS range.selectNodeContents(testDocument.body); internals.rangeAsText(range) is "a"
8 PASS range.selectNodeContents(testDocument.body); internals.rangeAsText(range) is "a"
9 PASS range.selectNodeContents(testDocument.body); internals.rangeAsText(range) is "a\nb"
10 PASS range.selectNodeContents(testDocument.body); internals.rangeAsText(range) is "debugging this note"
11 FAIL range.selectNodeContents(testDocument.body); internals.rangeAsText(range) should be Hello
15 PASS range.selectNodeContents(testDocument.body); internals.rangeAsText(range) is "hey"
16 PASS range.setStartBefore(testDocument.body); range.setEndAfter(testDocument.body); internals.rangeAsText(range) is "hey"
17 PASS range.selectNodeContents(internals.oldestShadowRoot(input)); internals.rangeAsText(range) is "b"
18 PASS appendBrElement(internals.oldestShadowRoot(input).childNodes[0]); range.selectNodeContents(internals.oldestShadowRoot(input)); internals.rangeAsText(range) is "b"
19 PASS successfullyParsed is true