mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
Bug 1366808: Add telemetry probe for about:restartrequired page. r=jimm
This commit is contained in:
parent
b40a23754c
commit
73071eec8f
@ -329,6 +329,12 @@ var TabCrashHandler = {
|
||||
|
||||
browser.docShell.displayLoadError(Cr.NS_ERROR_BUILDID_MISMATCH, uri, null);
|
||||
tab.setAttribute("crashed", true);
|
||||
|
||||
// Make sure to only count once even if there are multiple windows
|
||||
// that will all show about:restartrequired.
|
||||
if (this._crashedTabCount == 1) {
|
||||
Services.telemetry.getHistogramById("FX_CONTENT_BUILDID_MISMATCH").add(1);
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -12563,6 +12563,15 @@
|
||||
"kind": "count",
|
||||
"releaseChannelCollection": "opt-out",
|
||||
"description": "Counts the number of times that about:tabcrashed was unloaded without submitting."
|
||||
},
|
||||
"FX_CONTENT_BUILDID_MISMATCH": {
|
||||
"record_in_processes": ["main"],
|
||||
"alert_emails": ["spohl@mozilla.com"],
|
||||
"bug_numbers": [1366808],
|
||||
"expires_in_version": "never",
|
||||
"kind": "count",
|
||||
"releaseChannelCollection": "opt-out",
|
||||
"description": "Counts the number of times that about:restartrequired appeared."
|
||||
},
|
||||
"D3D9_COMPOSITING_FAILURE_ID": {
|
||||
"record_in_processes": ["main", "content"],
|
||||
|
@ -1636,6 +1636,7 @@
|
||||
"FX_CONTENT_CRASH_DUMP_UNAVAILABLE",
|
||||
"FX_CONTENT_CRASH_NOT_SUBMITTED",
|
||||
"FX_CONTENT_CRASH_PRESENTED",
|
||||
"FX_CONTENT_BUILDID_MISMATCH",
|
||||
"FX_SESSION_RESTORE_SEND_UPDATE_CAUSED_OOM",
|
||||
"FX_TOUCH_USED",
|
||||
"GEOLOCATION_ERROR",
|
||||
|
Loading…
Reference in New Issue
Block a user