Add filtering ids to browser protocol [chromium/src : main]

0 views
Skip to first unread message

Anthony Garant (Gerrit)

unread,
Jul 2, 2024, 12:30:30 PMJul 2
to Andrew Paseltiner, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, apaselti...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org
Attention needed from Andrew Paseltiner

Anthony Garant voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Andrew Paseltiner
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: I8098a7d28f3a8ea34ba23727a57f6b186cd4c708
Gerrit-Change-Number: 5671011
Gerrit-PatchSet: 3
Gerrit-Owner: Anthony Garant <anthon...@chromium.org>
Gerrit-Reviewer: Andrew Paseltiner <apase...@chromium.org>
Gerrit-Reviewer: Anthony Garant <anthon...@chromium.org>
Gerrit-Attention: Andrew Paseltiner <apase...@chromium.org>
Gerrit-Comment-Date: Tue, 02 Jul 2024 16:30:21 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Andrew Paseltiner (Gerrit)

unread,
Jul 2, 2024, 12:36:55 PMJul 2
to Anthony Garant, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, apaselti...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org
Attention needed from Anthony Garant

Andrew Paseltiner added 1 comment

File third_party/blink/public/devtools_protocol/browser_protocol.pdl
Line 10540, Patchset 3 (Latest): number filteringId
Andrew Paseltiner . unresolved

IMO we should add a test case that exercises a large value, as I'm skeptical that `number` works here. See, for example, the use of `UnsignedInt64AsBase10 data` field below.

Open in Gerrit

Related details

Attention is currently required from:
  • Anthony Garant
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: I8098a7d28f3a8ea34ba23727a57f6b186cd4c708
    Gerrit-Change-Number: 5671011
    Gerrit-PatchSet: 3
    Gerrit-Owner: Anthony Garant <anthon...@chromium.org>
    Gerrit-Reviewer: Andrew Paseltiner <apase...@chromium.org>
    Gerrit-Reviewer: Anthony Garant <anthon...@chromium.org>
    Gerrit-Attention: Anthony Garant <anthon...@chromium.org>
    Gerrit-Comment-Date: Tue, 02 Jul 2024 16:36:44 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Anthony Garant (Gerrit)

    unread,
    Jul 2, 2024, 1:43:11 PMJul 2
    to Andrew Paseltiner, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, apaselti...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org
    Attention needed from Andrew Paseltiner

    Anthony Garant voted and added 1 comment

    Votes added by Anthony Garant

    Commit-Queue+1

    1 comment

    File third_party/blink/public/devtools_protocol/browser_protocol.pdl
    Line 10540, Patchset 3: number filteringId
    Andrew Paseltiner . unresolved

    IMO we should add a test case that exercises a large value, as I'm skeptical that `number` works here. See, for example, the use of `UnsignedInt64AsBase10 data` field below.

    Anthony Garant

    By setting the biggest uint64
    18446744073709551615

    I get
    18446744073709552000

    I updated to a string to avoid this. I think that it makes sense given that the value is specified with a string in the header.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Andrew Paseltiner
    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: I8098a7d28f3a8ea34ba23727a57f6b186cd4c708
    Gerrit-Change-Number: 5671011
    Gerrit-PatchSet: 4
    Gerrit-Owner: Anthony Garant <anthon...@chromium.org>
    Gerrit-Reviewer: Andrew Paseltiner <apase...@chromium.org>
    Gerrit-Reviewer: Anthony Garant <anthon...@chromium.org>
    Gerrit-Attention: Andrew Paseltiner <apase...@chromium.org>
    Gerrit-Comment-Date: Tue, 02 Jul 2024 17:43:00 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Andrew Paseltiner <apase...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Andrew Paseltiner (Gerrit)

    unread,
    Jul 2, 2024, 1:45:18 PMJul 2
    to Anthony Garant, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, apaselti...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org
    Attention needed from Anthony Garant

    Andrew Paseltiner added 2 comments

    File third_party/blink/public/devtools_protocol/browser_protocol.pdl
    Line 10540, Patchset 3: number filteringId
    Andrew Paseltiner . resolved

    IMO we should add a test case that exercises a large value, as I'm skeptical that `number` works here. See, for example, the use of `UnsignedInt64AsBase10 data` field below.

    Anthony Garant

    By setting the biggest uint64
    18446744073709551615

    I get
    18446744073709552000

    I updated to a string to avoid this. I think that it makes sense given that the value is specified with a string in the header.

    Andrew Paseltiner

    Acknowledged

    Line 10538, Patchset 4 (Latest): # string instead of integer or number because not all uint64 can be
    # represented by an integer or a number.
    string filteringId
    Andrew Paseltiner . unresolved
    ```suggestion
    UnsignedInt64AsBase10 filteringId
    ```
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Anthony Garant
    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: I8098a7d28f3a8ea34ba23727a57f6b186cd4c708
    Gerrit-Change-Number: 5671011
    Gerrit-PatchSet: 4
    Gerrit-Owner: Anthony Garant <anthon...@chromium.org>
    Gerrit-Reviewer: Andrew Paseltiner <apase...@chromium.org>
    Gerrit-Reviewer: Anthony Garant <anthon...@chromium.org>
    Gerrit-Attention: Anthony Garant <anthon...@chromium.org>
    Gerrit-Comment-Date: Tue, 02 Jul 2024 17:45:05 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Anthony Garant <anthon...@chromium.org>
    Comment-In-Reply-To: Andrew Paseltiner <apase...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Anthony Garant (Gerrit)

    unread,
    Jul 2, 2024, 2:24:32 PMJul 2
    to Andrew Paseltiner, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, apaselti...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org
    Attention needed from Andrew Paseltiner

    Anthony Garant voted and added 1 comment

    Votes added by Anthony Garant

    Commit-Queue+1

    1 comment

    File third_party/blink/public/devtools_protocol/browser_protocol.pdl
    Line 10538, Patchset 4: # string instead of integer or number because not all uint64 can be

    # represented by an integer or a number.
    string filteringId
    Andrew Paseltiner . resolved
    ```suggestion
    UnsignedInt64AsBase10 filteringId
    ```
    Anthony Garant

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Andrew Paseltiner
    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: I8098a7d28f3a8ea34ba23727a57f6b186cd4c708
    Gerrit-Change-Number: 5671011
    Gerrit-PatchSet: 5
    Gerrit-Owner: Anthony Garant <anthon...@chromium.org>
    Gerrit-Reviewer: Andrew Paseltiner <apase...@chromium.org>
    Gerrit-Reviewer: Anthony Garant <anthon...@chromium.org>
    Gerrit-Attention: Andrew Paseltiner <apase...@chromium.org>
    Gerrit-Comment-Date: Tue, 02 Jul 2024 18:24:21 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Andrew Paseltiner (Gerrit)

    unread,
    Jul 2, 2024, 2:25:06 PMJul 2
    to Anthony Garant, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, apaselti...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org
    Attention needed from Anthony Garant

    Andrew Paseltiner voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Anthony Garant
    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: I8098a7d28f3a8ea34ba23727a57f6b186cd4c708
    Gerrit-Change-Number: 5671011
    Gerrit-PatchSet: 5
    Gerrit-Owner: Anthony Garant <anthon...@chromium.org>
    Gerrit-Reviewer: Andrew Paseltiner <apase...@chromium.org>
    Gerrit-Reviewer: Anthony Garant <anthon...@chromium.org>
    Gerrit-Attention: Anthony Garant <anthon...@chromium.org>
    Gerrit-Comment-Date: Tue, 02 Jul 2024 18:24:48 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Anthony Garant (Gerrit)

    unread,
    Jul 8, 2024, 4:56:21 PM (14 days ago) Jul 8
    to Kent Tamura, Andrey Kosyakov, Andrew Paseltiner, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, apaselti...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org
    Attention needed from Andrey Kosyakov

    Anthony Garant removed Kent Tamura from this change

    Deleted Reviewers:
    • Kent Tamura
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Andrey Kosyakov
    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: deleteReviewer
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I8098a7d28f3a8ea34ba23727a57f6b186cd4c708
    Gerrit-Change-Number: 5671011
    Gerrit-PatchSet: 6
    Gerrit-Owner: Anthony Garant <anthon...@chromium.org>
    Gerrit-Reviewer: Andrew Paseltiner <apase...@chromium.org>
    Gerrit-Reviewer: Andrey Kosyakov <ca...@chromium.org>
    Gerrit-Reviewer: Anthony Garant <anthon...@chromium.org>
    Gerrit-Attention: Andrey Kosyakov <ca...@chromium.org>
    satisfied_requirement
    open
    diffy

    Andrey Kosyakov (Gerrit)

    unread,
    Jul 8, 2024, 4:59:26 PM (14 days ago) Jul 8
    to Anthony Garant, Andrew Paseltiner, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, apaselti...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org
    Attention needed from Anthony Garant

    Andrey Kosyakov voted and added 1 comment

    Votes added by Andrey Kosyakov

    Code-Review+1

    1 comment

    Patchset-level comments
    File-level comment, Patchset 6 (Latest):
    Andrey Kosyakov . resolved

    devtools/ lgtm

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Anthony Garant
    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: I8098a7d28f3a8ea34ba23727a57f6b186cd4c708
    Gerrit-Change-Number: 5671011
    Gerrit-PatchSet: 6
    Gerrit-Owner: Anthony Garant <anthon...@chromium.org>
    Gerrit-Reviewer: Andrew Paseltiner <apase...@chromium.org>
    Gerrit-Reviewer: Andrey Kosyakov <ca...@chromium.org>
    Gerrit-Reviewer: Anthony Garant <anthon...@chromium.org>
    Gerrit-Attention: Anthony Garant <anthon...@chromium.org>
    Gerrit-Comment-Date: Mon, 08 Jul 2024 20:59:14 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Anthony Garant (Gerrit)

    unread,
    Jul 8, 2024, 4:59:59 PM (14 days ago) Jul 8
    to Andrey Kosyakov, Andrew Paseltiner, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, apaselti...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org

    Anthony Garant voted Commit-Queue+2

    Commit-Queue+2
    Open in Gerrit

    Related details

    Attention set is empty
    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: I8098a7d28f3a8ea34ba23727a57f6b186cd4c708
    Gerrit-Change-Number: 5671011
    Gerrit-PatchSet: 6
    Gerrit-Owner: Anthony Garant <anthon...@chromium.org>
    Gerrit-Reviewer: Andrew Paseltiner <apase...@chromium.org>
    Gerrit-Reviewer: Andrey Kosyakov <ca...@chromium.org>
    Gerrit-Reviewer: Anthony Garant <anthon...@chromium.org>
    Gerrit-Comment-Date: Mon, 08 Jul 2024 20:59:41 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    Jul 8, 2024, 5:54:54 PM (14 days ago) Jul 8
    to Anthony Garant, Andrey Kosyakov, Andrew Paseltiner, chromium...@chromium.org, devtools...@chromium.org, apaselti...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org

    Chromium LUCI CQ submitted the change

    Change information

    Commit message:
    Add filtering ids to browser protocol

    The information is reported even when filtering IDs is not enabled.

    In that situation, the default values (0 for filtering id and 1 for
    max bytes) are used.
    Bug: 345274918
    Change-Id: I8098a7d28f3a8ea34ba23727a57f6b186cd4c708
    Reviewed-by: Andrew Paseltiner <apase...@chromium.org>
    Reviewed-by: Andrey Kosyakov <ca...@chromium.org>
    Commit-Queue: Anthony Garant <anthon...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1324518}
    Files:
    • M content/browser/devtools/protocol/storage_handler.cc
    • M third_party/blink/public/devtools_protocol/browser_protocol.pdl
    • M third_party/blink/web_tests/http/tests/inspector-protocol/attribution-reporting/trigger-registered-expected.txt
    Change size: S
    Delta: 3 files changed, 10 insertions(+), 2 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Andrey Kosyakov, +1 by Andrew Paseltiner
    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: I8098a7d28f3a8ea34ba23727a57f6b186cd4c708
    Gerrit-Change-Number: 5671011
    Gerrit-PatchSet: 7
    Gerrit-Owner: Anthony Garant <anthon...@chromium.org>
    Gerrit-Reviewer: Andrew Paseltiner <apase...@chromium.org>
    Gerrit-Reviewer: Andrey Kosyakov <ca...@chromium.org>
    Gerrit-Reviewer: Anthony Garant <anthon...@chromium.org>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages