| Index: chrome/test/data/webui/md_bookmarks/test_util.js
|
| diff --git a/chrome/test/data/webui/md_bookmarks/test_util.js b/chrome/test/data/webui/md_bookmarks/test_util.js
|
| index 593610b359f50d3dbe59a69bafff36e1cd350d05..c1b2279b0f42a50f4cbf12f7ab6eb9eede16ba14 100644
|
| --- a/chrome/test/data/webui/md_bookmarks/test_util.js
|
| +++ b/chrome/test/data/webui/md_bookmarks/test_util.js
|
| @@ -54,7 +54,7 @@ function createFolder(id, children, config) {
|
| * Splices out the item/folder at |index| and adjusts the indices of all the
|
| * items after that.
|
| * @param {BookmarkTreeNode} tree
|
| - * @param {Number} index
|
| + * @param {number} index
|
| */
|
| function removeChild(tree, index) {
|
| tree.children.splice(index, 1);
|
| @@ -99,9 +99,11 @@ function customClick(element, config) {
|
| var props = {
|
| bubbles: true,
|
| cancelable: true,
|
| + button: 0,
|
| buttons: 1,
|
| shiftKey: false,
|
| ctrlKey: false,
|
| + detail: 1,
|
| };
|
|
|
| if (config) {
|
| @@ -112,6 +114,8 @@ function customClick(element, config) {
|
| element.dispatchEvent(new MouseEvent('mousedown', props));
|
| element.dispatchEvent(new MouseEvent('mouseup', props));
|
| element.dispatchEvent(new MouseEvent('click', props));
|
| + if (config && config.detail == 2)
|
| + element.dispatchEvent(new MouseEvent('dblclick', props));
|
| }
|
|
|
| /**
|
|
|