Index: chrome/browser/resources/crashes.js |
diff --git a/chrome/browser/resources/crashes.js b/chrome/browser/resources/crashes.js |
index 83388f8a5ff88cae64149d81a5f12dde5d712ba8..e385dd57e9bfa28d0150405775a0624cb0d27583 100644 |
--- a/chrome/browser/resources/crashes.js |
+++ b/chrome/browser/resources/crashes.js |
@@ -35,13 +35,18 @@ function updateCrashList(enabled, dynamicBackend, crashes, version) { |
// Clear any previous list. |
crashSection.textContent = ''; |
+ var productName = loadTimeData.getString('shortProductName'); |
+ |
for (var i = 0; i < crashes.length; i++) { |
var crash = crashes[i]; |
+ if (crash['local_id'] == '') |
+ crash['local_id'] = productName; |
var crashBlock = document.createElement('div'); |
var title = document.createElement('h3'); |
title.textContent = loadTimeData.getStringF('crashHeaderFormat', |
- crash['id']); |
+ crash['id'], |
+ crash['local_id']); |
crashBlock.appendChild(title); |
var date = document.createElement('p'); |
date.textContent = loadTimeData.getStringF('crashTimeFormat', |