Remove Attribution Reporting API code in the Blink renderer [chromium/src : main]

0 views
Skip to first unread message

Nan Lin (Gerrit)

unread,
Jun 22, 2026, 3:52:58 PM (11 days ago) Jun 22
to Andrew Paseltiner, Chromium LUCI CQ, Raphael Kubo da Costa, Kentaro Hara, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Dirk Schulze, Fredrik Söderquist, Nate Chapin, Stephen Chenney, Yoav Weiss (@Shopify), blink-revie...@chromium.org, apaselti...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dom+...@chromium.org, fmalit...@chromium.org, gavinp...@chromium.org, hiroshig...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, kouhei...@chromium.org, kouhe...@chromium.org, loading-rev...@chromium.org, loading...@chromium.org, pdr+svgw...@chromium.org
Attention needed from Andrew Paseltiner

Nan Lin added 1 comment

Patchset-level comments
File-level comment, Patchset 15 (Latest):
Nan Lin . resolved

Hi Andrew, could you PTAL, thanks!

Open in Gerrit

Related details

Attention is currently required from:
  • Andrew Paseltiner
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
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: Ifb499a1d5c03ba12f7bbc9711b7a07bf857e0029
Gerrit-Change-Number: 7957261
Gerrit-PatchSet: 15
Gerrit-Owner: Nan Lin <lin...@chromium.org>
Gerrit-Reviewer: Andrew Paseltiner <apase...@chromium.org>
Gerrit-Reviewer: Nan Lin <lin...@chromium.org>
Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
Gerrit-CC: Fredrik Söderquist <f...@opera.com>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Nate Chapin <jap...@chromium.org>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-CC: Stephen Chenney <sche...@chromium.org>
Gerrit-CC: Yoav Weiss (@Shopify) <yoav...@chromium.org>
Gerrit-Attention: Andrew Paseltiner <apase...@chromium.org>
Gerrit-Comment-Date: Mon, 22 Jun 2026 19:52:49 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Andrew Paseltiner (Gerrit)

unread,
Jun 22, 2026, 3:59:09 PM (11 days ago) Jun 22
to Nan Lin, Chromium LUCI CQ, Raphael Kubo da Costa, Kentaro Hara, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Dirk Schulze, Fredrik Söderquist, Nate Chapin, Stephen Chenney, Yoav Weiss (@Shopify), blink-revie...@chromium.org, apaselti...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dom+...@chromium.org, fmalit...@chromium.org, gavinp...@chromium.org, hiroshig...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, kouhei...@chromium.org, kouhe...@chromium.org, loading-rev...@chromium.org, loading...@chromium.org, pdr+svgw...@chromium.org
Attention needed from Nan Lin

Andrew Paseltiner added 1 comment

Commit Message
Line 14, Patchset 15 (Latest):- HTML attributes (`attributionsrc`), `window.open` features, and `fetch()` parameters (`attributionReporting`) will be ignored silently.
Andrew Paseltiner . unresolved
Open in Gerrit

Related details

Attention is currently required from:
  • Nan Lin
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    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: Ifb499a1d5c03ba12f7bbc9711b7a07bf857e0029
    Gerrit-Change-Number: 7957261
    Gerrit-PatchSet: 15
    Gerrit-Owner: Nan Lin <lin...@chromium.org>
    Gerrit-Reviewer: Andrew Paseltiner <apase...@chromium.org>
    Gerrit-Reviewer: Nan Lin <lin...@chromium.org>
    Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
    Gerrit-CC: Fredrik Söderquist <f...@opera.com>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-CC: Nate Chapin <jap...@chromium.org>
    Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
    Gerrit-CC: Stephen Chenney <sche...@chromium.org>
    Gerrit-CC: Yoav Weiss (@Shopify) <yoav...@chromium.org>
    Gerrit-Attention: Nan Lin <lin...@chromium.org>
    Gerrit-Comment-Date: Mon, 22 Jun 2026 19:58:54 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Nan Lin (Gerrit)

    unread,
    Jun 22, 2026, 4:02:35 PM (11 days ago) Jun 22
    to Andrew Paseltiner, Chromium LUCI CQ, Raphael Kubo da Costa, Kentaro Hara, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Dirk Schulze, Fredrik Söderquist, Nate Chapin, Stephen Chenney, Yoav Weiss (@Shopify), blink-revie...@chromium.org, apaselti...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dom+...@chromium.org, fmalit...@chromium.org, gavinp...@chromium.org, hiroshig...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, kouhei...@chromium.org, kouhe...@chromium.org, loading-rev...@chromium.org, loading...@chromium.org, pdr+svgw...@chromium.org
    Attention needed from Andrew Paseltiner

    Nan Lin added 1 comment

    Commit Message
    Line 14, Patchset 15:- HTML attributes (`attributionsrc`), `window.open` features, and `fetch()` parameters (`attributionReporting`) will be ignored silently.
    Andrew Paseltiner . resolved
    Nan Lin

    Yes, that's intentional and is to avoid breaking JS code that accesses the attributionsrc attribution (e.g. element.attributionsrc.length). Updated the cl description. Thanks.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Andrew Paseltiner
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedReview-Enforcement
      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: Ifb499a1d5c03ba12f7bbc9711b7a07bf857e0029
      Gerrit-Change-Number: 7957261
      Gerrit-PatchSet: 16
      Gerrit-Owner: Nan Lin <lin...@chromium.org>
      Gerrit-Reviewer: Andrew Paseltiner <apase...@chromium.org>
      Gerrit-Reviewer: Nan Lin <lin...@chromium.org>
      Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
      Gerrit-CC: Fredrik Söderquist <f...@opera.com>
      Gerrit-CC: Kentaro Hara <har...@chromium.org>
      Gerrit-CC: Nate Chapin <jap...@chromium.org>
      Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
      Gerrit-CC: Stephen Chenney <sche...@chromium.org>
      Gerrit-CC: Yoav Weiss (@Shopify) <yoav...@chromium.org>
      Gerrit-Attention: Andrew Paseltiner <apase...@chromium.org>
      Gerrit-Comment-Date: Mon, 22 Jun 2026 20:02:19 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Andrew Paseltiner <apase...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Andrew Paseltiner (Gerrit)

      unread,
      Jun 22, 2026, 4:02:45 PM (11 days ago) Jun 22
      to Nan Lin, Chromium LUCI CQ, Raphael Kubo da Costa, Kentaro Hara, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Dirk Schulze, Fredrik Söderquist, Nate Chapin, Stephen Chenney, Yoav Weiss (@Shopify), blink-revie...@chromium.org, apaselti...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dom+...@chromium.org, fmalit...@chromium.org, gavinp...@chromium.org, hiroshig...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, kouhei...@chromium.org, kouhe...@chromium.org, loading-rev...@chromium.org, loading...@chromium.org, pdr+svgw...@chromium.org
      Attention needed from Nan Lin

      Andrew Paseltiner voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Nan Lin
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement satisfiedReview-Enforcement
        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: Ifb499a1d5c03ba12f7bbc9711b7a07bf857e0029
        Gerrit-Change-Number: 7957261
        Gerrit-PatchSet: 16
        Gerrit-Owner: Nan Lin <lin...@chromium.org>
        Gerrit-Reviewer: Andrew Paseltiner <apase...@chromium.org>
        Gerrit-Reviewer: Nan Lin <lin...@chromium.org>
        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
        Gerrit-CC: Fredrik Söderquist <f...@opera.com>
        Gerrit-CC: Kentaro Hara <har...@chromium.org>
        Gerrit-CC: Nate Chapin <jap...@chromium.org>
        Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
        Gerrit-CC: Stephen Chenney <sche...@chromium.org>
        Gerrit-CC: Yoav Weiss (@Shopify) <yoav...@chromium.org>
        Gerrit-Attention: Nan Lin <lin...@chromium.org>
        Gerrit-Comment-Date: Mon, 22 Jun 2026 20:02:34 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Nan Lin (Gerrit)

        unread,
        Jun 23, 2026, 9:38:41 AM (10 days ago) Jun 23
        to Nate Chapin, Andrew Paseltiner, Chromium LUCI CQ, Raphael Kubo da Costa, Kentaro Hara, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Dirk Schulze, Fredrik Söderquist, Stephen Chenney, Yoav Weiss (@Shopify), blink-revie...@chromium.org, apaselti...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dom+...@chromium.org, fmalit...@chromium.org, gavinp...@chromium.org, hiroshig...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, kouhei...@chromium.org, kouhe...@chromium.org, loading-rev...@chromium.org, loading...@chromium.org, pdr+svgw...@chromium.org
        Attention needed from Nate Chapin

        Nan Lin added 1 comment

        Patchset-level comments
        File-level comment, Patchset 16 (Latest):
        Nan Lin . resolved

        @jap...@chromium.org Could you PTAL at blink changes, thanks!

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Nate Chapin
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement satisfiedReview-Enforcement
        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: Ifb499a1d5c03ba12f7bbc9711b7a07bf857e0029
        Gerrit-Change-Number: 7957261
        Gerrit-PatchSet: 16
        Gerrit-Owner: Nan Lin <lin...@chromium.org>
        Gerrit-Reviewer: Andrew Paseltiner <apase...@chromium.org>
        Gerrit-Reviewer: Nan Lin <lin...@chromium.org>
        Gerrit-Reviewer: Nate Chapin <jap...@chromium.org>
        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
        Gerrit-CC: Fredrik Söderquist <f...@opera.com>
        Gerrit-CC: Kentaro Hara <har...@chromium.org>
        Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
        Gerrit-CC: Stephen Chenney <sche...@chromium.org>
        Gerrit-CC: Yoav Weiss (@Shopify) <yoav...@chromium.org>
        Gerrit-Attention: Nate Chapin <jap...@chromium.org>
        Gerrit-Comment-Date: Tue, 23 Jun 2026 13:38:26 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Nate Chapin (Gerrit)

        unread,
        Jun 23, 2026, 12:19:04 PM (10 days ago) Jun 23
        to Nan Lin, Andrew Paseltiner, Chromium LUCI CQ, Raphael Kubo da Costa, Kentaro Hara, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Dirk Schulze, Fredrik Söderquist, Stephen Chenney, Yoav Weiss (@Shopify), blink-revie...@chromium.org, apaselti...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dom+...@chromium.org, fmalit...@chromium.org, gavinp...@chromium.org, hiroshig...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, kouhei...@chromium.org, kouhe...@chromium.org, loading-rev...@chromium.org, loading...@chromium.org, pdr+svgw...@chromium.org
        Attention needed from Nan Lin

        Nate Chapin voted and added 5 comments

        Votes added by Nate Chapin

        Code-Review+1

        5 comments

        Patchset-level comments
        Nate Chapin . unresolved

        LGTM % a few questions about when additional things are getting deleted.

        Nit: I think this needs another `git cl format` run - there are unnecessary newlines in a several files.

        Commit Message
        Line 24, Patchset 16 (Latest):DO NOT SUBMIT until M152.
        Nate Chapin . unresolved

        Please include a link to the chromestatus or blink-dev thread for this deprecation, for thoroughness 😊

        File third_party/blink/renderer/core/html/html_anchor_element.cc
        Line 450, Patchset 16 (Parent): frame_request.SetImpression(impression);
        Nate Chapin . unresolved

        I think we can remove `FrameLoadRequest::impression_` ... or will that be in a followup?

        File third_party/blink/renderer/core/loader/frame_fetch_context.cc
        Line 995, Patchset 16 (Parent): request.SetAttributionReportingSupport(
        Nate Chapin . unresolved

        When will fields on `ResourceRequest` be removed?

        File third_party/blink/renderer/core/xmlhttprequest/xml_http_request.idl
        Line 64, Patchset 16 (Latest): [RuntimeEnabled=AttributionReporting, SecureContext, MeasureAs=AttributionReportingXhr, DeprecateAs=AttributionReportingAPIAll] void setAttributionReporting(any options);
        Nate Chapin . unresolved

        When will this be removed?

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Nan Lin
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement satisfiedReview-Enforcement
        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: Ifb499a1d5c03ba12f7bbc9711b7a07bf857e0029
        Gerrit-Change-Number: 7957261
        Gerrit-PatchSet: 16
        Gerrit-Owner: Nan Lin <lin...@chromium.org>
        Gerrit-Reviewer: Andrew Paseltiner <apase...@chromium.org>
        Gerrit-Reviewer: Nan Lin <lin...@chromium.org>
        Gerrit-Reviewer: Nate Chapin <jap...@chromium.org>
        Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
        Gerrit-CC: Fredrik Söderquist <f...@opera.com>
        Gerrit-CC: Kentaro Hara <har...@chromium.org>
        Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
        Gerrit-CC: Stephen Chenney <sche...@chromium.org>
        Gerrit-CC: Yoav Weiss (@Shopify) <yoav...@chromium.org>
        Gerrit-Attention: Nan Lin <lin...@chromium.org>
        Gerrit-Comment-Date: Tue, 23 Jun 2026 16:18:46 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Nan Lin (Gerrit)

        unread,
        Jun 23, 2026, 1:08:27 PM (10 days ago) Jun 23
        to Nate Chapin, Andrew Paseltiner, Chromium LUCI CQ, Raphael Kubo da Costa, Kentaro Hara, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, Dirk Schulze, Fredrik Söderquist, Stephen Chenney, Yoav Weiss (@Shopify), blink-revie...@chromium.org, apaselti...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, dom+...@chromium.org, fmalit...@chromium.org, gavinp...@chromium.org, hiroshig...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, kouhei...@chromium.org, kouhe...@chromium.org, loading-rev...@chromium.org, loading...@chromium.org, pdr+svgw...@chromium.org

        Nan Lin added 6 comments

        Patchset-level comments
        File-level comment, Patchset 16:
        Nate Chapin . resolved

        LGTM % a few questions about when additional things are getting deleted.

        Nit: I think this needs another `git cl format` run - there are unnecessary newlines in a several files.

        Nan Lin

        Done

        Commit Message
        Line 24, Patchset 16:DO NOT SUBMIT until M152.
        Nate Chapin . resolved

        Please include a link to the chromestatus or blink-dev thread for this deprecation, for thoroughness 😊

        Nan Lin

        Done

        File third_party/blink/renderer/core/html/html_anchor_element.cc
        Line 450, Patchset 16 (Parent): frame_request.SetImpression(impression);
        Nate Chapin . resolved

        I think we can remove `FrameLoadRequest::impression_` ... or will that be in a followup?

        Nan Lin

        This will be in a follow up. Thanks.

        File third_party/blink/renderer/core/loader/frame_fetch_context.cc
        Line 995, Patchset 16 (Parent): request.SetAttributionReportingSupport(
        Nate Chapin . resolved

        When will fields on `ResourceRequest` be removed?

        Nan Lin

        This will be in a follow up. Thanks.

        File third_party/blink/renderer/core/xmlhttprequest/xml_http_request.idl
        Line 64, Patchset 16: [RuntimeEnabled=AttributionReporting, SecureContext, MeasureAs=AttributionReportingXhr, DeprecateAs=AttributionReportingAPIAll] void setAttributionReporting(any options);
        Nate Chapin . resolved

        When will this be removed?

        Nan Lin

        Heres's the plan mentioned in the blink-dev thread: https://groups.google.com/a/chromium.org/g/blink-dev/c/4K2RRt6VYCQ/m/otZSnBaGBAAJ

        1. M150: Remove all Ads API-related entries from Chrome settings and UI surfaces (e.g., chrome://settings/adPrivacy) via field trial. After this point, all API invocations for field-trial enabled browsers will always reject. Since the API can already be disabled for one of many reasons, scripts must already handle such rejections (or they’re already significantly broken).
        2. M152: Permanently remove the underlying implementation code for the API, and replace it with a lightweight stub API. The stub will remain removable via field trial.
        3. M152 Canary/Beta: Begin a controlled rollout of the stub API removal via a field trial.
        4. M152 Stable: Assuming there are no regressions or breakage after reaching 1% stable, we will request additional approval for full removal at this stage.

        Open in Gerrit

        Related details

        Attention set is empty
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement satisfiedCode-Owners
          • requirement satisfiedCode-Review
          • requirement satisfiedReview-Enforcement
          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: Ifb499a1d5c03ba12f7bbc9711b7a07bf857e0029
          Gerrit-Change-Number: 7957261
          Gerrit-PatchSet: 18
          Gerrit-Owner: Nan Lin <lin...@chromium.org>
          Gerrit-Reviewer: Andrew Paseltiner <apase...@chromium.org>
          Gerrit-Reviewer: Nan Lin <lin...@chromium.org>
          Gerrit-Reviewer: Nate Chapin <jap...@chromium.org>
          Gerrit-CC: Dirk Schulze <dsch...@chromium.org>
          Gerrit-CC: Fredrik Söderquist <f...@opera.com>
          Gerrit-CC: Kentaro Hara <har...@chromium.org>
          Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
          Gerrit-CC: Stephen Chenney <sche...@chromium.org>
          Gerrit-CC: Yoav Weiss (@Shopify) <yoav...@chromium.org>
          Gerrit-Comment-Date: Tue, 23 Jun 2026 17:08:13 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Nate Chapin <jap...@chromium.org>
          satisfied_requirement
          open
          diffy
          Reply all
          Reply to author
          Forward
          0 new messages