зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1303380 - Wrap the telemetry code in _firstWindowLoaded with a try/catch to allow startup and migration code to run to completion if there is an exception writing to Telemetry. r=Gijs
MozReview-Commit-ID: DPfq6lZ4fM3 --HG-- extra : rebase_source : 072713f1bf4dc30b681e57660b740a137e8ee7aa
This commit is contained in:
Родитель
05b003282b
Коммит
37f76f170c
|
@ -931,7 +931,9 @@ BrowserGlue.prototype = {
|
|||
}
|
||||
if (SCALING_PROBE_NAME) {
|
||||
let scaling = aWindow.devicePixelRatio * 100;
|
||||
Services.telemetry.getHistogramById(SCALING_PROBE_NAME).add(scaling);
|
||||
try {
|
||||
Services.telemetry.getHistogramById(SCALING_PROBE_NAME).add(scaling);
|
||||
} catch (ex) {}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче