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

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

Issue 1228263002: Fix downloads-related web_dev_style presubmit issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dl-rough-draft2
Patch Set: Created 5 years, 5 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.cc ('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.js
diff --git a/chrome/browser/ui/webui/downloads_ui_browsertest.js b/chrome/browser/ui/webui/downloads_ui_browsertest.js
index c917b9d0ef0dc715a805975a940b321d9c7bfb1c..89fc3119559a357badc190bedd72cc7e82dc6225 100644
--- a/chrome/browser/ui/webui/downloads_ui_browsertest.js
+++ b/chrome/browser/ui/webui/downloads_ui_browsertest.js
@@ -27,7 +27,7 @@ TEST_F('BaseDownloadsWebUITest', 'NoSearchResultsShown', function() {
this.sendEmptyList();
expectTrue($('downloads-display').hidden);
- this.checkShowing(noResults, loadTimeData.getString('no_search_results'));
+ this.checkShowing(noResults, loadTimeData.getString('noSearchResults'));
});
TEST_F('BaseDownloadsWebUITest', 'NoDownloadsAfterClearAll', function() {
@@ -39,7 +39,7 @@ TEST_F('BaseDownloadsWebUITest', 'NoDownloadsAfterClearAll', function() {
this.sendEmptyList();
expectTrue($('downloads-display').hidden);
- this.checkShowing(noResults, loadTimeData.getString('no_downloads'));
+ this.checkShowing(noResults, loadTimeData.getString('noDownloads'));
});
TEST_F('BaseDownloadsWebUITest', 'PauseResumeFocus', function() {
@@ -126,7 +126,7 @@ EmptyDownloadsWebUITest.prototype = {
TEST_F('EmptyDownloadsWebUITest', 'NoDownloadsMessageShowing', function() {
expectTrue($('downloads-display').hidden);
var noResults = $('no-downloads-or-results');
- this.checkShowing(noResults, loadTimeData.getString('no_downloads'));
+ this.checkShowing(noResults, loadTimeData.getString('noDownloads'));
});
TEST_F('EmptyDownloadsWebUITest', 'NoSearchResultsWithNoDownloads', function() {
@@ -135,7 +135,7 @@ TEST_F('EmptyDownloadsWebUITest', 'NoSearchResultsWithNoDownloads', function() {
expectTrue($('downloads-display').hidden);
var noResults = $('no-downloads-or-results');
- this.checkShowing(noResults, loadTimeData.getString('no_search_results'));
+ this.checkShowing(noResults, loadTimeData.getString('noSearchResults'));
});
/**
« no previous file with comments | « chrome/browser/ui/webui/downloads_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698