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

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

Issue 2740863003: MD Bookmarks: Implement search and selection in new data flow system (Closed)
Patch Set: Review round 2 Created 3 years, 9 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/browser/resources/md_bookmarks/util.js ('k') | chrome/test/data/webui/md_bookmarks/reducers_test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/md_bookmarks/item_test.js
diff --git a/chrome/test/data/webui/md_bookmarks/item_test.js b/chrome/test/data/webui/md_bookmarks/item_test.js
index 05d7fac3c7d8eeeb3c87213d4f9fc37b25e3e668..3c4ab5c1831994e958b5e458e789c6d883e5a3a8 100644
--- a/chrome/test/data/webui/md_bookmarks/item_test.js
+++ b/chrome/test/data/webui/md_bookmarks/item_test.js
@@ -9,18 +9,18 @@ suite('<bookmarks-item>', function() {
setup(function() {
store = new bookmarks.TestStore({
- nodes: testTree(createFolder('1', [createItem(['0'])])),
+ nodes: testTree(createFolder('1', [createItem(['2'])])),
});
bookmarks.Store.instance_ = store;
item = document.createElement('bookmarks-item');
- item.itemId = '0';
+ item.itemId = '2';
replaceBody(item);
});
test('changing the url changes the favicon', function() {
var favicon = item.$.icon.style.backgroundImage;
- store.data.nodes['0'] = createItem('0', {url: 'https://mail.google.com'});
+ store.data.nodes['2'] = createItem('0', {url: 'https://mail.google.com'});
store.notifyObservers();
assertNotEquals(favicon, item.$.icon.style.backgroundImage);
});
« no previous file with comments | « chrome/browser/resources/md_bookmarks/util.js ('k') | chrome/test/data/webui/md_bookmarks/reducers_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698