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

Side by Side Diff: chrome/test/data/chromeos/virtual_keyboard/end_to_end_test.html

Issue 83483004: End to End browser test for the virtual keyboard. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@api-tests
Patch Set: Updated test name. 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
OLDNEW
(Empty)
1 <html>
kevers 2013/11/22 18:50:50 Add <!DOCTYPE HTML> before <html> tag
rsadam 2013/11/25 15:21:02 Done.
2 <!--
3 Copyright 2013 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file.
6 -->
7 <head>
8 <title>Check if Virtual Keyboard works</title>
9 </head>
10 <body>
11 <input id='input' type='text'/>
12 </body>
13 <script type="text/javascript">
kevers 2013/11/22 18:50:50 omit type attribute for script.
rsadam 2013/11/25 15:21:02 Done.
14 var success = false;
15 var input = document.getElementById('input');
16 input.oninput = function() {
17 success = true;
18 }
19 input.focus();
20
21 var verifyInput = function(expected) {
22 window.domAutomationController.send(input.value == expected);
23 }
24
25 var waitForInput = function(char) {
26 input.oninput= function() {
kevers 2013/11/22 18:50:50 nit: Space before =
rsadam 2013/11/25 15:21:02 Done.
27 verifyInput(char);
28 };
29 }
30 </script>
31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698