[RFE] Set some passwords in the login manager before browser window loads.

RESOLVED DUPLICATE of bug 568943

Status

Testing
Mozbase
--
enhancement
RESOLVED DUPLICATE of bug 568943
6 years ago
6 years ago

People

(Reporter: Marc-Aurèle DARCHE, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
Usecase:

Some extensions (this is at least is the case of the Fidesfit-client extension) may want to check the presence of a user password (stored in the login manager) at startup (when the browser window loads) and open a mandatory configuration window the user has to fill in.

If this password is programmatically set in the setupModule function, it's already too late, the extension is already loaded and the configuration window will be opened at the beginning of each Mozmill test, which will be very tedious, impractical.

Possible solutions:

One solution is to use the Mozmill "--profile" option with a profile directory containing a specially filled signons.sqlite file, along with its key3.db file, that only contains the needed dummy login+password for the specific tests. This works.

But it isn't really resilient, since it's based on how this information is stored. And so far I've only tested this on Linux (maybe logins + passwords are stored differently for example on Windows leveraging possible builtin secure store there).

So a practical Mozmill enhancement would be to be able to specify a password file (containing login and password pairs), either in JSON or .ini format, as an option to Mozmill.

Thank you
That has already been filed as bug 568943 a while back.
(Reporter)

Comment 2

6 years ago
(In reply to comment #1)
> That has already been filed as bug 568943 a while back.

Yes kind of. But this new ticket is really more focused and with a usecase.
The use case is clear since the beginning of bug 568943. I made a comment over there. So please let us focus on the initial bug request.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 568943
You need to log in before you can comment on or make changes to this bug.