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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/downloads.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html i18n-values="dir:textdirection;"> 2 <html i18n-values="dir:textdirection;">
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <title i18n-content="title"></title> 5 <title i18n-content="title"></title>
6 <link rel="icon" href="../../app/theme/history_favicon.png"> 6 <link rel="icon" href="../../app/theme/history_favicon.png">
7 <script src="local_strings.js"></script> 7 <script src="local_strings.js"></script>
8 <script> 8 <script>
9 /////////////////////////////////////////////////////////////////////////////// 9 ///////////////////////////////////////////////////////////////////////////////
10 // Globals: 10 // Globals:
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 this.displayNavBar_(); 520 this.displayNavBar_();
521 this.updateEntryAnchorWidth_(); 521 this.updateEntryAnchorWidth_();
522 } 522 }
523 523
524 /** 524 /**
525 * Update the summary bar with descriptive text. 525 * Update the summary bar with descriptive text.
526 */ 526 */
527 HistoryView.prototype.displaySummaryBar_ = function() { 527 HistoryView.prototype.displaySummaryBar_ = function() {
528 var searchText = this.model_.getSearchText(); 528 var searchText = this.model_.getSearchText();
529 if (searchText != '') { 529 if (searchText != '') {
530 this.summaryDiv_.innerHTML = localStrings.formatString('searchresultsfor', 530 this.summaryDiv_.textContent = localStrings.formatString('searchresultsfor',
531 searchText); 531 searchText);
532 } else { 532 } else {
533 this.summaryDiv_.innerHTML = localStrings.getString('history'); 533 this.summaryDiv_.innerHTML = localStrings.getString('history');
534 } 534 }
535 } 535 }
536 536
537 /** 537 /**
538 * Update the pagination tools. 538 * Update the pagination tools.
539 */ 539 */
540 HistoryView.prototype.displayNavBar_ = function() { 540 HistoryView.prototype.displayNavBar_ = function() {
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
918 </div> 918 </div>
919 <div class="main"> 919 <div class="main">
920 <div id="results-summary"></div> 920 <div id="results-summary"></div>
921 <div id="results-display"></div> 921 <div id="results-display"></div>
922 <div id="results-pagination"></div> 922 <div id="results-pagination"></div>
923 </div> 923 </div>
924 <div class="footer"> 924 <div class="footer">
925 </div> 925 </div>
926 </body> 926 </body>
927 </html> 927 </html>
OLDNEW
« 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