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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/Range/deleteData-replaceData-count-overflow-expected.txt

Issue 2321863002: Convert fast/dom/Range/deleteData-replaceData-count-overflow.html to use w3c test harness (Closed)
Patch Set: 2016-09-08T11:01:54 Created 4 years, 3 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
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/dom/Range/deleteData-replaceData-count-overflow.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Test deleteData() + replaceData() overflow handling.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS textNode = new Text('chopped off and then some'); textNode is non-null.
7 PASS textNode.deleteData(11, 0xfffffff7); textNode.data is "chopped off"
8 PASS range.endOffset is 11
9 PASS textNode = new Text('hello world'); textNode is non-null.
10 PASS textNode.replaceData(6, 0xfffffffe, 'bob'); textNode.data is "hello bob"
11 PASS range.endOffset is 6
12 PASS textNode = new Text('hello world'); textNode is non-null.
13 PASS textNode.replaceData(6, -1, 'bob'); textNode.data is "hello bob"
14 PASS textNode = new Text('hello world'); textNode is non-null.
15 PASS textNode.replaceData(6, -2, 'bob'); textNode.data is "hello bob"
16 PASS successfullyParsed is true
17
18 TEST COMPLETE
19
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/dom/Range/deleteData-replaceData-count-overflow.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698