summaryrefslogtreecommitdiff
path: root/chromium/content/browser/resources/histograms
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/resources/histograms')
-rw-r--r--chromium/content/browser/resources/histograms/histograms_internals.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/chromium/content/browser/resources/histograms/histograms_internals.js b/chromium/content/browser/resources/histograms/histograms_internals.js
index 8069d46c206..00d71ea3318 100644
--- a/chromium/content/browser/resources/histograms/histograms_internals.js
+++ b/chromium/content/browser/resources/histograms/histograms_internals.js
@@ -19,6 +19,7 @@ function requestHistograms() {
* of header and body strings representing histograms.
*/
function addHistograms(histograms) {
+ $('histograms').innerHTML = trustedTypes.emptyHTML;
// TBD(jar) Write a nice HTML bar chart, with divs an mouse-overs etc.
for (const histogram of histograms) {
const {header, body} = histogram;