Bug 848031. r=gavin, a=bajaj
authorGregory Szorc <gps@mozilla.com>
Wed, 06 Mar 2013 11:27:10 -0800
changeset 132321 8dd5efd73b68eb11a9d0a336b4a4515f474e16e1
parent 132320 9d56b37f1749567f4363b74e9978d777ae378e6b
child 132322 7c1795414b755c08e1a549f5ae0f08cc75bf5688
push id2323
push userbbajaj@mozilla.com
push dateMon, 01 Apr 2013 19:47:02 +0000
treeherdermozilla-beta@7712be144d91 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgavin, bajaj
bugs848031
milestone21.0a2
Bug 848031. r=gavin, a=bajaj
browser/base/content/abouthealthreport/abouthealth.js
--- a/browser/base/content/abouthealthreport/abouthealth.js
+++ b/browser/base/content/abouthealthreport/abouthealth.js
@@ -55,17 +55,17 @@ function updateView(state="default") {
 
 function refreshDataView(data) {
   let noData = document.getElementById("data-no-data");
   let dataEl = document.getElementById("raw-data");
 
   noData.style.display = data ? "none" : "inline";
   dataEl.style.display = data ? "block" : "none";
   if (data) {
-    dataEl.innerHTML = JSON.stringify(data, null, 2);
+    dataEl.textContent = JSON.stringify(data, null, 2);
   }
 }
 
 /**
  * Ensure the page has the latest version of the uploaded JSON payload.
  */
 function refreshJSONPayload() {
   reporter.getLastPayload().then(refreshDataView);