| 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 0eb73ac176f7cde05908d70e86fa2c2e1777a7bd..96ffd197beb8594123341f7170e28f4ad52efb22 100644
|
| --- a/chrome/browser/ui/webui/downloads_ui_browsertest.js
|
| +++ b/chrome/browser/ui/webui/downloads_ui_browsertest.js
|
| @@ -96,6 +96,18 @@ TEST_F('BaseDownloadsWebUITest', 'DatesCollapse', function() {
|
| expectGT(firstContainer.querySelector('.date').textContent.trim().length, 0);
|
| });
|
|
|
| +TEST_F('BaseDownloadsWebUITest', 'EmptyProgressStatusText', function() {
|
| + this.createdDownloads[0].state = downloads.Item.States.PAUSED;
|
| + this.createdDownloads[0].progress_status_text = '';
|
| + downloads.Manager.updateItem(this.createdDownloads[0]); // Might assert().
|
| +});
|
| +
|
| +TEST_F('BaseDownloadsWebUITest', 'EmptyLastStatusText', function() {
|
| + this.createdDownloads[0].state = downloads.Item.States.INTERRUPTED;
|
| + this.createdDownloads[0].last_reason_text = '';
|
| + downloads.Manager.updateItem(this.createdDownloads[0]); // Might assert().
|
| +});
|
| +
|
| /**
|
| * @constructor
|
| * @extends {BaseDownloadsWebUITest}
|
|
|