Add missing blink-side features to plane-detection API [chromium/src : main]

0 views
Skip to first unread message

Alexander Cooper (Gerrit)

unread,
Dec 11, 2025, 12:49:27 PM (5 days ago) Dec 11
to Brandon Jones, Chromium LUCI CQ, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-v...@chromium.org, jmedle...@chromium.org
Attention needed from Brandon Jones

Alexander Cooper voted and added 1 comment

Votes added by Alexander Cooper

Auto-Submit+1
Commit-Queue+1

1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Alexander Cooper . resolved

Brandon PTAL

Open in Gerrit

Related details

Attention is currently required from:
  • Brandon Jones
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement 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: I77f02a4d19b629786a3d01870af0b1a541c3b65c
Gerrit-Change-Number: 7248998
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Cooper <alco...@chromium.org>
Gerrit-Reviewer: Alexander Cooper <alco...@chromium.org>
Gerrit-Reviewer: Brandon Jones <baj...@chromium.org>
Gerrit-Attention: Brandon Jones <baj...@chromium.org>
Gerrit-Comment-Date: Thu, 11 Dec 2025 17:49:16 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

AI Code Reviewer (Gerrit)

unread,
Dec 11, 2025, 12:52:10 PM (5 days ago) Dec 11
to Alexander Cooper, Brandon Jones, Chromium LUCI CQ, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-v...@chromium.org, jmedle...@chromium.org
Attention needed from Brandon Jones

AI Code Reviewer added 2 comments

File third_party/blink/renderer/modules/xr/xr_session.h
Line 681, Patchset 1 (Latest): bool initiated_room_capture_ = false;
AI Code Reviewer . unresolved

nit: Precede boolean values with words like “is” and “did”. Consider renaming `initiated_room_capture_` to `did_initiate_room_capture_` or `has_initiated_room_capture_` to clearly indicate it is a boolean state. (Blink Style Guide: Naming - Precede boolean values with words like “is” and “did”)

To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason


_This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
_AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
_[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_

File third_party/blink/renderer/modules/xr/xr_session.cc
Line 2044, Patchset 1 (Latest): StrCat({kFeatureNotSupportedBySessionPrefix,
AI Code Reviewer . unresolved

Blink Style Guide: Prefer blink:: types over STL and base types. `base::StrCat` produces `std::string`. Please use `WTF::String` concatenation (e.g. `operator+` or `StringBuilder`) to avoid unnecessary type conversions.

To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
**Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason


_This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
_AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
_[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_

Open in Gerrit

Related details

Attention is currently required from:
  • Brandon Jones
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement 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: I77f02a4d19b629786a3d01870af0b1a541c3b65c
    Gerrit-Change-Number: 7248998
    Gerrit-PatchSet: 1
    Gerrit-Owner: Alexander Cooper <alco...@chromium.org>
    Gerrit-Reviewer: Alexander Cooper <alco...@chromium.org>
    Gerrit-Reviewer: Brandon Jones <baj...@chromium.org>
    Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
    Gerrit-Attention: Brandon Jones <baj...@chromium.org>
    Gerrit-Comment-Date: Thu, 11 Dec 2025 17:52:04 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Alexander Cooper (Gerrit)

    unread,
    Dec 11, 2025, 1:48:28 PM (5 days ago) Dec 11
    to AI Code Reviewer, Brandon Jones, Chromium LUCI CQ, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-v...@chromium.org, jmedle...@chromium.org
    Attention needed from Brandon Jones

    Alexander Cooper voted and added 2 comments

    Votes added by Alexander Cooper

    Auto-Submit+1

    2 comments

    File third_party/blink/renderer/modules/xr/xr_session.h
    Line 681, Patchset 1: bool initiated_room_capture_ = false;
    AI Code Reviewer . resolved

    nit: Precede boolean values with words like “is” and “did”. Consider renaming `initiated_room_capture_` to `did_initiate_room_capture_` or `has_initiated_room_capture_` to clearly indicate it is a boolean state. (Blink Style Guide: Naming - Precede boolean values with words like “is” and “did”)

    To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
    **Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason


    _This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
    _AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
    _[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_

    Alexander Cooper

    Done

    File third_party/blink/renderer/modules/xr/xr_session.cc
    Line 2044, Patchset 1: StrCat({kFeatureNotSupportedBySessionPrefix,
    AI Code Reviewer . resolved

    Blink Style Guide: Prefer blink:: types over STL and base types. `base::StrCat` produces `std::string`. Please use `WTF::String` concatenation (e.g. `operator+` or `StringBuilder`) to avoid unnecessary type conversions.

    To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options:
    **Done** | **OK But Won't Fix**: reason | **Later**: b/<bug_id> | **Invalid:** reason


    _This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent)._
    _AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve._
    _[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_

    Alexander Cooper

    Invalid: There actually *is* a WTF::StrCat, which is what intellisense informs me this is using.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Brandon Jones
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement 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: I77f02a4d19b629786a3d01870af0b1a541c3b65c
      Gerrit-Change-Number: 7248998
      Gerrit-PatchSet: 2
      Gerrit-Owner: Alexander Cooper <alco...@chromium.org>
      Gerrit-Reviewer: Alexander Cooper <alco...@chromium.org>
      Gerrit-Reviewer: Brandon Jones <baj...@chromium.org>
      Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
      Gerrit-Attention: Brandon Jones <baj...@chromium.org>
      Gerrit-Comment-Date: Thu, 11 Dec 2025 18:48:18 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Brandon Jones (Gerrit)

      unread,
      Dec 11, 2025, 2:18:16 PM (5 days ago) Dec 11
      to Alexander Cooper, AI Code Reviewer, Chromium LUCI CQ, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-v...@chromium.org, jmedle...@chromium.org
      Attention needed from Alexander Cooper

      Brandon Jones voted

      Code-Review+1
      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Alexander Cooper
      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: I77f02a4d19b629786a3d01870af0b1a541c3b65c
        Gerrit-Change-Number: 7248998
        Gerrit-PatchSet: 2
        Gerrit-Owner: Alexander Cooper <alco...@chromium.org>
        Gerrit-Reviewer: Alexander Cooper <alco...@chromium.org>
        Gerrit-Reviewer: Brandon Jones <baj...@chromium.org>
        Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
        Gerrit-Attention: Alexander Cooper <alco...@chromium.org>
        Gerrit-Comment-Date: Thu, 11 Dec 2025 19:18:05 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Blink W3C Test Autoroller (Gerrit)

        unread,
        Dec 11, 2025, 2:31:25 PM (5 days ago) Dec 11
        to Alexander Cooper, Brandon Jones, AI Code Reviewer, Chromium LUCI CQ, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-v...@chromium.org, jmedle...@chromium.org
        Attention needed from Alexander Cooper

        Message from Blink W3C Test Autoroller

        Exportable changes to web-platform-tests were detected in this CL and a pull request in the upstream repo has been made: https://github.com/web-platform-tests/wpt/pull/56689.

        When this CL lands, the bot will automatically merge the PR on GitHub if the required GitHub checks pass; otherwise, ecosystem-infra@ team will triage the failures and may contact you.

        WPT Export docs:
        https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md#Automatic-export-process

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Alexander Cooper
        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: I77f02a4d19b629786a3d01870af0b1a541c3b65c
        Gerrit-Change-Number: 7248998
        Gerrit-PatchSet: 2
        Gerrit-Owner: Alexander Cooper <alco...@chromium.org>
        Gerrit-Reviewer: Alexander Cooper <alco...@chromium.org>
        Gerrit-Reviewer: Brandon Jones <baj...@chromium.org>
        Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
        Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
        Gerrit-Attention: Alexander Cooper <alco...@chromium.org>
        Gerrit-Comment-Date: Thu, 11 Dec 2025 19:31:12 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: No
        satisfied_requirement
        open
        diffy

        Chromium LUCI CQ (Gerrit)

        unread,
        Dec 11, 2025, 3:45:05 PM (5 days ago) Dec 11
        to Alexander Cooper, Blink W3C Test Autoroller, Brandon Jones, AI Code Reviewer, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-v...@chromium.org, jmedle...@chromium.org

        Chromium LUCI CQ submitted the change

        Change information

        Commit message:
        Add missing blink-side features to plane-detection API

        Two features have been added to the plane-detection spec since we last
        did work on it. Namely these are the `semanticLabel` attribute and the
        `initiateRoomCapture` method. This adds the implementation for both of
        those, with `semanticLabel` returning an empty string as allowed by the
        spec for an "unknown" label, and with `initiateRoomCapture` doing the
        appropriate checks before resulting in a successful no-op, as none of
        our runtimes have the ability to request room capture explicitly, again
        as allowed by spec.
        Bug: 394636076
        Change-Id: I77f02a4d19b629786a3d01870af0b1a541c3b65c
        Commit-Queue: Alexander Cooper <alco...@chromium.org>
        Auto-Submit: Alexander Cooper <alco...@chromium.org>
        Reviewed-by: Brandon Jones <baj...@chromium.org>
        Commit-Queue: Brandon Jones <baj...@chromium.org>
        Cr-Commit-Position: refs/heads/main@{#1557631}
        Files:
        • M third_party/blink/renderer/modules/xr/xr_plane.cc
        • M third_party/blink/renderer/modules/xr/xr_plane.h
        • M third_party/blink/renderer/modules/xr/xr_plane.idl
        • M third_party/blink/renderer/modules/xr/xr_session.cc
        • M third_party/blink/renderer/modules/xr/xr_session.h
        • M third_party/blink/renderer/modules/xr/xr_session.idl
        • A third_party/blink/web_tests/external/wpt/webxr/plane-detection/META.yml
        • A third_party/blink/web_tests/external/wpt/webxr/plane-detection/WEB_FEATURES.yml
        • A third_party/blink/web_tests/external/wpt/webxr/plane-detection/idlharness.https.window.js
        • M third_party/blink/web_tests/webexposed/global-interface-listing-expected.txt
        Change size: M
        Delta: 10 files changed, 63 insertions(+), 0 deletions(-)
        Branch: refs/heads/main
        Submit Requirements:
        • requirement satisfiedCode-Review: +1 by Brandon Jones
        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: I77f02a4d19b629786a3d01870af0b1a541c3b65c
        Gerrit-Change-Number: 7248998
        Gerrit-PatchSet: 3
        Gerrit-Owner: Alexander Cooper <alco...@chromium.org>
        Gerrit-Reviewer: Alexander Cooper <alco...@chromium.org>
        Gerrit-Reviewer: Brandon Jones <baj...@chromium.org>
        Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
        Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
        Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
        open
        diffy
        satisfied_requirement

        Blink W3C Test Autoroller (Gerrit)

        unread,
        Dec 11, 2025, 5:39:32 PM (5 days ago) Dec 11
        to Chromium LUCI CQ, Alexander Cooper, Brandon Jones, AI Code Reviewer, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, feature-v...@chromium.org, jmedle...@chromium.org

        Message from Blink W3C Test Autoroller

        The WPT PR for this CL has been merged upstream! https://github.com/web-platform-tests/wpt/pull/56689

        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: I77f02a4d19b629786a3d01870af0b1a541c3b65c
        Gerrit-Change-Number: 7248998
        Gerrit-PatchSet: 3
        Gerrit-Owner: Alexander Cooper <alco...@chromium.org>
        Gerrit-Reviewer: Alexander Cooper <alco...@chromium.org>
        Gerrit-Reviewer: Brandon Jones <baj...@chromium.org>
        Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
        Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
        Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
        Gerrit-Comment-Date: Thu, 11 Dec 2025 22:39:26 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: No
        satisfied_requirement
        open
        diffy
        Reply all
        Reply to author
        Forward
        0 new messages