Favor heuristics over UNKNOWN_TYPE server prediction for loyalty cards. [chromium/src : main]

0 views
Skip to first unread message

Piotr Wrótniak (Gerrit)

unread,
Jun 12, 2025, 9:16:21 AM6/12/25
to Norge Vizcay, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org, rouslan+au...@chromium.org
Attention needed from Norge Vizcay

Piotr Wrótniak voted

Auto-Submit+1
Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Norge Vizcay
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I81684b31656a424b48e355f0ae647ea5f365c6e6
Gerrit-Change-Number: 6641216
Gerrit-PatchSet: 4
Gerrit-Owner: Piotr Wrótniak <piotrw...@google.com>
Gerrit-Reviewer: Norge Vizcay <viz...@google.com>
Gerrit-Reviewer: Piotr Wrótniak <piotrw...@google.com>
Gerrit-Attention: Norge Vizcay <viz...@google.com>
Gerrit-Comment-Date: Thu, 12 Jun 2025 13:16:08 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Norge Vizcay (Gerrit)

unread,
Jun 13, 2025, 3:54:56 AM6/13/25
to Piotr Wrótniak, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org, rouslan+au...@chromium.org
Attention needed from Piotr Wrótniak

Norge Vizcay voted and added 2 comments

Votes added by Norge Vizcay

Code-Review+1
Commit-Queue+2

2 comments

Patchset-level comments
File-level comment, Patchset 6 (Latest):
Norge Vizcay . resolved

Great. Thanks!

File components/autofill/core/browser/autofill_field.cc
Line 549, Patchset 2: believe_server =
believe_server && (heuristic_type_local != LOYALTY_MEMBERSHIP_ID);
Norge Vizcay . resolved

Will this override all server predictions? Or just those where the server type is unknown? I am not entirely sure we want to override **all** server predictions.

Piotr Wrótniak

I'd guess that we're confident with regexps like `Loyalty card` enough (and so similarly 5 fields above override all server predictions) but sure - changed.

Norge Vizcay

I am, but this would interfere with email server predictions on "email or loyalty card", which we want to avoid. I expect that most loyalty card-only fields have an UNKNOWN server prediction.

Open in Gerrit

Related details

Attention is currently required from:
  • Piotr Wrótniak
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I81684b31656a424b48e355f0ae647ea5f365c6e6
Gerrit-Change-Number: 6641216
Gerrit-PatchSet: 6
Gerrit-Owner: Piotr Wrótniak <piotrw...@google.com>
Gerrit-Reviewer: Norge Vizcay <viz...@google.com>
Gerrit-Reviewer: Piotr Wrótniak <piotrw...@google.com>
Gerrit-Attention: Piotr Wrótniak <piotrw...@google.com>
Gerrit-Comment-Date: Fri, 13 Jun 2025 07:54:43 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Norge Vizcay <viz...@google.com>
Comment-In-Reply-To: Piotr Wrótniak <piotrw...@google.com>
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
Jun 13, 2025, 4:01:05 AM6/13/25
to Piotr Wrótniak, Norge Vizcay, chromium...@chromium.org, browser-comp...@chromium.org, rouslan+au...@chromium.org

Chromium LUCI CQ submitted the change

Change information

Commit message:
Favor heuristics over UNKNOWN_TYPE server prediction for loyalty cards.

Screenshots with fix:
- https://screenshot.googleplex.com/4FNr3fC3hFHstKB
- https://screenshot.googleplex.com/873482m7VjsqeRA
Bug: 424378427
Change-Id: I81684b31656a424b48e355f0ae647ea5f365c6e6
Reviewed-by: Norge Vizcay <viz...@google.com>
Auto-Submit: Piotr Wrótniak <piotrw...@google.com>
Commit-Queue: Norge Vizcay <viz...@google.com>
Cr-Commit-Position: refs/heads/main@{#1473410}
Files:
  • M components/autofill/core/browser/autofill_field.cc
  • M components/autofill/core/browser/autofill_field_unittest.cc
Change size: S
Delta: 2 files changed, 24 insertions(+), 0 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Norge Vizcay
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I81684b31656a424b48e355f0ae647ea5f365c6e6
Gerrit-Change-Number: 6641216
Gerrit-PatchSet: 7
Gerrit-Owner: Piotr Wrótniak <piotrw...@google.com>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Norge Vizcay <viz...@google.com>
Gerrit-Reviewer: Piotr Wrótniak <piotrw...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages