Enable signon.passwordEditCapture.enabled to create a dismissed doorhanger when a password field value is edited
Categories
(Toolkit :: Password Manager, enhancement, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox76 | --- | verified |
People
(Reporter: sfoster, Assigned: sfoster)
References
Details
(Whiteboard: [passwords:capture-UI])
Attachments
(2 files)
The pref signon.passwordEditCapture.enabled
defaults to false since landing in bug 1536728.
Defaulting to true will enable the feature to "Show a dismissed login capture doorhanger when a user edits a password field (before submission)"
Assignee | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Backed out for failures on browser_doorhanger_dismissed_for_ccnumber.js
backout: https://hg.mozilla.org/integration/autoland/rev/569c2e34f9dfeafaf72339988bcc5ec7a3152002
failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=291206616&repo=autoland&lineNumber=18158
[task 2020-03-02T02:52:22.113Z] 02:52:22 INFO - Waiting for passwordFilledPromise
[task 2020-03-02T02:52:22.113Z] 02:52:22 INFO - Waiting for FormSubmit
[task 2020-03-02T02:52:22.113Z] 02:52:22 INFO - Buffered messages finished
[task 2020-03-02T02:52:22.113Z] 02:52:22 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/passwordmgr/test/browser/browser_doorhanger_dismissed_for_ccnumber.js | Test timed out -
[task 2020-03-02T02:52:22.113Z] 02:52:22 INFO - GECKO(2161) | MEMORY STAT | vsize 7649MB | residentFast 377MB | heapAllocated 113MB
[task 2020-03-02T02:52:22.113Z] 02:52:22 INFO - TEST-OK | toolkit/components/passwordmgr/test/browser/browser_doorhanger_dismissed_for_ccnumber.js | took 90169ms
[task 2020-03-02T02:52:22.113Z] 02:52:22 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-03-02T02:52:22.113Z] 02:52:22 INFO - TEST-UNEXPECTED-FAIL | toolkit/components/passwordmgr/test/browser/browser_doorhanger_dismissed_for_ccnumber.js | Found a tab after previous test timed out: https://example.com/browser/toolkit/components/passwordmgr/test/browser/form_basic.html?username=4111111111111111&password=123 -
[task 2020-03-02T02:52:22.113Z] 02:52:22 INFO - GECKO(2161) | [Child 2166: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x10cf44800 == 1 [pid = 2166] [id = {98fc22e0-cfd2-a14a-9974-4a69b6bbf630}]
[task 2020-03-02T02:52:22.113Z] 02:52:22 INFO - GECKO(2161) | [Child 2166: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (0x10cf0bc60) [pid = 2166] [serial = 81] [outer = 0x0]
[task 2020-03-02T02:52:22.113Z] 02:52:22 INFO - GECKO(2161) | [Child 2166, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/workspace/build/src/layout/base/nsPresContext.cpp, line 848
[task 2020-03-02T02:52:22.113Z] 02:52:22 INFO - GECKO(2161) | [Child 2166: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x10d818400) [pid = 2166] [serial = 82] [outer = 0x10cf0bc60]
[task 2020-03-02T02:52:22.118Z] 02:52:22 INFO - checking window state
Assignee | ||
Comment 4•5 years ago
|
||
thanks for the backout. I'm working on fixing these tests.
Comment 6•5 years ago
|
||
Backed out changeset bdc7b2a874ac (bug 1618696) for causing bc failures
https://hg.mozilla.org/integration/autoland/rev/63640d5a44d8de078d649b997ad28c1a833c0b65
push that caused the backout: https://treeherder.mozilla.org/#/jobs?repo=autoland&selectedJob=291758216&revision=bdc7b2a874ac844df33a4bf60ca6cd613df32764&searchStr=windows%2C10%2Cx64%2Casan%2Cmochitests%2Ctest-windows10-64-asan%2Fopt-mochitest-browser-chrome-e10s-8%2Cm%28bc8%29
Comment 7•5 years ago
|
||
This isn't a perma failure, however this intermittent started from your push. If needed we will reland it.
Assignee | ||
Comment 8•5 years ago
|
||
We do want this in before the soft freeze if possible.
I have some improvements to this test running at https://treeherder.mozilla.org/#/jobs?repo=try&revision=8d0139650e57a21d020f40f467cc6e97e1c240a3
try fuzzy is estimating 2-3hrs for those tests to run. Would it make sense for you to re-land and I'll land the test improvements ASAP (in the morning if they look good.) ?
Assignee | ||
Comment 9•5 years ago
|
||
(In reply to Sam Foster [:sfoster] (he/him) from comment #8)
I'll land the test improvements ASAP (in the morning if they look good.) ?
I would break them out into the own follow-up bug + patch.
Comment 10•5 years ago
|
||
Since it has a fairly high fail rate, I think it would be best if you pinged me on riot when those test runs go green. I'l reland and you can follow up with the patch. Is that ok?
Comment 11•5 years ago
|
||
Sam, it looks like the failures were only on ASAN so far so rs=me on skip-if = asan
Comment 12•5 years ago
|
||
Comment 13•5 years ago
|
||
Backed out changeset 717735305b7c (bug 1618696) for high frequency bc failures
https://hg.mozilla.org/integration/autoland/rev/43f2b07257a164e335c45ca16453a2b09ac63f1f
Assignee | ||
Comment 14•5 years ago
|
||
I've split this patch into 2 now. Enabling the pref will wait until the merge. The test and defect fixes are up for review on bug 1620482.
Comment 15•5 years ago
|
||
Comment 16•5 years ago
|
||
bugherder |
Comment 17•5 years ago
|
||
Backed out for causing bug 1621191 and 1565363
Backout: https://hg.mozilla.org/integration/autoland/rev/026b396d278821202955c5a422723c09df428e54
Comment 18•5 years ago
|
||
Backout merged https://hg.mozilla.org/mozilla-central/rev/026b396d2788
Assignee | ||
Comment 20•5 years ago
|
||
- Track and clear a timerID for the ConfirmationHint to avoid callbacks from one show() call interfering with a subsequent call.
- Tighten up waiting for and verifying the confirmation hint in browser_doorhanger_generated_password.js
- Pass in the correct browser when retrieving the anchorNode for the confirmation hint.
Depends on D64843
Comment 21•5 years ago
|
||
Assignee | ||
Comment 22•5 years ago
|
||
Green try push for this patch: https://treeherder.mozilla.org/#/jobs?repo=try&revision=800c158ebef1fd97fd3637fc34afecffbb4cd193
Comment 23•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/17cebe7ee873
https://hg.mozilla.org/mozilla-central/rev/336f37c4efb6
Comment 24•5 years ago
|
||
Verified-fixed on Nightly 76.0a1 (2020-03-26) on Windows 10, MacOS 10.13 and Ubuntu 16.04.
- "signon.passwordEditCapture.enabled" is "true" by default and can confirm that the dismissed doorhanger is functional
- Prevent overlapping show/hide of the ConfirmationHint - is an automated test issue that doesn't need manual verification.
Description
•