Use heuristic predictions over server for loyalty cards. [chromium/src : main]

0 views
Skip to first unread message

Piotr Wrótniak (Gerrit)

unread,
Jun 12, 2025, 6:09:46 AM6/12/25
to Norge Vizcay, chromium...@chromium.org, browser-comp...@chromium.org, rouslan+au...@chromium.org
Attention needed from Norge Vizcay

Piotr Wrótniak voted Auto-Submit+1

Auto-Submit+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: 1
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 10:09:32 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Norge Vizcay (Gerrit)

unread,
Jun 12, 2025, 6:25:17 AM6/12/25
to Piotr Wrótniak, chromium...@chromium.org, browser-comp...@chromium.org, rouslan+au...@chromium.org
Attention needed from Piotr Wrótniak

Norge Vizcay added 2 comments

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Norge Vizcay . unresolved

Should we add some tests?

Commit Message
Line 12, Patchset 1 (Latest):
Norge Vizcay . unresolved

Can you create a card for american airlines and show how it's displayed? Chrome should display the matching UI.

Open in Gerrit

Related details

Attention is currently required from:
  • Piotr Wrótniak
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: 1
    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: Thu, 12 Jun 2025 10:25:02 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Piotr Wrótniak (Gerrit)

    unread,
    Jun 12, 2025, 7:39:49 AM6/12/25
    to Norge Vizcay, chromium...@chromium.org, browser-comp...@chromium.org, rouslan+au...@chromium.org
    Attention needed from Norge Vizcay

    Piotr Wrótniak voted and added 2 comments

    Votes added by Piotr Wrótniak

    Auto-Submit+1

    2 comments

    Patchset-level comments
    File-level comment, Patchset 1:
    Norge Vizcay . resolved

    Should we add some tests?

    Piotr Wrótniak

    Noone did that before I think looking at couple other CLs but added.

    Commit Message
    Line 12, Patchset 1:
    Norge Vizcay . resolved

    Can you create a card for american airlines and show how it's displayed? Chrome should display the matching UI.

    Piotr Wrótniak

    It doesn't work as the merchant domains are empty: https://screenshot.googleplex.com/8Kwd6wVqDvfbF3z looking into whether we have a bug or it doesn't come at all, but this is not blocking this.

    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: 2
    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 11:39:33 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Norge Vizcay <viz...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Norge Vizcay (Gerrit)

    unread,
    Jun 12, 2025, 8:58:20 AM6/12/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

    Code-Review+1
    Commit-Queue+2
    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: 2
    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: Thu, 12 Jun 2025 12:58:04 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Norge Vizcay (Gerrit)

    unread,
    Jun 12, 2025, 8:59:31 AM6/12/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

    Code-Review+0
    Commit-Queue+0
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Piotr Wrótniak
    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: 2
    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: Thu, 12 Jun 2025 12:59:19 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Norge Vizcay (Gerrit)

    unread,
    Jun 12, 2025, 9:02:26 AM6/12/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 added 1 comment

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

    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.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Piotr Wrótniak
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      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: 2
      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: Thu, 12 Jun 2025 13:02:08 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Piotr Wrótniak (Gerrit)

      unread,
      Jun 12, 2025, 9:11:35 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 and added 1 comment

      Votes added by Piotr Wrótniak

      Auto-Submit+1

      1 comment

      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.

      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: 3
      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:11:19 +0000
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Piotr Wrótniak (Gerrit)

      unread,
      Jun 12, 2025, 9:12:59 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+0

      Auto-Submit+0
      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:12:48 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy
      Reply all
      Reply to author
      Forward
      0 new messages