Don't show any logins on about:logins until Master Password is logged in
Categories
(Firefox :: about:logins, enhancement, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox69 | --- | verified |
People
(Reporter: jaws, Assigned: jaws)
References
Details
(Whiteboard: [passwords:management] [skyline] )
Attachments
(5 files, 3 obsolete files)
If Master Password is enabled, we shouldn't show any logins on about:logins. Upon loading about:logins, the user should be prompted to log in to Master Password. If the user cancels the logins then we should not show any logins, along with an error message.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Assignee | ||
Comment 4•5 years ago
|
||
Updated•5 years ago
|
Comment 5•5 years ago
|
||
Comment 6•5 years ago
|
||
Depends on D31698
Comment 7•5 years ago
|
||
Depends on D31699
Comment 8•5 years ago
|
||
I submitted an alternate patch proposal that doesn't add special behaviour using isLoggedIn and uses our existing notification bar UI rather than making new custom one-off UI. It only needs the test to be adapted and to use FTL strings otherwise it's ready to go. Let me know what you think.
Updated•5 years ago
|
Assignee | ||
Comment 9•5 years ago
|
||
(In reply to Matthew N. [:MattN] (PM me if requests are blocking you) from comment #8)
I submitted an alternate patch proposal that doesn't add special behaviour using isLoggedIn and uses our existing notification bar UI rather than making new custom one-off UI. It only needs the test to be adapted and to use FTL strings otherwise it's ready to go. Let me know what you think.
Thank you, this is great. Do you want to finish this bug or would you like me to fix the TODOs and update the test?
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 10•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
Backed out 5 changesets (bug 1550131) for browser-chrome failures at browser/components/aboutlogins/tests/browser/browser_masterPassword.js
Backout: https://hg.mozilla.org/integration/autoland/rev/d650f8a160f8c80d2645f4b2936175db013460ec
Failure push: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=95918413069f5ff80feb050f8ef8d45dd8e08b6e
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=247427718&repo=autoland&lineNumber=2244
task 2019-05-20T21:52:55.076Z] 21:52:55 INFO - TEST-PASS | browser/components/aboutlogins/tests/browser/browser_masterPassword.js | No logins should be displayed when MP is set and unauthenticated -
[task 2019-05-20T21:52:55.077Z] 21:52:55 INFO - Buffered messages finished
[task 2019-05-20T21:52:55.079Z] 21:52:55 INFO - TEST-UNEXPECTED-FAIL | browser/components/aboutlogins/tests/browser/browser_masterPassword.js | Notification should be visible -
[task 2019-05-20T21:52:55.080Z] 21:52:55 INFO - Stack trace:
[task 2019-05-20T21:52:55.081Z] 21:52:55 INFO - chrome://mochikit/content/browser-test.js:test_ok:1314
[task 2019-05-20T21:52:55.081Z] 21:52:55 INFO - chrome://mochitests/content/browser/browser/components/aboutlogins/tests/browser/browser_masterPassword.js:test:62
[task 2019-05-20T21:52:55.081Z] 21:52:55 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1116
[task 2019-05-20T21:52:55.082Z] 21:52:55 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1144
[task 2019-05-20T21:52:55.082Z] 21:52:55 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1005
[task 2019-05-20T21:52:55.083Z] 21:52:55 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
[task 2019-05-20T21:52:55.084Z] 21:52:55 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-05-20T21:52:55.084Z] 21:52:55 INFO - TEST-UNEXPECTED-FAIL | browser/components/aboutlogins/tests/browser/browser_masterPassword.js | Uncaught exception - at chrome://mochitests/content/browser/browser/components/aboutlogins/tests/browser/browser_masterPassword.js:63 - TypeError: notification is null
[task 2019-05-20T21:52:55.085Z] 21:52:55 INFO - Stack trace:
[task 2019-05-20T21:52:55.085Z] 21:52:55 INFO - test@chrome://mochitests/content/browser/browser/components/aboutlogins/tests/browser/browser_masterPassword.js:63:3
[task 2019-05-20T21:52:55.086Z] 21:52:55 INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1116:34
[task 2019-05-20T21:52:55.086Z] 21:52:55 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1144:12
[task 2019-05-20T21:52:55.087Z] 21:52:55 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1005:14
[task 2019-05-20T21:52:55.087Z] 21:52:55 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:803:59
[task 2019-05-20T21:52:55.088Z] 21:52:55 INFO - Leaving test bound test
[task 2019-05-20T21:52:55.089Z] 21:52:55 INFO - GECKO(1969) | MP change from omgsecret! to
[task 2019-05-20T21:52:55.089Z] 21:52:55 INFO - GECKO(1969) | MEMORY STAT | vsize 20974938MB | residentFast 1016MB
Assignee | ||
Updated•5 years ago
|
Comment 13•5 years ago
|
||
Comment 14•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d84f90dcd584
https://hg.mozilla.org/mozilla-central/rev/9dbb7bb20ca3
https://hg.mozilla.org/mozilla-central/rev/1e40a8e7a404
https://hg.mozilla.org/mozilla-central/rev/4ff5f1d8f9c4
https://hg.mozilla.org/mozilla-central/rev/8518f578b163
Comment 15•5 years ago
|
||
Verified - fixed on latest Nightly on Windows 10 and Mac OS 10.13. and Ubuntu 18.04.
- Master Password is requested after reaching about: logins
- Dismissing the master password modal will trigger the yellow notification bar (along with the "Log in" and "X" button)
- There are no entries displayed if the master password was not inputted
- If the correct master password is applied, the entries will become visible
Updated•5 years ago
|
Updated•5 years ago
|
Description
•