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

Unified Diff: chrome/browser/resources/history.html

Issue 201129: Ensure that HTML can't be executed when entered on the "Search History" page.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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/resources/downloads.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/history.html
===================================================================
--- chrome/browser/resources/history.html (revision 26113)
+++ chrome/browser/resources/history.html (working copy)
@@ -527,7 +527,7 @@
HistoryView.prototype.displaySummaryBar_ = function() {
var searchText = this.model_.getSearchText();
if (searchText != '') {
- this.summaryDiv_.innerHTML = localStrings.formatString('searchresultsfor',
+ this.summaryDiv_.textContent = localStrings.formatString('searchresultsfor',
searchText);
} else {
this.summaryDiv_.innerHTML = localStrings.getString('history');
« no previous file with comments | « chrome/browser/resources/downloads.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698