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

Unified Diff: chrome/test/data/webui/md_downloads/layout_tests.js

Issue 1428833005: MD Downloads: track downloads in C++, dispatch discrete JS updates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: asdf Created 5 years, 1 month 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_downloads/layout_tests.js
diff --git a/chrome/test/data/webui/md_downloads/layout_tests.js b/chrome/test/data/webui/md_downloads/layout_tests.js
index 7c09cf6ffb0950f1a228c5b4cf105ef7a2934783..d7f769db0e96165f1a2de6ff7933fe4d9ad51bb1 100644
--- a/chrome/test/data/webui/md_downloads/layout_tests.js
+++ b/chrome/test/data/webui/md_downloads/layout_tests.js
@@ -15,10 +15,10 @@ cr.define('downloads.layout_tests', function() {
});
test('long URLs ellide', function() {
- manager.updateAll_([{
+ manager.insertItems_(0, [{
dpapad 2015/11/24 18:42:33 Nit: Can you avoid referring to private method by
Dan Beam 2015/11/25 04:06:37 Done.
file_name: 'file name',
state: downloads.States.COMPLETE,
- url: 'a'.repeat(10000),
+ url: 'a'.repeat(1000),
}]);
Polymer.dom.flush();

Powered by Google App Engine
This is Rietveld 408576698