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

Side by Side Diff: LayoutTests/editing/input/text-input-controller-leak-document.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 <html> 1 <html>
2 <body> 2 <body>
3 <input id='text' type='text'></input> 3 <input id='text' type='text'></input>
4 4
5 <script src="../../fast/js/resources/js-test-pre.js"></script> 5 <script src="../../fast/js/resources/js-test-pre.js"></script>
6 <script> 6 <script>
7 var input = document.getElementById('text'); 7 var input = document.getElementById('text');
8 input.focus(); 8 input.focus();
9 textInputController.setMarkedText("hello", 0, 5); 9 textInputController.setMarkedText("hello", 0, 5);
10 var markedRangeResultGC = internals.observeGC(textInputController.marked Range()); 10 var markedRangeResultGC = internals.observeGC(textInputController.marked Range());
11 var selectedRangeResultGC = internals.observeGC(textInputController.sele ctedRange()); 11 var selectedRangeResultGC = internals.observeGC(textInputController.sele ctedRange());
12 var firstRectForCharacterRangeGC = internals.observeGC(textInputControll er.firstRectForCharacterRange(0, 0)); 12 var firstRectForCharacterRangeGC = internals.observeGC(textInputControll er.firstRectForCharacterRange(0, 0));
13 gc(); 13 gc();
14 shouldBeTrue('markedRangeResultGC.wasCollected'); 14 shouldBeTrue('markedRangeResultGC.wasCollected');
15 shouldBeTrue('selectedRangeResultGC.wasCollected'); 15 shouldBeTrue('selectedRangeResultGC.wasCollected');
16 shouldBeTrue('firstRectForCharacterRangeGC.wasCollected'); 16 shouldBeTrue('firstRectForCharacterRangeGC.wasCollected');
17 </script> 17 </script>
18 <script src="../../fast/js/resources/js-test-post.js"></script>
19 </body> 18 </body>
20 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698