| Index: ui/file_manager/integration_tests/remote_call.js
|
| diff --git a/ui/file_manager/integration_tests/remote_call.js b/ui/file_manager/integration_tests/remote_call.js
|
| index 40efc898d3fe1830ccd56b0a51e6a12d1c62239e..aa014c6ed19bfe7f82349ea3569ae16c1944edea 100644
|
| --- a/ui/file_manager/integration_tests/remote_call.js
|
| +++ b/ui/file_manager/integration_tests/remote_call.js
|
| @@ -201,6 +201,7 @@ RemoteCall.prototype.waitForElementLost =
|
| * Sends a fake key down event.
|
| * @param {string} windowId Window ID.
|
| * @param {string} query Query for the target element.
|
| + * @param {string} key DOM UI Events Key value.
|
| * @param {string} keyIdentifer Key identifier.
|
| * @param {boolean} ctrlKey Control key flag.
|
| * @param {boolean} shiftKey Shift key flag.
|
| @@ -209,10 +210,10 @@ RemoteCall.prototype.waitForElementLost =
|
| * result.
|
| */
|
| RemoteCall.prototype.fakeKeyDown =
|
| - function(windowId, query, keyIdentifer, ctrlKey, shiftKey, altKey) {
|
| + function(windowId, query, key, keyIdentifer, ctrlKey, shiftKey, altKey) {
|
| var resultPromise = this.callRemoteTestUtil(
|
| 'fakeKeyDown', windowId,
|
| - [query, keyIdentifer, ctrlKey, shiftKey, altKey]);
|
| + [query, key, keyIdentifer, ctrlKey, shiftKey, altKey]);
|
| return resultPromise.then(function(result) {
|
| if (result)
|
| return true;
|
| @@ -362,7 +363,7 @@ RemoteCallFilesApp.prototype.checkNextTabFocus =
|
| function(windowId, elementId) {
|
| return remoteCall.callRemoteTestUtil('fakeKeyDown',
|
| windowId,
|
| - ['body', 'U+0009', false]).then(
|
| + ['body', 'Tab', 'U+0009', false]).then(
|
| function(result) {
|
| chrome.test.assertTrue(result);
|
| return remoteCall.callRemoteTestUtil('getActiveElement',
|
|
|