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

Unified Diff: chrome/browser/ui/webui/downloads_ui_browsertest_base.js

Issue 1018543005: downloads: fix Resume/Pause focus regression. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tests Created 5 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/ui/webui/downloads_ui_browsertest.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/downloads_ui_browsertest_base.js
diff --git a/chrome/browser/ui/webui/downloads_ui_browsertest_base.js b/chrome/browser/ui/webui/downloads_ui_browsertest_base.js
index 6f1cc37e4ac8e756a2c20329b675a6a956e3dfd3..329e3a65b07f053d2367e9a0be12324b8eede197 100644
--- a/chrome/browser/ui/webui/downloads_ui_browsertest_base.js
+++ b/chrome/browser/ui/webui/downloads_ui_browsertest_base.js
@@ -52,7 +52,7 @@ BaseDownloadsWebUITest.prototype = {
var timestamp = new Date(2008, 9, 2, 1, 0).getTime();
var list = [];
for (var i = 0; i < TOTAL_RESULT_COUNT; ++i) {
- list.push(this.createDownload_(i, timestamp));
+ list.push(this.createDownload(i, timestamp));
timestamp += 2 * 60 * 1000; // Next visit is two minutes later.
}
downloads.Manager.updateAll(list);
@@ -65,9 +65,8 @@ BaseDownloadsWebUITest.prototype = {
* @param {number} A unique ID for the download.
* @param {number} The time the download purportedly started.
* @return {!Object} A fake download object.
- * @private
*/
- createDownload_: function(id, timestamp) {
+ createDownload: function(id, timestamp) {
return {
id: id,
started: timestamp,
« no previous file with comments | « chrome/browser/ui/webui/downloads_ui_browsertest.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698