New issue
Advanced search Search tips

Issue 666340 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 3
Type: Feature

Blocked on:
issue 690061
issue 690920

Blocking:
issue 400674



Sign in to add a comment

Implement PSL matched credentials for the CM API

Project Member Reported by vasi...@chromium.org, Nov 17 2016

Issue description

PSL-matched credentials are used for autofill. They also should be used for the account chooser.

The doc: https://docs.google.com/a/google.com/document/d/1rr9m8QlmTyYU-tnfewsyblJoWAapIl2fFT3d6Ek2b_4/edit?usp=sharing
 
Labels: OS-Android OS-Chrome OS-Linux OS-Mac OS-Windows

Comment 2 by battre@chromium.org, Nov 18 2016

Cc: ssoneff@google.com
Project Member

Comment 3 by bugdroid1@chromium.org, Nov 22 2016

Project Member

Comment 4 by bugdroid1@chromium.org, Nov 23 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/abcf35aa714af18959364b626d5929975768f66a

commit abcf35aa714af18959364b626d5929975768f66a
Author: vasilii <vasilii@chromium.org>
Date: Wed Nov 23 11:46:36 2016

Refactor CredentialManagerImpl::Get. It should use PasswordStore::GetLogins().

The PSL matches are filtered out.
The decision to filter the Android federated credentials in PasswordStore was taken in https://codereview.chromium.org/1385563007. It was wrong for the long term.

BUG= 666340 

Review-Url: https://codereview.chromium.org/2517993004
Cr-Commit-Position: refs/heads/master@{#434147}

[modify] https://crrev.com/abcf35aa714af18959364b626d5929975768f66a/components/password_manager/content/browser/credential_manager_impl.cc
[modify] https://crrev.com/abcf35aa714af18959364b626d5929975768f66a/components/password_manager/content/browser/credential_manager_impl.h
[modify] https://crrev.com/abcf35aa714af18959364b626d5929975768f66a/components/password_manager/content/browser/credential_manager_impl_unittest.cc
[modify] https://crrev.com/abcf35aa714af18959364b626d5929975768f66a/components/password_manager/core/browser/credential_manager_pending_request_task.cc
[modify] https://crrev.com/abcf35aa714af18959364b626d5929975768f66a/components/password_manager/core/browser/credential_manager_pending_request_task.h
[modify] https://crrev.com/abcf35aa714af18959364b626d5929975768f66a/components/password_manager/core/browser/form_fetcher_impl_unittest.cc
[modify] https://crrev.com/abcf35aa714af18959364b626d5929975768f66a/components/password_manager/core/browser/password_store.cc
[modify] https://crrev.com/abcf35aa714af18959364b626d5929975768f66a/components/password_manager/core/browser/password_store.h
[modify] https://crrev.com/abcf35aa714af18959364b626d5929975768f66a/components/password_manager/core/browser/password_store_unittest.cc
[modify] https://crrev.com/abcf35aa714af18959364b626d5929975768f66a/ios/chrome/browser/passwords/credential_manager.h
[modify] https://crrev.com/abcf35aa714af18959364b626d5929975768f66a/ios/chrome/browser/passwords/credential_manager.mm
[modify] https://crrev.com/abcf35aa714af18959364b626d5929975768f66a/ios/chrome/browser/passwords/credential_manager_unittest.mm

Project Member

Comment 6 by bugdroid1@chromium.org, Nov 25 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9fbb8593200ef0defadc83add39b18d01650b41e

commit 9fbb8593200ef0defadc83add39b18d01650b41e
Author: vasilii <vasilii@chromium.org>
Date: Fri Nov 25 15:29:15 2016

Hide PSL matches in the password bubble after the account chooser.

The PSL matches can be shown in the account chooser. The "Manage passwords" bubble can appear after the dialog was dismissed. It should be empty because the PSL matches aren't saved for the current site.

BUG= 666340 

Review-Url: https://codereview.chromium.org/2529093002
Cr-Commit-Position: refs/heads/master@{#434508}

[modify] https://crrev.com/9fbb8593200ef0defadc83add39b18d01650b41e/chrome/browser/ui/passwords/manage_passwords_ui_controller.cc
[modify] https://crrev.com/9fbb8593200ef0defadc83add39b18d01650b41e/chrome/browser/ui/passwords/manage_passwords_ui_controller_unittest.cc
[modify] https://crrev.com/9fbb8593200ef0defadc83add39b18d01650b41e/chrome/browser/ui/views/passwords/manage_password_items_view.cc

Linux
Screenshot from 2016-11-29 15:31:08.png
24.1 KB View Download
Screenshot from 2016-11-29 18:18:34.png
23.0 KB View Download
Android
No_PSL_Match_Android.png
224 KB View Download
PSL_Match_Android.png
225 KB View Download
Android Screenshots for Code Review.
UI_Spec.png
277 KB View Download
LTR_Example.png
216 KB View Download
RTL_Example.png
217 KB View Download
Android Screenshots for Code Review.
Regular_PSL.png
219 KB View Download
Left_Elide.png
252 KB View Download
RTL.png
220 KB View Download
Project Member

Comment 13 by bugdroid1@chromium.org, Dec 16 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/875df60ed3a8b3e1dd89043953b3f8aa00cf70d6

commit 875df60ed3a8b3e1dd89043953b3f8aa00cf70d6
Author: jdoerrie <jdoerrie@chromium.org>
Date: Fri Dec 16 14:08:50 2016

Add Information Tooltip for Public Suffix List Matches

Similarly as done for Desktop this change adds an information tooltip for PSL
matches. This tooltip shows the origin URL when tapped on.

BUG= 666340 
R=bauerb@chromium.org,vasilii@chromium.org
CC=vabr@chromium.org,melandory@chromium.org

Review-Url: https://codereview.chromium.org/2541693004
Cr-Commit-Position: refs/heads/master@{#439098}

[add] https://crrev.com/875df60ed3a8b3e1dd89043953b3f8aa00cf70d6/chrome/android/java/res/drawable/material_tooltip_background.xml
[modify] https://crrev.com/875df60ed3a8b3e1dd89043953b3f8aa00cf70d6/chrome/android/java/res/layout/account_chooser_dialog_item.xml
[add] https://crrev.com/875df60ed3a8b3e1dd89043953b3f8aa00cf70d6/chrome/android/java/res/layout/material_tooltip.xml
[modify] https://crrev.com/875df60ed3a8b3e1dd89043953b3f8aa00cf70d6/chrome/android/java/res/values/dimens.xml
[modify] https://crrev.com/875df60ed3a8b3e1dd89043953b3f8aa00cf70d6/chrome/android/java/src/org/chromium/chrome/browser/password_manager/AccountChooserDialog.java
[modify] https://crrev.com/875df60ed3a8b3e1dd89043953b3f8aa00cf70d6/chrome/android/java/src/org/chromium/chrome/browser/password_manager/Credential.java
[modify] https://crrev.com/875df60ed3a8b3e1dd89043953b3f8aa00cf70d6/chrome/browser/password_manager/credential_android.cc

Project Member

Comment 14 by bugdroid1@chromium.org, Dec 22 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2dc41cfe18693c87dfafcb351975be768919ae06

commit 2dc41cfe18693c87dfafcb351975be768919ae06
Author: vasilii <vasilii@chromium.org>
Date: Thu Dec 22 09:40:52 2016

Fix RTL mode for the account picker on Mac.

The avatar icon should be on the right side in the RTL mode.

BUG= 666340 

Review-Url: https://codereview.chromium.org/2590123004
Cr-Commit-Position: refs/heads/master@{#440371}

[modify] https://crrev.com/2dc41cfe18693c87dfafcb351975be768919ae06/chrome/browser/ui/cocoa/passwords/credential_item_button.mm

Project Member

Comment 16 by bugdroid1@chromium.org, Dec 23 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a1e08bf72eed1cf156d0c549e846c899237dee61

commit a1e08bf72eed1cf156d0c549e846c899237dee61
Author: jdoerrie <jdoerrie@chromium.org>
Date: Fri Dec 23 10:09:14 2016

Suppress save and update bubbles when storing a PSL matched credential

The "PSL credentials for YOLO" design doc suggests suppressing the UI prompt
when the user selects a PSL match in the account chooser. This CL implements
this feature and introduces relevant tests.

BUG= 666340 
R=vabr@chromium.org,vasilii@chromium.org

Review-Url: https://codereview.chromium.org/2598003002
Cr-Commit-Position: refs/heads/master@{#440611}

[modify] https://crrev.com/a1e08bf72eed1cf156d0c549e846c899237dee61/chrome/browser/password_manager/credential_manager_browsertest.cc
[modify] https://crrev.com/a1e08bf72eed1cf156d0c549e846c899237dee61/components/password_manager/content/browser/credential_manager_impl.cc
[modify] https://crrev.com/a1e08bf72eed1cf156d0c549e846c899237dee61/components/password_manager/content/browser/credential_manager_impl_unittest.cc

Mac
Screen Shot 2016-12-23 at 15.03.42.png
26.6 KB View Download
Screen Shot 2016-12-23 at 15.04.59.png
27.8 KB View Download
Project Member

Comment 18 by bugdroid1@chromium.org, Dec 23 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/0e67335f4b7a36e8e64735e6fb1cf81da6e9376e

commit 0e67335f4b7a36e8e64735e6fb1cf81da6e9376e
Author: vasilii <vasilii@chromium.org>
Date: Fri Dec 23 14:47:54 2016

Show an info icon with a tooltip for PSL-matches in the account chooser on Mac.

The screenshots are attached to the bug.

BUG= 666340 

Review-Url: https://codereview.chromium.org/2601613002
Cr-Commit-Position: refs/heads/master@{#440630}

[modify] https://crrev.com/0e67335f4b7a36e8e64735e6fb1cf81da6e9376e/chrome/browser/ui/cocoa/passwords/account_chooser_view_controller.mm
[modify] https://crrev.com/0e67335f4b7a36e8e64735e6fb1cf81da6e9376e/chrome/browser/ui/cocoa/passwords/credential_item_button.mm

TODO: retrieve federated PSL matches from the password store (https://codereview.chromium.org/2606493002)
Cc: jdoerrie@chromium.org
Jan, please take the task from the comment #19. It's the last to do for this issue.
Project Member

Comment 22 by bugdroid1@chromium.org, Jan 27 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/bb90def05df40c3aebf65c5a65c6376baf779f61

commit bb90def05df40c3aebf65c5a65c6376baf779f61
Author: jdoerrie <jdoerrie@chromium.org>
Date: Fri Jan 27 10:24:20 2017

Implement Federated PSL Matches in Native Backends

In a follow-up to http://crrev.com/2634163002 this change implements the feature
to fetch federated PSL matches in the native backends as well.

BUG= 666340 
R=vasilii@chromium.org

Review-Url: https://codereview.chromium.org/2652243002
Cr-Commit-Position: refs/heads/master@{#446634}

[modify] https://crrev.com/bb90def05df40c3aebf65c5a65c6376baf779f61/chrome/browser/password_manager/native_backend_gnome_x.cc
[modify] https://crrev.com/bb90def05df40c3aebf65c5a65c6376baf779f61/chrome/browser/password_manager/native_backend_gnome_x_unittest.cc
[modify] https://crrev.com/bb90def05df40c3aebf65c5a65c6376baf779f61/chrome/browser/password_manager/native_backend_libsecret.cc
[modify] https://crrev.com/bb90def05df40c3aebf65c5a65c6376baf779f61/chrome/browser/password_manager/native_backend_libsecret_unittest.cc
[modify] https://crrev.com/bb90def05df40c3aebf65c5a65c6376baf779f61/components/password_manager/core/browser/login_database.cc
[modify] https://crrev.com/bb90def05df40c3aebf65c5a65c6376baf779f61/components/password_manager/core/browser/psl_matching_helper.cc
[modify] https://crrev.com/bb90def05df40c3aebf65c5a65c6376baf779f61/components/password_manager/core/browser/psl_matching_helper.h
[modify] https://crrev.com/bb90def05df40c3aebf65c5a65c6376baf779f61/components/password_manager/core/browser/psl_matching_helper_unittest.cc

Labels: M-57 Merge-Request-57
I request merge of r446634 into branch 2987 (M57).

Project Member

Comment 24 by sheriffbot@chromium.org, Jan 27 2017

Labels: -Merge-Request-57 Hotlist-Merge-Approved Merge-Approved-57
Your change meets the bar and is auto-approved for M57. Please go ahead and merge the CL to branch 2987 manually. Please contact milestone owner if you have questions.
Owners: amineer@(clank), cmasso@(bling), ketakid@(cros), govind@(desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 25 by bugdroid1@chromium.org, Jan 27 2017

Labels: -merge-approved-57 merge-merged-2987
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/aac9e7fe87fc45200239196772588dc99b041cdd

commit aac9e7fe87fc45200239196772588dc99b041cdd
Author: Vasilii Sukhanov <vasilii@chromium.org>
Date: Fri Jan 27 15:27:37 2017

Implement Federated PSL Matches in Native Backends

In a follow-up to http://crrev.com/2634163002 this change implements the feature
to fetch federated PSL matches in the native backends as well.

BUG= 666340 
R=vasilii@chromium.org

Review-Url: https://codereview.chromium.org/2652243002
Cr-Commit-Position: refs/heads/master@{#446634}
(cherry picked from commit bb90def05df40c3aebf65c5a65c6376baf779f61)

Review-Url: https://codereview.chromium.org/2658093006 .
Cr-Commit-Position: refs/branch-heads/2987@{#144}
Cr-Branched-From: ad51088c0e8776e8dcd963dbe752c4035ba6dab6-refs/heads/master@{#444943}

[modify] https://crrev.com/aac9e7fe87fc45200239196772588dc99b041cdd/chrome/browser/password_manager/native_backend_gnome_x.cc
[modify] https://crrev.com/aac9e7fe87fc45200239196772588dc99b041cdd/chrome/browser/password_manager/native_backend_gnome_x_unittest.cc
[modify] https://crrev.com/aac9e7fe87fc45200239196772588dc99b041cdd/chrome/browser/password_manager/native_backend_libsecret.cc
[modify] https://crrev.com/aac9e7fe87fc45200239196772588dc99b041cdd/chrome/browser/password_manager/native_backend_libsecret_unittest.cc
[modify] https://crrev.com/aac9e7fe87fc45200239196772588dc99b041cdd/components/password_manager/core/browser/login_database.cc
[modify] https://crrev.com/aac9e7fe87fc45200239196772588dc99b041cdd/components/password_manager/core/browser/psl_matching_helper.cc
[modify] https://crrev.com/aac9e7fe87fc45200239196772588dc99b041cdd/components/password_manager/core/browser/psl_matching_helper.h
[modify] https://crrev.com/aac9e7fe87fc45200239196772588dc99b041cdd/components/password_manager/core/browser/psl_matching_helper_unittest.cc

Blockedon: 690061
Blockedon: 690920
Status: Fixed (was: Assigned)

Sign in to add a comment