| Index: chrome/test/data/webui/md_bookmarks/test_command_manager.js
|
| diff --git a/chrome/test/data/webui/md_bookmarks/test_command_manager.js b/chrome/test/data/webui/md_bookmarks/test_command_manager.js
|
| index 7dbc970708454e7b9e27ee1320a2e17edfd8aadd..3891435ee60e1f8dfe4e921ef81f698275361f6e 100644
|
| --- a/chrome/test/data/webui/md_bookmarks/test_command_manager.js
|
| +++ b/chrome/test/data/webui/md_bookmarks/test_command_manager.js
|
| @@ -19,7 +19,11 @@ function TestCommandManager() {
|
| realHandle(command, itemIds);
|
| };
|
|
|
| - commandManager.assertLastCommand = function (command, ids) {
|
| + /**
|
| + * @param {Command} command
|
| + * @param {!Array<string>} ids
|
| + */
|
| + commandManager.assertLastCommand = function(command, ids) {
|
| assertEquals(command, lastCommand);
|
| if (ids)
|
| assertDeepEquals(ids, normalizeSet(lastCommandIds));
|
| @@ -27,5 +31,10 @@ function TestCommandManager() {
|
| lastCommandIds = null;
|
| };
|
|
|
| + /** @param {!Array<string>} ids */
|
| + commandManager.assertMenuOpenForIds = function(ids) {
|
| + assertDeepEquals(ids, normalizeSet(commandManager.menuIds_));
|
| + };
|
| +
|
| return commandManager;
|
| }
|
|
|