Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Unified Diff: chrome/test/data/webui/md_bookmarks/test_util.js

Issue 2774233006: [MD Bookmarks] Change selection items from Map to Set. (Closed)
Patch Set: rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/webui/md_bookmarks/reducers_test.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 71d71563e1a0f022211fd2a5dc3bbc7751a721bb..090758749019d447ceb5c8d237dabe997b2fdeac 100644
--- a/chrome/test/data/webui/md_bookmarks/test_util.js
+++ b/chrome/test/data/webui/md_bookmarks/test_util.js
@@ -83,6 +83,15 @@ function createItem(id, config) {
}
/**
+ * @param {Set<T>}
+ * @return {Array<T>}
+ * @template T
+ */
+function normalizeSet(set) {
+ return Array.from(set).sort();
+}
+
+/**
* Sends a custom click event to |element|.
* @param {HTMLElement} element
* @param {Object=} config
« no previous file with comments | « chrome/test/data/webui/md_bookmarks/reducers_test.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698