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

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

Issue 2207323002: [MD History] Factor out a common HistoryListBehavior. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
Index: chrome/test/data/webui/md_history/test_util.js
diff --git a/chrome/test/data/webui/md_history/test_util.js b/chrome/test/data/webui/md_history/test_util.js
index d4f44ea367b34e203deb87f11badefcbd61c5697..d9be81b7ab3ef4786dc3c5071959f37c2f04a221 100644
--- a/chrome/test/data/webui/md_history/test_util.js
+++ b/chrome/test/data/webui/md_history/test_util.js
@@ -75,3 +75,12 @@ function createHistoryInfo(searchTerm) {
term: searchTerm || ''
};
}
+
+/**
+ * @param {Element} element
+ * @param {string} selector
+ * @return {Element}
+ */
+function polymerQuerySelectorAll(element, selector) {
tsergeant 2016/08/05 01:39:09 If you want, you could make your/our lives easier
calamity 2016/08/09 02:56:00 Done.
+ return Polymer.dom(element.root).querySelectorAll(selector);
+}

Powered by Google App Engine
This is Rietveld 408576698