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

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

Issue 2207323002: [MD History] Factor out a common HistoryListBehavior. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nits 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/history_item_test.js
diff --git a/chrome/test/data/webui/md_history/history_item_test.js b/chrome/test/data/webui/md_history/history_item_test.js
index 94744a0d609bee67d0b00d58f0cfc8ffeb68196e..5d9bb83f90f1b6ccd1686deb25a0600ea028d7f3 100644
--- a/chrome/test/data/webui/md_history/history_item_test.js
+++ b/chrome/test/data/webui/md_history/history_item_test.js
@@ -63,13 +63,13 @@ cr.define('md_history.history_item_test', function() {
var items =
Polymer.dom(element.root).querySelectorAll('history-item');
- element.removeDeletedHistory_([element.historyData_[3]]);
+ element.removeItemsByPath(['historyData_.3']);
assertEquals(5, element.historyData_.length);
// Checks that a new time gap separator has been inserted.
assertTrue(items[2].hasTimeGap);
- element.removeDeletedHistory_([element.historyData_[3]]);
+ element.removeItemsByPath(['historyData_.3']);
// Checks time gap separator is removed.
assertFalse(items[2].hasTimeGap);
« no previous file with comments | « chrome/test/data/webui/md_history/history_grouped_list_test.js ('k') | chrome/test/data/webui/md_history/history_list_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698