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

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

Issue 1480263002: Revert of MD Downloads: track downloads in C++, dispatch discrete JS updates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e319b582f1125d66a90e629d591ae99cc9a3e91c..7c09cf6ffb0950f1a228c5b4cf105ef7a2934783 100644
--- a/chrome/test/data/webui/md_downloads/layout_tests.js
+++ b/chrome/test/data/webui/md_downloads/layout_tests.js
@@ -12,14 +12,13 @@
PolymerTest.clearBody();
manager = document.createElement('downloads-manager');
document.body.appendChild(manager);
- assertEquals(manager, downloads.Manager.get());
});
test('long URLs ellide', function() {
- downloads.Manager.insertItems(0, [{
+ manager.updateAll_([{
file_name: 'file name',
state: downloads.States.COMPLETE,
- url: 'a'.repeat(1000),
+ url: 'a'.repeat(10000),
}]);
Polymer.dom.flush();
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698