Closed Bug 1615685 Opened 4 years ago Closed 4 years ago

CFR Trigger: When a password is updated via the doorhanger

Categories

(Firefox :: Messaging System, enhancement, P2)

Desktop
All
enhancement

Tracking

()

VERIFIED FIXED
Firefox 77
Tracking Status
firefox76 --- verified
firefox77 --- verified

People

(Reporter: MattN, Assigned: MattN)

References

Details

(Whiteboard: [passwords:capture-UI])

Attachments

(1 file)

Bug 1570372 added the newSavedLogin CFR trigger for when a new password is saved via a doorhanger. Now we want a similar trigger but for when a user updates a password via the doorhanger. This will also handle usernames additions after pwgen auto-saving.

We should be able to add a new LoginStats:LoginUpdateSaved observer notification in an else here and listen for it like we did in bug 1570372. We should add a test as well.

trigger.id: updatedSavedLogin

Blocks: 1615690

Reminder to add the following to the save and update recipes on the server:

icon_class: "cfr-doorhanger-large-icon",

https://phabricator.services.mozilla.com/D65034#inline-392559

Attachment #9130296 - Attachment description: Bug 1615685 - Trigger Sync CFR when a non-FxA user updates a saved password from doorhanger r?MattN → Bug 1615685 - Trigger Sync CFR when a non-FxA user updates a saved password from doorhanger r=andreio
Assignee: mcrawford → MattN+bmo
Pushed by aoprea@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c256f63b05ef
Trigger Sync CFR when a non-FxA user updates a saved password from doorhanger r=andreio
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 77

Comment on attachment 9130296 [details]
Bug 1615685 - Trigger Sync CFR when a non-FxA user updates a saved password from doorhanger r=andreio

Beta/Release Uplift Approval Request

  • User impact if declined: Users won't be offered Sync after updating a password (which includes after password generation). We are promoting password manager improvements in Fx76 so this aligns with that push.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): New trigger for CFR that can be remotely enabled or disabled and re-uses a lot of existing code for the login save CFR
  • String changes made/needed: None
Attachment #9130296 - Flags: approval-mozilla-beta?

I have verified that the “SAVE_LOGIN_72” CFR message is successfully displayed after a password was updated from the doorhanger.
Verified using the latest Firefox Nightly (77.0a1 Build ID - 20200408033650) installed on Windows 10 x64, Mac 10.15.4 and Ubuntu 18.04 x64.

Status: RESOLVED → VERIFIED

Comment on attachment 9130296 [details]
Bug 1615685 - Trigger Sync CFR when a non-FxA user updates a saved password from doorhanger r=andreio

Approved for 76.0b3.

Attachment #9130296 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

(In reply to Marius Coman [:mcoman], Ecosystem QA from comment #6)

I have verified that the “SAVE_LOGIN_72” CFR message is successfully displayed after a password was updated from the doorhanger.

I'm not sure if the verification was correct since SAVE_LOGIN_72 is for the login save doorhanger and this bug was about adding a new UPDATE_LOGIN CFR for the login update doorhanger. That new CFR was deployed in bug 1615690.

Flags: qe-verify+
QA Whiteboard: [qa-triaged]

(In reply to Matthew N. [:MattN] (PM me if request are blocking you) from comment #8)

(In reply to Marius Coman [:mcoman], Ecosystem QA from comment #6)

I have verified that the “SAVE_LOGIN_72” CFR message is successfully displayed after a password was updated from the doorhanger.

I'm not sure if the verification was correct since SAVE_LOGIN_72 is for the login save doorhanger and this bug was about adding a new UPDATE_LOGIN CFR for the login update doorhanger. That new CFR was deployed in bug 1615690.

I have retested din issue using the following steps:

[Prerequisites]:

[Steps to Reproduce]:

  1. Open the browser with the profile from prerequisites.
  2. Access the websites from the prerequisites.
  3. Go to the password field and enter a different password from the one from the prerequisites.
  4. Click the “Update” button from the “Update login” doorhanger.
  5. Observe the right part of the “Address Bar”.

[Actual Results]:

  • The CFR Recommendation button is displayed in the right part of the Address Bar.

[Notes]:

  • If the “Turn on Sync” button from the CFR door hanger is clicked the “UPDATE_LOGIN” message from the “about:newtab#devtools” page is blocked.
  • Tested using the latest Firefox Nightly (77.0a1 Build ID - 20200412214115) and latest Firefox Beta ( 76.0b4 Build ID - 20200412214314) installed on Windows 10 x64, Mac 10.15.4 and Ubuntu 18.04 x64.

Matthew, could you please confirm if the steps from above are correct in order to mark this enhancement as VERIFIED?

Flags: needinfo?(MattN+bmo)

Yes, that is better.

Flags: needinfo?(MattN+bmo)

Thanks, Matthew! Based on comment 10 I am changing the status of this enhancement to VERIFIED.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: