Bug 1016138 followup - only call add on the master-password probe when a MP is enabled. r=markh

This commit is contained in:
Allison Naaktgeboren 2014-06-17 10:03:47 +10:00
parent 97f8a936d0
commit 2f07e9e88c

View File

@ -1239,7 +1239,9 @@ var gBrowserInit = {
let mpEnabled = slot &&
slot.status != Ci.nsIPKCS11Slot.SLOT_UNINITIALIZED &&
slot.status != Ci.nsIPKCS11Slot.SLOT_READY;
if (mpEnabled) {
Services.telemetry.getHistogramById("MASTER_PASSWORD_ENABLED").add(mpEnabled);
}
}, 5000);
});
this.delayedStartupFinished = true;