Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / test / data / chromeos / virtual_keyboard / control_keys_test.js
index fb0d31a..9c2b21b 100644 (file)
@@ -307,22 +307,3 @@ function testModifierKeysAsync(testDoneCallback) {
   onKeyboardReady('testModifierKeysAsync', setupWork, testDoneCallback,
       [onSystemQwertyLower, onReset]);
 }
-
-/**
- * Tests that pressing the hide keyboard key calls the appropriate hide keyboard
- * API. The test is run asynchronously since the keyboard loads keysets
- * dynamically.
- */
-function testHideKeyboard(testDoneCallback) {
-  var runTest = function() {
-    var hideKey = $('keyboard').querySelector('kb-hide-keyboard-key');
-    assertTrue(!!hideKey, 'Unable to find key');
-
-    chrome.virtualKeyboardPrivate.hideKeyboard.addExpectation();
-    chrome.virtualKeyboardPrivate.lockKeyboard.addExpectation(false);
-
-    hideKey.down();
-    hideKey.up();
-  };
-  onKeyboardReady('testHideKeyboard', runTest, testDoneCallback);
-}