Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(654)

Side by Side Diff: LayoutTests/fast/dom/Range/range-intersectsNode-expected.txt

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 This test checks the behavior of the intersectsNode() method on the Range object . 1 This test checks the behavior of the intersectsNode() method on the Range object .
2 It covers all configurations of the node/Range relationship and some exception c onditions. 2 It covers all configurations of the node/Range relationship and some exception c onditions.
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 6
7 1.1 Node starts before the range and ends before the range 7 1.1 Node starts before the range and ends before the range
8 PASS intersects is false 8 PASS intersects is false
9 9
10 1.2 Node starts before the range, and range ends on a 1 10 1.2 Node starts before the range, and range ends on a 1
(...skipping 26 matching lines...) Expand all
37 1.11 Node starts before range start and ends after range end 37 1.11 Node starts before range start and ends after range end
38 PASS intersects is true 38 PASS intersects is true
39 39
40 1.12 Node starts before range start and range begins and ends on 1 40 1.12 Node starts before range start and range begins and ends on 1
41 PASS intersects is true 41 PASS intersects is true
42 42
43 1.13 Range starts at 0 and ends at 1 43 1.13 Range starts at 0 and ends at 1
44 PASS intersects is true 44 PASS intersects is true
45 45
46 2.1 Detached Range, attached node 46 2.1 Detached Range, attached node
47 PASS detachedRange.intersectsNode(document.getElementById('a1')) threw exception Error: InvalidStateError: DOM Exception 11. 47 PASS detachedRange.intersectsNode(document.getElementById('a1')) threw exception InvalidStateError: An attempt was made to use an object that is not, or is no l onger, usable..
48 48
49 2.2 attached range, detached node 49 2.2 attached range, detached node
50 PASS intersects is false 50 PASS intersects is false
51 51
52 2.3 Node has no parent 52 2.3 Node has no parent
53 PASS range.intersectsNode(document) threw exception Error: NotFoundError: DOM Ex ception 8. 53 PASS range.intersectsNode(document) threw exception NotFoundError: An attempt wa s made to reference a Node in a context where it does not exist..
54 54
55 2.4 Range has no parent 55 2.4 Range has no parent
56 PASS range.selectNode(document) threw exception Error: InvalidNodeTypeError: DOM Exception 24. 56 PASS range.selectNode(document) threw exception InvalidNodeTypeError: The suppli ed node is invalid or has an invalid ancestor for this operation..
57 57
58 2.5 Wrong documents 58 2.5 Wrong documents
59 PASS intersects is false 59 PASS intersects is false
60 60
61 2.6 Node deleted 61 2.6 Node deleted
62 PASS range.intersectsNode(node) threw exception Error: NotFoundError: DOM Except ion 8. 62 PASS range.intersectsNode(node) threw exception NotFoundError: An attempt was ma de to reference a Node in a context where it does not exist..
63 63
64 PASS successfullyParsed is true 64 PASS successfullyParsed is true
65 65
66 TEST COMPLETE 66 TEST COMPLETE
67 67
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698