| Index: ui/file_manager/file_manager/background/js/test_util.js
|
| diff --git a/ui/file_manager/file_manager/background/js/test_util.js b/ui/file_manager/file_manager/background/js/test_util.js
|
| index 62aec6e9525627102c2ed3fc85c2161feea85e9f..c1cc448e28ea5af9d48113c751091759658bb484 100644
|
| --- a/ui/file_manager/file_manager/background/js/test_util.js
|
| +++ b/ui/file_manager/file_manager/background/js/test_util.js
|
| @@ -410,24 +410,6 @@
|
| };
|
|
|
| /**
|
| - * Simulates a fake mouse click (right button, single click) on the element
|
| - * specified by |targetQuery|.
|
| - *
|
| - * @param {Window} contentWindow Window to be tested.
|
| - * @param {string} targetQuery Query to specify the element.
|
| - * @param {string=} opt_iframeQuery Optional iframe selector.
|
| - * @return {boolean} True if the event is sent to the target, false
|
| - * otherwise.
|
| - */
|
| -test.util.sync.fakeMouseRightClick = function(
|
| - contentWindow, targetQuery, opt_iframeQuery) {
|
| - var contextMenuEvent = new MouseEvent('contextmenu', {bubbles: true});
|
| - var result = test.util.sync.sendEvent(
|
| - contentWindow, targetQuery, contextMenuEvent, opt_iframeQuery);
|
| - return result;
|
| -};
|
| -
|
| -/**
|
| * Simulates a fake double click event (left button) to the element specified by
|
| * |targetQuery|.
|
| *
|
|
|