6

Refactor "signon.recipes.remoteRecipesEnabled" pref

 3 years ago
source link: https://bugzilla.mozilla.org/show_bug.cgi?id=1700412
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Details

Currently the remote recipes pref for password manager is "signon.recipes.remoteRecipesEnabled." This is not the convention used for our prefs, the pref should be updated to "signon.recipes.remoteRecipes.enabled".

To help Mozilla out with this bug, here's the steps:

  1. Comment here on the bug that you want to volunteer to help.
    This will tell others that you're working on the next steps.
  2. Download and build the Firefox source code
    • If you have any problems, please ask on
      Element/Matrix
      in the #introduction channel. They're there to help you get started.
    • You can also read the
      Developer Guide,
      which has answers to most development questions.
  3. Start working on this bug.
    • You will need to update the preference in modules/libpref/init/all.js and toolkit/components/passwordmgr/LoginHelper.jsm. Additionally you will need to migrate the old preference using a pattern in the migrateUI function. You must ensure that a user's previous value is not overwritten during this migration.
    • If you have any problems with this bug,
      please comment on this bug and set the needinfo flag for me.
      Also, you can find me and my teammates on the #lockwise-desktop channel on
      Element/Matrix
      most hours of most days.
  4. Build your change with mach build and test your change with
    mach test toolkit/components/passwordmgr/test/ --headless.
    Also check your changes for adherence to our style guidelines by using mach lint
  5. Submit the patch (including an automated test, if applicable) for review.
    Mark me as a reviewer so I'll get an email to come look at your code.
  6. After a series of reviews and changes to your patch,
    I'll mark it for checkin or push it to autoland.
    Your code will soon be shipping to Firefox users worldwide!
  7. ...now you get to think about what kind of bug you'd like to work on next.
    Let me know what you're interested in and I can help you find your next contribution.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK