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

Unified Diff: chrome/test/data/webui/md_history/history_item_test.js

Issue 2318643003: MD History: truncate title to 300 chars in C++ instead of JS (Closed)
Patch Set: more !android Created 4 years, 3 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/uber/uber_ui_browsertest.cc ('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_history/history_item_test.js
diff --git a/chrome/test/data/webui/md_history/history_item_test.js b/chrome/test/data/webui/md_history/history_item_test.js
index fd824d0fa192782229c719b6f0fea972151f3d2e..17f1425b6a77c790d33ea1939f5513c4d76ae086 100644
--- a/chrome/test/data/webui/md_history/history_item_test.js
+++ b/chrome/test/data/webui/md_history/history_item_test.js
@@ -97,16 +97,6 @@ cr.define('md_history.history_item_test', function() {
});
});
- test('long titles are trimmed', function() {
- var item = document.createElement('history-item');
- var longtitle = '0123456789'.repeat(100);
- item.item =
- createHistoryEntry('2016-06-30', 'http://example.com/' + longtitle);
-
- var label = item.$$('history-searched-label');
- assertEquals(TITLE_MAX_LENGTH, label.title.length);
- });
-
teardown(function() {
element.historyData_ = [];
element.searchedTerm = '';
« no previous file with comments | « chrome/browser/ui/webui/uber/uber_ui_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698