Port bug 1569253: Copy passwordManager.xul and the associated JS/CSS files to comm-central
Categories
(Thunderbird :: General, task)
Tracking
(Not tracked)
People
(Reporter: jorgk-bmo, Assigned: Paenglab)
References
Details
Attachments
(2 files, 1 obsolete file)
9.78 KB,
image/png
|
Details | |
35.81 KB,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
Reporter | ||
Comment 1•5 years ago
|
||
Richard, is this something you could take? Let's copy it to comm/ somewhere, like viewSource.xul.
Assignee | ||
Comment 2•5 years ago
|
||
Yes, I can do this.
Matthew, toolkit/components/passwordmgr/content/recipes.json stays in toolkit, correct?
Comment 3•5 years ago
|
||
(In reply to Richard Marti (:Paenglab) from comment #2)
Matthew, toolkit/components/passwordmgr/content/recipes.json stays in toolkit, correct?
Correct. You will want passwordManager.xul, passwordmgr.css, passwordManagerList.ftl, and passwordManager.js along with tests (not sure if they work in TB).
You can also delete the MOZ_BUILD_APP_IS_BROWSER portions of passwordManager.xul and the related code for password import.
Assignee | ||
Comment 4•5 years ago
|
||
(In reply to Jorg K (GMT+2) from comment #1)
Richard, is this something you could take? Let's copy it to comm/ somewhere, like viewSource.xul.
SM doesn't use the passwordManager. I'll copy it to mail/components/preferences. This is where we use it.
Assignee | ||
Comment 5•5 years ago
|
||
This patch copies the PWmanager to our preferences directory. The import part is removed.
I haven't copied any test as I don't know what would work and what changes are needed. This should be done from one of our test expert.
This patch should already work in tree without the toolkit PWmanager removal as except the FTL file all files have small changes that allowed-dupes should be happy.
To make also the FTL file a bit different we could change the "Site" in the list header as we have not only sites in it but also oauth keys.
Reporter | ||
Comment 6•5 years ago
|
||
I suggest to change "Site" to "Server" or "Provider". Can you paste an entry with and oauth key here. I don't have one configured right now, is it oauth://something.gmail.com?
Assignee | ||
Comment 7•5 years ago
|
||
Reporter | ||
Comment 8•5 years ago
|
||
This string "Logins for the following sites are stored on your computer" should also change.
Reporter | ||
Comment 9•5 years ago
|
||
Thanks. Maybe "Provider" is best then. You could ask the UI people.
Assignee | ||
Comment 10•5 years ago
|
||
Alessandro, what do you mean about the comments 5 to 9? What string would fit best?
Assignee | ||
Comment 11•5 years ago
|
||
Started a try to see how the tests pass with our own PW manager https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=3d367a3ff70462b725fe660dcda8a2a03ef1f8f8
Comment 12•5 years ago
|
||
I think I'm with Jorg and "Provider" seems generic enough to encapsulate the various type of strings showed in that column.
Assignee | ||
Comment 13•5 years ago
|
||
Changed all "site" to "provider", also all IDs, function names and strings.
Jörg, what do you think, can we land it and add tests in a new bug?
Reporter | ||
Comment 14•5 years ago
|
||
Comment on attachment 9082061 [details] [diff] [review] 1569113-copy-passwordManager.patch Have you tried it? I get: JavaScript error: about:preferences, line 1: TypeError: gPrivacyPane is undefined And fact, none of the buttons on "Privacy & Security" work. Also, please change the commit message to: Bug 1569113 - Copy passwordManager.xul and associated JS/CSS files to comm-central before removal in bug 1569253. r=jorgk
Reporter | ||
Comment 15•5 years ago
|
||
Damn, doesn't work without the patch either. What's going on?
Reporter | ||
Comment 16•5 years ago
|
||
Comment on attachment 9082061 [details] [diff] [review] 1569113-copy-passwordManager.patch Sorry, as suggested on IRC I cleared out the "preferences" directory here: obj-x86_64-pc-mingw32\dist\bin\chrome\messenger\content\messenger\preferences Now it works. We might as well land it before it rots and take a look at the tests in another bug. I'll fix the commit message.
Assignee | ||
Updated•5 years ago
|
Comment 17•5 years ago
|
||
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/5c59fc2c5f5f
Copy passwordManager.xul and associated JS/CSS files to comm-central before removal in bug 1569253. r=jorgk
Reporter | ||
Updated•5 years ago
|
Description
•