mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1016138 followup - only call add on the master-password probe when a MP is enabled. r=markh
This commit is contained in:
parent
97f8a936d0
commit
2f07e9e88c
@ -1239,7 +1239,9 @@ var gBrowserInit = {
|
||||
let mpEnabled = slot &&
|
||||
slot.status != Ci.nsIPKCS11Slot.SLOT_UNINITIALIZED &&
|
||||
slot.status != Ci.nsIPKCS11Slot.SLOT_READY;
|
||||
Services.telemetry.getHistogramById("MASTER_PASSWORD_ENABLED").add(mpEnabled);
|
||||
if (mpEnabled) {
|
||||
Services.telemetry.getHistogramById("MASTER_PASSWORD_ENABLED").add(mpEnabled);
|
||||
}
|
||||
}, 5000);
|
||||
});
|
||||
this.delayedStartupFinished = true;
|
||||
|
Loading…
Reference in New Issue
Block a user