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

Side by Side Diff: LayoutTests/fast/dom/Range/surroundContents-crash-expected.txt

Issue 178543013: Fix a bug in Range::didSplitTextNode() that may yield an invalid Range object. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix comments in test. Created 6 years, 9 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
(Empty)
1 Range::didSplitTextNode() should not yield an invalid Range object nor cause a c rash inside surroundContents().
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS textContainer.childNodes.length is 1
7 PASS range.startContainer === textToBeSplit is true
8 PASS range.startOffset is 7
9 PASS range.endContainer === textContainer is true
10 PASS range.endOffset is 1
11 PASS textContainer.childNodes.length is 3
12 PASS range.startContainer === newTextNode is true
13 PASS range.startOffset is 1
14 PASS range.endContainer === textContainer is true
15 PASS range.endOffset is 3
16 PASS Did not crash.
17 PASS successfullyParsed is true
18
19 TEST COMPLETE
20
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698