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

Side by Side Diff: LayoutTests/fast/ime/inputmethodcontext-confirmcomposition.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 <head> 2 <head>
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../js/resources/js-test-pre.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <input id="test"> 6 <input id="test">
7 <input id="test2"> 7 <input id="test2">
8 <script> 8 <script>
9 description("This tests confirmComposition() of InputMethodContext."); 9 description("This tests confirmComposition() of InputMethodContext.");
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 test.focus(); 56 test.focus();
57 expectedText = 'ijkl'; 57 expectedText = 'ijkl';
58 textInputController.setComposition(expectedText); 58 textInputController.setComposition(expectedText);
59 // As composition for context2 is not on-going, no events will fire. 59 // As composition for context2 is not on-going, no events will fire.
60 context2.confirmComposition(); 60 context2.confirmComposition();
61 // Cancel the composition. 61 // Cancel the composition.
62 expectedText = ''; 62 expectedText = '';
63 textInputController.setComposition(expectedText); 63 textInputController.setComposition(expectedText);
64 shouldBeEqualToString('test.value', 'abcdefgh'); 64 shouldBeEqualToString('test.value', 'abcdefgh');
65 </script> 65 </script>
66 <script src="../js/resources/js-test-post.js"></script>
67 </body> 66 </body>
68 </html> 67 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698