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

Side by Side Diff: LayoutTests/fast/dom/Range/deleteData-replaceData-count-overflow.html

Issue 268523002: Merge 171165 "Add CharacterData.deleteData()/replaceData() overf..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1847/
Patch Set: 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/fast/dom/Range/deleteData-replaceData-count-overflow-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 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../resources/js-test.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description("Test deleteData() + replaceData() overflow handling."); 8 description("Test deleteData() + replaceData() overflow handling.");
9 9
10 var textNode; 10 var textNode;
(...skipping 17 matching lines...) Expand all
28 shouldBe("range.endOffset", "6"); 28 shouldBe("range.endOffset", "6");
29 document.body.removeChild(textNode); 29 document.body.removeChild(textNode);
30 30
31 shouldBeNonNull("textNode = new Text('hello world'); textNode"); 31 shouldBeNonNull("textNode = new Text('hello world'); textNode");
32 shouldBeEqualToString("textNode.replaceData(6, -1, 'bob'); textNode.data", "hell o bob"); 32 shouldBeEqualToString("textNode.replaceData(6, -1, 'bob'); textNode.data", "hell o bob");
33 shouldBeNonNull("textNode = new Text('hello world'); textNode"); 33 shouldBeNonNull("textNode = new Text('hello world'); textNode");
34 shouldBeEqualToString("textNode.replaceData(6, -2, 'bob'); textNode.data", "hell o bob"); 34 shouldBeEqualToString("textNode.replaceData(6, -2, 'bob'); textNode.data", "hell o bob");
35 </script> 35 </script>
36 </body> 36 </body>
37 </html> 37 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Range/deleteData-replaceData-count-overflow-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698