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

Side by Side Diff: LayoutTests/fast/ime/inputmethodcontext-composition-crash.html

Issue 58533003: Move fast/js/resources files to resources. (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 <head> 2 <head>
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <input id="input"> 6 <input id="input">
7 <script> 7 <script>
8 description('This tests a case that a Composition object outlives InputMethodCon text.'); 8 description('This tests a case that a Composition object outlives InputMethodCon text.');
9 9
10 var input = document.getElementById('input'); 10 var input = document.getElementById('input');
11 var context = input.inputMethodContext; 11 var context = input.inputMethodContext;
12 var composition = context.composition; 12 var composition = context.composition;
13 13
14 context = null; 14 context = null;
15 document.body.removeChild(input); 15 document.body.removeChild(input);
16 input = null; 16 input = null;
17 gc(); 17 gc();
18 18
19 shouldEvaluateTo('composition.selectionEnd', 0); 19 shouldEvaluateTo('composition.selectionEnd', 0);
20 composition = null; 20 composition = null;
21 gc(); 21 gc();
22 </script> 22 </script>
23 </body> 23 </body>
24 </html> 24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698