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

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

Issue 1972073002: [MD History] Make history-list:historyData private. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_loading
Patch Set: oopz Created 4 years, 7 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 a620f4e9201831c360a38a9c4d507ad2cac2540e..f66ca8b2b95b4e95a306c666c7d6b90147bc8275 100644
--- a/chrome/test/data/webui/md_history/history_item_test.js
+++ b/chrome/test/data/webui/md_history/history_item_test.js
@@ -66,13 +66,13 @@ cr.define('md_history.history_item_test', function() {
var items =
Polymer.dom(element.root).querySelectorAll('history-item');
- element.removeDeletedHistory_([element.historyData[3]]);
- assertEquals(5, element.historyData.length);
+ element.removeDeletedHistory_([element.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.removeDeletedHistory_([element.historyData_[3]]);
// Checks time gap separator is removed.
assertFalse(items[2].hasTimeGap);
@@ -81,7 +81,7 @@ cr.define('md_history.history_item_test', function() {
});
teardown(function() {
- element.historyData = [];
+ element.historyData_ = [];
element.searchedTerm = '';
});
});
« no previous file with comments | « chrome/browser/resources/md_history/history_list.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