зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1263051 - Avoid JavaScript strict warning in e10srollout/bootstrap.js when the Crash Reporter is disabled. r=felipe
This commit is contained in:
Родитель
19a885dbd3
Коммит
c9e5b4f76e
|
@ -95,7 +95,9 @@ function getUserSample() {
|
|||
function setCohort(cohortName) {
|
||||
Preferences.set(PREF_COHORT_NAME, cohortName);
|
||||
try {
|
||||
Services.appinfo.QueryInterface(Ci.nsICrashReporter).annotateCrashReport("E10SCohort", cohortName);
|
||||
if (Ci.nsICrashReporter) {
|
||||
Services.appinfo.QueryInterface(Ci.nsICrashReporter).annotateCrashReport("E10SCohort", cohortName);
|
||||
}
|
||||
} catch (e) {}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче