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

Side by Side Diff: LayoutTests/editing/selection/addRange-failures-expected.txt

Issue 252783002: Make Range.detach() a no-op (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 7 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
« no previous file with comments | « no previous file | LayoutTests/editing/text-iterator/rtl-selection-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 CONSOLE ERROR: The given range is null. 1 CONSOLE ERROR: The given range is null.
2 CONSOLE ERROR: The given range has no container. Perhaps 'detach()' has been inv oked on it? 2 CONSOLE WARNING: 'Range.detach' is now a no-op, as per DOM (http://dom.spec.what wg.org/#dom-range-detach).
3 CONSOLE ERROR: Discontiguous selection is not supported.
3 CONSOLE ERROR: The given range does not belong to the current selection's docume nt. 4 CONSOLE ERROR: The given range does not belong to the current selection's docume nt.
4 CONSOLE ERROR: The given range and the current selection belong to two different document fragments. 5 CONSOLE ERROR: The given range and the current selection belong to two different document fragments.
5 Test error handling of Selection.addRange(). 6 Test error handling of Selection.addRange().
6 7
7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 8 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
8 9
9 10
10 Running: testNull 11 Running: testNull
11 PASS selection.rangeCount is 1 12 PASS selection.rangeCount is 1
12 PASS selection.getRangeAt(0).startContainer === document.body is true 13 PASS selection.getRangeAt(0).startContainer === document.body is true
(...skipping 15 matching lines...) Expand all
28 Running: testOtherDocumentFragments 29 Running: testOtherDocumentFragments
29 PASS selection.rangeCount is 1 30 PASS selection.rangeCount is 1
30 PASS selection.getRangeAt(0).startContainer === document.body is true 31 PASS selection.getRangeAt(0).startContainer === document.body is true
31 PASS selection.getRangeAt(0).startOffset is 0 32 PASS selection.getRangeAt(0).startOffset is 0
32 PASS selection.getRangeAt(0).endContainer === document.body is true 33 PASS selection.getRangeAt(0).endContainer === document.body is true
33 PASS selection.getRangeAt(0).endOffset is 0 34 PASS selection.getRangeAt(0).endOffset is 0
34 PASS successfullyParsed is true 35 PASS successfullyParsed is true
35 36
36 TEST COMPLETE 37 TEST COMPLETE
37 38
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/text-iterator/rtl-selection-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698