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

Unified Diff: tools/binary_size/template/index.html

Issue 562623002: Binary size tool: Don't escape text that won't be parsed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pqn_20140908
Patch Set: Created 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/binary_size/template/index.html
diff --git a/tools/binary_size/template/index.html b/tools/binary_size/template/index.html
index b3a86ad5075da5d114f35ec650482ca1073be258..7e1a1fca491e17342ea25d6c732a4e3aacacdb1d 100644
--- a/tools/binary_size/template/index.html
+++ b/tools/binary_size/template/index.html
@@ -133,19 +133,19 @@ function bigSymbolsReport() {
cell.append('span').text(treemap.pathFor(record));
cell.append('br');
cell.append('span').text('Symbol: ');
- cell.append('span').text(escape(record.n));
+ cell.append('span').text(record.n);
} else {
var href = 'https://code.google.com/p/chromium/codesearch#chromium/src'
+ treemap.pathFor(record)
+ '&q='
- + escape(record.n);
+ + record.n;
cell.append('a')
.attr('href', href)
.attr('target', '_blank')
- .text(escape(treemap.pathFor(record)));
+ .text(treemap.pathFor(record));
cell.append('br');
cell.append('span').text('Symbol: ');
- cell.append('span').text(escape(record.n));
+ cell.append('span').text(record.n);
}
}
};
@@ -174,7 +174,7 @@ function bigPathsReport() {
cell.append('a')
.attr('href', href)
.attr('target', '_blank')
- .text(escape(treemap.pathFor(record)));
+ .text(treemap.pathFor(record));
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698