[WebAudio] Implement AudioContext.playbackStats behind a flag [chromium/src : main]

38 views
Skip to first unread message

Hongchan Choi (Gerrit)

unread,
Feb 3, 2026, 3:56:35 PM (8 days ago) Feb 3
to Fredrik Hernqvist, AI Code Reviewer, Olga Sharonova, Chromium Metrics Reviews, Raphael Kubo da Costa, Kentaro Hara, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, peter+watch...@chromium.org, asvitkine...@chromium.org, kinuko...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, android-web...@chromium.org, ashleynewson+w...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
Attention needed from Fredrik Hernqvist

Hongchan Choi voted and added 1 comment

Votes added by Hongchan Choi

Commit-Queue+1

1 comment

File third_party/blink/renderer/modules/webaudio/audio_playback_stats.h
Line 44, Patchset 27: bool stats_are_from_current_task_ = false;
AI Code Reviewer . resolved

nit: Blink Style Guide: Precede boolean values with words like “is” and “did”. Consider renaming 'stats_are_from_current_task_' to 'are_stats_from_current_task_' to strictly follow the prefix rule.

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)_

Hongchan Choi

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Fredrik Hernqvist
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: I957324965be34a1a1ffddd4964629e782fef8f2e
Gerrit-Change-Number: 7298786
Gerrit-PatchSet: 34
Gerrit-Owner: Hongchan Choi <hong...@chromium.org>
Gerrit-Reviewer: Fredrik Hernqvist <fhern...@google.com>
Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
Gerrit-CC: Olga Sharonova <ol...@google.com>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-Attention: Fredrik Hernqvist <fhern...@google.com>
Gerrit-Comment-Date: Tue, 03 Feb 2026 20:56:26 +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

Hongchan Choi (Gerrit)

unread,
Feb 3, 2026, 5:18:02 PM (8 days ago) Feb 3
to Kent Tamura, Fredrik Hernqvist, AI Code Reviewer, Olga Sharonova, Chromium Metrics Reviews, Raphael Kubo da Costa, Kentaro Hara, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, peter+watch...@chromium.org, asvitkine...@chromium.org, kinuko...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, android-web...@chromium.org, ashleynewson+w...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
Attention needed from Fredrik Hernqvist, Kent Tamura and Michael Wilson

Hongchan Choi added 1 comment

Patchset-level comments
File-level comment, Patchset 34 (Latest):
Hongchan Choi . resolved

PTAL

The intent to ship for this feature is currently under review:
https://groups.google.com/a/chromium.org/g/blink-dev/c/p-IHBp8Nw2Q

This CL is to prepare the shipment in M146, by landing the changes behind the flag and enable it later after the approval.

Open in Gerrit

Related details

Attention is currently required from:
  • Fredrik Hernqvist
  • Kent Tamura
  • Michael Wilson
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: I957324965be34a1a1ffddd4964629e782fef8f2e
Gerrit-Change-Number: 7298786
Gerrit-PatchSet: 34
Gerrit-Owner: Hongchan Choi <hong...@chromium.org>
Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Fredrik Hernqvist <fhern...@google.com>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Olga Sharonova <ol...@google.com>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-Attention: Michael Wilson <mjwi...@chromium.org>
Gerrit-Attention: Fredrik Hernqvist <fhern...@google.com>
Gerrit-Attention: Kent Tamura <tk...@chromium.org>
Gerrit-Comment-Date: Tue, 03 Feb 2026 22:17:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Michael Wilson (Gerrit)

unread,
Feb 3, 2026, 6:14:42 PM (8 days ago) Feb 3
to Hongchan Choi, Kent Tamura, Fredrik Hernqvist, AI Code Reviewer, Olga Sharonova, Chromium Metrics Reviews, Raphael Kubo da Costa, Kentaro Hara, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, peter+watch...@chromium.org, asvitkine...@chromium.org, kinuko...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, android-web...@chromium.org, ashleynewson+w...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
Attention needed from Fredrik Hernqvist, Hongchan Choi and Kent Tamura

Michael Wilson voted and added 3 comments

Votes added by Michael Wilson

Code-Review+1

3 comments

Patchset-level comments
Michael Wilson . resolved

LGTM overall.

File third_party/blink/renderer/modules/webaudio/audio_context.idl
Line 59, Patchset 34 (Latest): [RuntimeEnabled=AudioContextPlayoutStats, MeasureAs=AudioContextPlayoutStats, SameObject] readonly attribute AudioPlayoutStats playoutStats;
Michael Wilson . unresolved

Consider using DeprecateAs instead? (https://chromium.googlesource.com/chromium/src/third_party/+/HEAD/blink/renderer/bindings/IDLExtendedAttributes.md)

```suggestion
[RuntimeEnabled=AudioContextPlayoutStats, DeprecateAs=AudioContextPlayoutStats, SameObject] readonly attribute AudioPlayoutStats playoutStats;
```
File third_party/blink/renderer/modules/webaudio/audio_playback_stats.h
Line 44, Patchset 27: bool stats_are_from_current_task_ = false;
AI Code Reviewer . unresolved

nit: Blink Style Guide: Precede boolean values with words like “is” and “did”. Consider renaming 'stats_are_from_current_task_' to 'are_stats_from_current_task_' to strictly follow the prefix rule.

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)_

Hongchan Choi

Done

Michael Wilson

Nit: this should probably be `is_stats_from_current_task_` because it's referring to the `stats_` variable, not a general collection of statistics abbreviated as stats.

I don't feel strongly about this, so also fine to leave as-is.

Open in Gerrit

Related details

Attention is currently required from:
  • Fredrik Hernqvist
  • Hongchan Choi
  • Kent Tamura
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not 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: I957324965be34a1a1ffddd4964629e782fef8f2e
    Gerrit-Change-Number: 7298786
    Gerrit-PatchSet: 34
    Gerrit-Owner: Hongchan Choi <hong...@chromium.org>
    Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
    Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
    Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
    Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-CC: Fredrik Hernqvist <fhern...@google.com>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-CC: Olga Sharonova <ol...@google.com>
    Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
    Gerrit-Attention: Fredrik Hernqvist <fhern...@google.com>
    Gerrit-Attention: Hongchan Choi <hong...@chromium.org>
    Gerrit-Attention: Kent Tamura <tk...@chromium.org>
    Gerrit-Comment-Date: Tue, 03 Feb 2026 23:14:32 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
    Comment-In-Reply-To: Hongchan Choi <hong...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Hongchan Choi (Gerrit)

    unread,
    Feb 4, 2026, 9:48:26 PM (7 days ago) Feb 4
    to Kent Tamura, Fredrik Hernqvist, AI Code Reviewer, Olga Sharonova, Chromium Metrics Reviews, Raphael Kubo da Costa, Kentaro Hara, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, peter+watch...@chromium.org, asvitkine...@chromium.org, kinuko...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, android-web...@chromium.org, ashleynewson+w...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
    Attention needed from Fredrik Hernqvist, Kent Tamura and Michael Wilson

    Hongchan Choi added 3 comments

    Patchset-level comments
    Hongchan Choi . resolved

    tkent@ PTAL at:

    • r/b/r/p/runtime_enabled_features.json5
    • t/b/web_tests/VirtualTestSuites

    Mainly this CL is the name change of the API that's currently under Origin Trial.

    The I2S is currently under review, so I am trying to land the CL behind the "experimetal" gate.

    File third_party/blink/renderer/modules/webaudio/audio_context.idl
    Line 59, Patchset 34 (Latest): [RuntimeEnabled=AudioContextPlayoutStats, MeasureAs=AudioContextPlayoutStats, SameObject] readonly attribute AudioPlayoutStats playoutStats;
    Michael Wilson . resolved

    Consider using DeprecateAs instead? (https://chromium.googlesource.com/chromium/src/third_party/+/HEAD/blink/renderer/bindings/IDLExtendedAttributes.md)

    ```suggestion
    [RuntimeEnabled=AudioContextPlayoutStats, DeprecateAs=AudioContextPlayoutStats, SameObject] readonly attribute AudioPlayoutStats playoutStats;
    ```
    Hongchan Choi

    Not yet, but in the follow-up CL that enables the Playback API by default.

    Thanks for the suggestion!

    File third_party/blink/renderer/modules/webaudio/audio_playback_stats.h
    Line 44, Patchset 27: bool stats_are_from_current_task_ = false;
    AI Code Reviewer . unresolved

    nit: Blink Style Guide: Precede boolean values with words like “is” and “did”. Consider renaming 'stats_are_from_current_task_' to 'are_stats_from_current_task_' to strictly follow the prefix rule.

    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)_

    Hongchan Choi

    Done

    Michael Wilson

    Nit: this should probably be `is_stats_from_current_task_` because it's referring to the `stats_` variable, not a general collection of statistics abbreviated as stats.

    I don't feel strongly about this, so also fine to leave as-is.

    Hongchan Choi

    I'll include this fix when I rebase this CL later.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Fredrik Hernqvist
    • Kent Tamura
    • Michael Wilson
    Gerrit-Attention: Michael Wilson <mjwi...@chromium.org>
    Gerrit-Attention: Fredrik Hernqvist <fhern...@google.com>
    Gerrit-Attention: Kent Tamura <tk...@chromium.org>
    Gerrit-Comment-Date: Thu, 05 Feb 2026 02:48:16 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Michael Wilson <mjwi...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Kent Tamura (Gerrit)

    unread,
    Feb 4, 2026, 9:52:30 PM (7 days ago) Feb 4
    to Hongchan Choi, Kent Tamura, Fredrik Hernqvist, AI Code Reviewer, Olga Sharonova, Chromium Metrics Reviews, Raphael Kubo da Costa, Kentaro Hara, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, peter+watch...@chromium.org, asvitkine...@chromium.org, kinuko...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, android-web...@chromium.org, ashleynewson+w...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
    Attention needed from Fredrik Hernqvist, Hongchan Choi and Michael Wilson

    Kent Tamura voted and added 1 comment

    Votes added by Kent Tamura

    Code-Review+1

    1 comment

    Patchset-level comments
    Hongchan Choi . resolved

    tkent@ PTAL at:

    • r/b/r/p/runtime_enabled_features.json5
    • t/b/web_tests/VirtualTestSuites

    Mainly this CL is the name change of the API that's currently under Origin Trial.

    The I2S is currently under review, so I am trying to land the CL behind the "experimetal" gate.

    Kent Tamura

    LGTM

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Fredrik Hernqvist
    • Hongchan Choi
    • Michael Wilson
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    Gerrit-Attention: Hongchan Choi <hong...@chromium.org>
    Gerrit-Comment-Date: Thu, 05 Feb 2026 02:51:59 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Hongchan Choi <hong...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Hongchan Choi (Gerrit)

    unread,
    Feb 4, 2026, 11:22:43 PM (6 days ago) Feb 4
    to Kent Tamura, Fredrik Hernqvist, AI Code Reviewer, Olga Sharonova, Chromium Metrics Reviews, Raphael Kubo da Costa, Kentaro Hara, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, peter+watch...@chromium.org, asvitkine...@chromium.org, kinuko...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, android-web...@chromium.org, ashleynewson+w...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
    Attention needed from Fredrik Hernqvist, Kent Tamura and Michael Wilson

    Hongchan Choi added 2 comments

    Patchset-level comments
    File-level comment, Patchset 35 (Latest):
    Hongchan Choi . resolved

    Apologies - renaming variables reset +1s.

    Could you stamp the CL if possible?

    File third_party/blink/renderer/modules/webaudio/audio_playback_stats.h
    Line 44, Patchset 27: bool stats_are_from_current_task_ = false;
    AI Code Reviewer . resolved

    nit: Blink Style Guide: Precede boolean values with words like “is” and “did”. Consider renaming 'stats_are_from_current_task_' to 'are_stats_from_current_task_' to strictly follow the prefix rule.

    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)_

    Hongchan Choi

    Done

    Michael Wilson

    Nit: this should probably be `is_stats_from_current_task_` because it's referring to the `stats_` variable, not a general collection of statistics abbreviated as stats.

    I don't feel strongly about this, so also fine to leave as-is.

    Hongchan Choi

    I'll include this fix when I rebase this CL later.

    Hongchan Choi

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Fredrik Hernqvist
    • Kent Tamura
    • Michael Wilson
    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: I957324965be34a1a1ffddd4964629e782fef8f2e
      Gerrit-Change-Number: 7298786
      Gerrit-PatchSet: 35
      Gerrit-Owner: Hongchan Choi <hong...@chromium.org>
      Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
      Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
      Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
      Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-CC: Fredrik Hernqvist <fhern...@google.com>
      Gerrit-CC: Kentaro Hara <har...@chromium.org>
      Gerrit-CC: Olga Sharonova <ol...@google.com>
      Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
      Gerrit-Attention: Michael Wilson <mjwi...@chromium.org>
      Gerrit-Attention: Fredrik Hernqvist <fhern...@google.com>
      Gerrit-Attention: Kent Tamura <tk...@chromium.org>
      Gerrit-Comment-Date: Thu, 05 Feb 2026 04:22:29 +0000
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Kent Tamura (Gerrit)

      unread,
      Feb 4, 2026, 11:27:53 PM (6 days ago) Feb 4
      to Hongchan Choi, Kent Tamura, Fredrik Hernqvist, AI Code Reviewer, Olga Sharonova, Chromium Metrics Reviews, Raphael Kubo da Costa, Kentaro Hara, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, peter+watch...@chromium.org, asvitkine...@chromium.org, kinuko...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, android-web...@chromium.org, ashleynewson+w...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
      Attention needed from Fredrik Hernqvist, Hongchan Choi and Michael Wilson

      Kent Tamura voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Fredrik Hernqvist
      • Hongchan Choi
      • Michael Wilson
      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: I957324965be34a1a1ffddd4964629e782fef8f2e
        Gerrit-Change-Number: 7298786
        Gerrit-PatchSet: 35
        Gerrit-Owner: Hongchan Choi <hong...@chromium.org>
        Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
        Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
        Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
        Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
        Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
        Gerrit-CC: Fredrik Hernqvist <fhern...@google.com>
        Gerrit-CC: Kentaro Hara <har...@chromium.org>
        Gerrit-CC: Olga Sharonova <ol...@google.com>
        Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
        Gerrit-Attention: Michael Wilson <mjwi...@chromium.org>
        Gerrit-Attention: Fredrik Hernqvist <fhern...@google.com>
        Gerrit-Attention: Hongchan Choi <hong...@chromium.org>
        Gerrit-Comment-Date: Thu, 05 Feb 2026 04:27:32 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Hongchan Choi (Gerrit)

        unread,
        Feb 5, 2026, 12:11:32 AM (6 days ago) Feb 5
        to Kent Tamura, Fredrik Hernqvist, AI Code Reviewer, Olga Sharonova, Chromium Metrics Reviews, Raphael Kubo da Costa, Kentaro Hara, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, peter+watch...@chromium.org, asvitkine...@chromium.org, kinuko...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, android-web...@chromium.org, ashleynewson+w...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
        Attention needed from Fredrik Hernqvist and Michael Wilson

        Hongchan Choi voted Commit-Queue+2

        Commit-Queue+2
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Fredrik Hernqvist
        • Michael Wilson
        Gerrit-Comment-Date: Thu, 05 Feb 2026 05:11:20 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Chromium LUCI CQ (Gerrit)

        unread,
        Feb 5, 2026, 12:24:48 AM (6 days ago) Feb 5
        to Hongchan Choi, Kent Tamura, Fredrik Hernqvist, AI Code Reviewer, Olga Sharonova, Chromium Metrics Reviews, Raphael Kubo da Costa, Kentaro Hara, AyeAye, chromium...@chromium.org, peter+watch...@chromium.org, asvitkine...@chromium.org, kinuko...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, android-web...@chromium.org, ashleynewson+w...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org

        Chromium LUCI CQ submitted the change

        Change information

        Commit message:
        [WebAudio] Implement AudioContext.playbackStats behind a flag

        This CL implements the specification-compliant
        `AudioContext.playbackStats` attribute and the associated
        `AudioPlaybackStats` interface. This new API provides detailed metrics
        regarding audio rendering, including latency extremes and underrun
        (glitch) durations, using standard SI units (seconds).

        The legacy `playoutStats` attribute (which uses milliseconds) is
        maintained for backward compatibility in M146 and is scheduled for
        removal in M147. Both APIs are independently gated and tracked via use
        counters.

        - Implemented `AudioContext.playbackStats` and the
        `AudioPlaybackStats` interface.
        - Added the `AudioContextPlaybackStats` runtime feature flag and
        associated use counter.
        - Refactored `MockPermissionService` to use `mojo::ReceiverSet` to
        fix unit test instability.
        - Maintained legacy `playoutStats` with independent test coverage
        and metrics.
        - Updated web-exposed API baselines for Blink, WebView, and WPT
        idlharness.
        Bug: 475838360
        Change-Id: I957324965be34a1a1ffddd4964629e782fef8f2e
        Reviewed-by: Kent Tamura <tk...@chromium.org>
        Commit-Queue: Hongchan Choi <hong...@chromium.org>
        Cr-Commit-Position: refs/heads/main@{#1579884}
        Files:
        • M android_webview/test/data/web_tests/webexposed/global-interface-listing-expected.txt
        • M third_party/blink/public/mojom/use_counter/metrics/web_feature.mojom
        • M third_party/blink/renderer/bindings/generated_in_modules.gni
        • M third_party/blink/renderer/bindings/idl_in_modules.gni
        • M third_party/blink/renderer/modules/webaudio/BUILD.gn
        • M third_party/blink/renderer/modules/webaudio/audio_context.cc
        • M third_party/blink/renderer/modules/webaudio/audio_context.h
        • M third_party/blink/renderer/modules/webaudio/audio_context.idl
        • M third_party/blink/renderer/modules/webaudio/audio_context_test.cc
        • A third_party/blink/renderer/modules/webaudio/audio_playback_stats.cc
        • A third_party/blink/renderer/modules/webaudio/audio_playback_stats.h
        • A third_party/blink/renderer/modules/webaudio/audio_playback_stats.idl
        • M third_party/blink/renderer/platform/runtime_enabled_features.json5
        • M third_party/blink/web_tests/VirtualTestSuites
        • M third_party/blink/web_tests/external/wpt/webaudio/idlharness.https.window-expected.txt
        • C third_party/blink/web_tests/external/wpt/webaudio/the-audio-api/the-audiocontext-interface/audiocontext-playbackstats.html
        • A third_party/blink/web_tests/virtual/webaudio-playback-stats/README.md
        • R third_party/blink/web_tests/webaudio/AudioContext/audiocontext-playoutstats.html
        • M third_party/blink/web_tests/webexposed/global-interface-listing-expected.txt
        • M tools/metrics/histograms/metadata/blink/enums.xml
        Change size: L
        Delta: 20 files changed, 706 insertions(+), 97 deletions(-)
        Branch: refs/heads/main
        Submit Requirements:
        • requirement satisfiedCode-Review: +1 by Kent Tamura
        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: I957324965be34a1a1ffddd4964629e782fef8f2e
        Gerrit-Change-Number: 7298786
        Gerrit-PatchSet: 36
        Gerrit-Owner: Hongchan Choi <hong...@chromium.org>
        Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
        Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
        Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
        Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
        Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
        open
        diffy
        satisfied_requirement

        Blink W3C Test Autoroller (Gerrit)

        unread,
        Feb 5, 2026, 1:44:15 AM (6 days ago) Feb 5
        to Chromium LUCI CQ, Hongchan Choi, Kent Tamura, Fredrik Hernqvist, AI Code Reviewer, Olga Sharonova, Chromium Metrics Reviews, Raphael Kubo da Costa, Kentaro Hara, AyeAye, chromium...@chromium.org, peter+watch...@chromium.org, asvitkine...@chromium.org, kinuko...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, android-web...@chromium.org, ashleynewson+w...@chromium.org, blink-revie...@chromium.org, blink-...@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/57581

        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: I957324965be34a1a1ffddd4964629e782fef8f2e
        Gerrit-Change-Number: 7298786
        Gerrit-PatchSet: 36
        Gerrit-Owner: Hongchan Choi <hong...@chromium.org>
        Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
        Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
        Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
        Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
        Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
        Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
        Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
        Gerrit-CC: Fredrik Hernqvist <fhern...@google.com>
        Gerrit-CC: Kentaro Hara <har...@chromium.org>
        Gerrit-CC: Olga Sharonova <ol...@google.com>
        Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
        Gerrit-Comment-Date: Thu, 05 Feb 2026 06:44:10 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: No
        satisfied_requirement
        open
        diffy

        Sergey Poromov (Gerrit)

        unread,
        Feb 5, 2026, 2:49:08 AM (6 days ago) Feb 5
        to Chromium LUCI CQ, Hongchan Choi, Blink W3C Test Autoroller, Kent Tamura, Fredrik Hernqvist, AI Code Reviewer, Olga Sharonova, Chromium Metrics Reviews, Raphael Kubo da Costa, Kentaro Hara, AyeAye, chromium...@chromium.org, peter+watch...@chromium.org, asvitkine...@chromium.org, kinuko...@chromium.org, blink-revie...@chromium.org, blink-re...@chromium.org, android-web...@chromium.org, ashleynewson+w...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org

        Sergey Poromov has created a revert of this change

        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: revert
        satisfied_requirement
        open
        diffy

        Hongchan Choi (Gerrit)

        unread,
        Feb 5, 2026, 4:04:24 PM (6 days ago) Feb 5
        to Kent Tamura, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, Kentaro Hara, Raphael Kubo da Costa, android-web...@chromium.org, ashleynewson+w...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org
        Attention needed from Kent Tamura

        Hongchan Choi voted and added 1 comment

        Votes added by Hongchan Choi

        Commit-Queue+1

        1 comment

        Patchset-level comments
        File-level comment, Patchset 3 (Latest):
        Hongchan Choi . resolved

        PTAL again - This is a re-land of https://crrev.com/c/7298786.

        No changes from the previous CL, except for restoring the 'timing out' test to ToT. So the problematic test is not a part of the CL anymore.

        Thank you for your review!

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Kent Tamura
        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: I868830570382f4f09830387361f1ce9553dcd928
        Gerrit-Change-Number: 7548598
        Gerrit-PatchSet: 3
        Gerrit-Owner: Hongchan Choi <hong...@chromium.org>
        Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
        Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
        Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
        Gerrit-CC: Kentaro Hara <har...@chromium.org>
        Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
        Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
        Gerrit-Attention: Kent Tamura <tk...@chromium.org>
        Gerrit-Comment-Date: Thu, 05 Feb 2026 21:04:15 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Kent Tamura (Gerrit)

        unread,
        Feb 5, 2026, 6:01:47 PM (6 days ago) Feb 5
        to Hongchan Choi, Kent Tamura, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, Kentaro Hara, Raphael Kubo da Costa, android-web...@chromium.org, ashleynewson+w...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org
        Attention needed from Hongchan Choi

        Kent Tamura voted Code-Review+1

        Code-Review+1
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Hongchan Choi
        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: I868830570382f4f09830387361f1ce9553dcd928
        Gerrit-Change-Number: 7548598
        Gerrit-PatchSet: 3
        Gerrit-Owner: Hongchan Choi <hong...@chromium.org>
        Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
        Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
        Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
        Gerrit-CC: Kentaro Hara <har...@chromium.org>
        Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
        Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
        Gerrit-Attention: Hongchan Choi <hong...@chromium.org>
        Gerrit-Comment-Date: Thu, 05 Feb 2026 23:01:12 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Hongchan Choi (Gerrit)

        unread,
        Feb 5, 2026, 6:01:49 PM (6 days ago) Feb 5
        to Kent Tamura, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, Kentaro Hara, Raphael Kubo da Costa, android-web...@chromium.org, ashleynewson+w...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org

        Hongchan Choi voted Commit-Queue+2

        Commit-Queue+2
        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: I868830570382f4f09830387361f1ce9553dcd928
        Gerrit-Change-Number: 7548598
        Gerrit-PatchSet: 3
        Gerrit-Owner: Hongchan Choi <hong...@chromium.org>
        Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
        Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
        Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
        Gerrit-CC: Kentaro Hara <har...@chromium.org>
        Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
        Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
        Gerrit-Comment-Date: Thu, 05 Feb 2026 23:01:37 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Chromium LUCI CQ (Gerrit)

        unread,
        Feb 5, 2026, 6:07:05 PM (6 days ago) Feb 5
        to Hongchan Choi, Kent Tamura, Chromium Metrics Reviews, chromium...@chromium.org, Kentaro Hara, Raphael Kubo da Costa, android-web...@chromium.org, ashleynewson+w...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org

        Chromium LUCI CQ submitted the change

        Change information

        Commit message:
        [WebAudio] Implement AudioContext.playbackStats behind a flag

        This CL implements the specification-compliant
        `AudioContext.playbackStats` attribute and the associated
        `AudioPlaybackStats` interface. This new API provides detailed metrics
        regarding audio rendering, including latency extremes and underrun
        (glitch) durations, using standard SI units (seconds).

        The legacy `playoutStats` attribute (which uses milliseconds) is
        maintained for backward compatibility in M146 and is scheduled for
        removal in M147. Both APIs are independently gated and tracked via use
        counters.

        - Implemented `AudioContext.playbackStats` and the
        `AudioPlaybackStats` interface.
        - Added the `AudioContextPlaybackStats` runtime feature flag and
        associated use counter.
        - Refactored `MockPermissionService` to use `mojo::ReceiverSet` to
        fix unit test instability.
        - Maintained legacy `playoutStats` with independent test coverage
        and metrics.
        - Updated web-exposed API baselines for Blink, WebView, and WPT
        idlharness.
        Bug: 475838360
        Change-Id: I868830570382f4f09830387361f1ce9553dcd928
        Reviewed-by: Kent Tamura <tk...@chromium.org>
        Commit-Queue: Hongchan Choi <hong...@chromium.org>
        Cr-Commit-Position: refs/heads/main@{#1580449}
        Files:
          • M android_webview/test/data/web_tests/webexposed/global-interface-listing-expected.txt
          • M third_party/blink/public/mojom/use_counter/metrics/web_feature.mojom
          • M third_party/blink/renderer/bindings/generated_in_modules.gni
          • M third_party/blink/renderer/bindings/idl_in_modules.gni
          • M third_party/blink/renderer/modules/webaudio/BUILD.gn
          • M third_party/blink/renderer/modules/webaudio/audio_context.cc
          • M third_party/blink/renderer/modules/webaudio/audio_context.h
          • M third_party/blink/renderer/modules/webaudio/audio_context.idl
          • M third_party/blink/renderer/modules/webaudio/audio_context_test.cc
          • A third_party/blink/renderer/modules/webaudio/audio_playback_stats.cc
          • A third_party/blink/renderer/modules/webaudio/audio_playback_stats.h
          • A third_party/blink/renderer/modules/webaudio/audio_playback_stats.idl
          • M third_party/blink/renderer/platform/runtime_enabled_features.json5
          • M third_party/blink/web_tests/VirtualTestSuites
          • M third_party/blink/web_tests/external/wpt/webaudio/idlharness.https.window-expected.txt
          • A third_party/blink/web_tests/external/wpt/webaudio/the-audio-api/the-audiocontext-interface/audiocontext-playbackstats.html
          • A third_party/blink/web_tests/virtual/webaudio-playback-stats/README.md
          • M third_party/blink/web_tests/webexposed/global-interface-listing-expected.txt
          • M tools/metrics/histograms/metadata/blink/enums.xml
          Change size: L
          Delta: 19 files changed, 817 insertions(+), 64 deletions(-)
          Branch: refs/heads/main
          Submit Requirements:
          • requirement satisfiedCode-Review: +1 by Kent Tamura
          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: I868830570382f4f09830387361f1ce9553dcd928
          Gerrit-Change-Number: 7548598
          Gerrit-PatchSet: 4
          Gerrit-Owner: Hongchan Choi <hong...@chromium.org>
          Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
          Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
          Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
          open
          diffy
          satisfied_requirement

          Blink W3C Test Autoroller (Gerrit)

          unread,
          Feb 5, 2026, 7:28:35 PM (6 days ago) Feb 5
          to Chromium LUCI CQ, Hongchan Choi, Kent Tamura, Chromium Metrics Reviews, chromium...@chromium.org, Kentaro Hara, Raphael Kubo da Costa, android-web...@chromium.org, ashleynewson+w...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@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/57597

          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: I868830570382f4f09830387361f1ce9553dcd928
          Gerrit-Change-Number: 7548598
          Gerrit-PatchSet: 4
          Gerrit-Owner: Hongchan Choi <hong...@chromium.org>
          Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
          Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
          Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
          Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
          Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
          Gerrit-CC: Kentaro Hara <har...@chromium.org>
          Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
          Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
          Gerrit-Comment-Date: Fri, 06 Feb 2026 00:28:29 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: No
          satisfied_requirement
          open
          diffy
          Reply all
          Reply to author
          Forward
          0 new messages