Closed
Bug 1124392
Opened 10 years ago
Closed 10 years ago
Telemetry: Record the number of passwords per hostname
Categories
(Toolkit :: Password Manager, defect, P1)
Toolkit
Password Manager
Tracking
()
RESOLVED
FIXED
mozilla38
People
(Reporter: ckarlof, Assigned: liuche)
References
Details
Attachments
(2 files, 1 obsolete file)
2.36 KB,
patch
|
MattN
:
review+
lmandel
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta-
|
Details | Diff | Splinter Review |
39 bytes,
text/x-review-board-request
|
Details |
There are many ways we could refine this, but I propose that we first do this as naively as possible (i.e, exact origin match of the page where the password was captured).
Assignee | ||
Updated•10 years ago
|
Priority: -- → P1
Assignee | ||
Comment 1•10 years ago
|
||
We're just going to measure: what are the number of domains with x number of logins
Possible reasons that a user might see multiple logins:
* Multiple accounts for the page
* http and https for same domain (different origin)
* Subdomains of same etld + 1 (~second level domain)
* Same domain, different port
* Different http realms for same origin
* maybe? different formsubmiturl for same domain/login
Other thoughts:
This might be useful for deciding how we prioritize UI for selecting from multiple accounts?
How many passwords can be combined once we improve origin handling?
(if we were perfect) How many accounts do people have for the same website?
Status: NEW → ASSIGNED
Summary: Telemetry: Record the number of domains for which the user has multiple sets of saved credentials → Telemetry: Record the number of domains that have that have "x" number of logins
Assignee | ||
Updated•10 years ago
|
Points: --- → 3
Assignee | ||
Updated•10 years ago
|
Summary: Telemetry: Record the number of domains that have that have "x" number of logins → Telemetry: Record the number of passwords per hostname
Assignee | ||
Comment 2•10 years ago
|
||
/r/3209 - Bug 1124392 - Record the number of passwords per hostname. r=MattN
Pull down this commit:
hg pull review -r 27acb5026a4ca21f8d3dbce26e2521386321c2ac
Attachment #8557456 -
Flags: review?(MattN+bmo)
Comment 3•10 years ago
|
||
Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8557456 [details]
MozReview Request: bz://1124392/liuche
Clearing review because I forgot to rebase over Paolo's WS patch x_x
Attachment #8557456 -
Flags: review?(MattN+bmo)
Assignee | ||
Updated•10 years ago
|
Attachment #8557534 -
Flags: review?(MattN+bmo)
Comment 5•10 years ago
|
||
Comment on attachment 8557534 [details] [diff] [review]
Rebased on top of bug 1124516
Review of attachment 8557534 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/components/passwordmgr/nsLoginManager.js
@@ +271,5 @@
> +
> + let passwordsCountHistogram = clearAndGetHistogram("PWMGR_NUM_HOSTNAME_PASSWORDS");
> + log("hostnameCount.size", hostnameCount.size);
> + for (let count of hostnameCount.values()) {
> + log("AOEU value", count);
Leftover logging x2?
::: toolkit/components/telemetry/Histograms.json
@@ +7261,5 @@
> "n_buckets" : 10,
> "extended_statistics_ok": true,
> "description": "The number of sites for which the user has explicitly rejected saving logins"
> },
> + "PWMGR_NUM_HOSTNAME_PASSWORDS": {
Nit: we could make this more clear with the name PWMGR_NUM_PASSWORDS_PER_HOSTNAME
@@ +7265,5 @@
> + "PWMGR_NUM_HOSTNAME_PASSWORDS": {
> + "expires_in_version": "never",
> + "kind": "exponential",
> + "high": 100,
> + "n_buckets" : 50,
Linear to 20?
@@ +7266,5 @@
> + "expires_in_version": "never",
> + "kind": "exponential",
> + "high": 100,
> + "n_buckets" : 50,
> + "extended_statistics_ok": true,
Remove this for linear.
Attachment #8557534 -
Flags: review?(MattN+bmo) → review+
Comment 6•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Comment 7•10 years ago
|
||
Comment on attachment 8557534 [details] [diff] [review]
Rebased on top of bug 1124516
Approval Request Comment
[Feature/regressing bug #]: Improvements to password manager in 2015 - Bug 1121127
[User impact if declined]: Possibly less ideal decisions based on lack of data.
[Describe test coverage new/current, TreeHerder]: No tests for the telemetry since it's outside the normal code flow so shouldn't break other aspects of password manager if an exception occurs. No problems have been reported on Nightly and data looks good there.
[Risks and why]: Low risk since it's new code only run during the telemetry gathering phase.
[String/UUID change made/needed]: None
Attachment #8557534 -
Flags: approval-mozilla-beta?
Attachment #8557534 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
Comment 8•10 years ago
|
||
Comment on attachment 8557534 [details] [diff] [review]
Rebased on top of bug 1124516
I'm not sure about the value of uplifting this patch to Beta at this point in the cycle. (I'll leave it to Sylvestre to make the call on that.) Happy to take this on Aurora.
Aurora+
Attachment #8557534 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 9•10 years ago
|
||
Comment 10•10 years ago
|
||
Comment on attachment 8557534 [details] [diff] [review]
Rebased on top of bug 1124516
Too late for beta.
Attachment #8557534 -
Flags: approval-mozilla-beta? → approval-mozilla-beta-
Updated•10 years ago
|
Flags: qe-verify-
Assignee | ||
Comment 11•9 years ago
|
||
Attachment #8557456 -
Attachment is obsolete: true
Assignee | ||
Comment 12•9 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•