Roll leveldb 3f7758:803d69 (v1.17 -> v1.18)
[chromium-blink-merge.git] / chrome / test / data / chromeos / virtual_keyboard / end_to_end_test.html
blobf18ee10afa956e4b1b8512b5e7770c6e3d756ccf
1 <!--
2 Copyright 2013 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file.
5 -->
6 <html>
7 <head>
8 <title>Check whether the Virtual Keyboard works</title>
9 </head>
10 <body>
11 <input id='input' type='text'/>
12 </body>
13 <script>
14 var success = false;
15 var input = document.getElementById('input');
16 input.oninput = function() {
17 success = true;
19 input.focus();
21 var verifyInput = function(expected) {
22 window.domAutomationController.send(input.value == expected);
25 var waitForInput = function(char) {
26 input.oninput = function() {
27 verifyInput(char);
30 </script>
31 </html>