| Commit-Queue | +1 |
bool stats_are_from_current_task_ = false;Hongchan Choinit: 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)_
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
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.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
LGTM overall.
[RuntimeEnabled=AudioContextPlayoutStats, MeasureAs=AudioContextPlayoutStats, SameObject] readonly attribute AudioPlayoutStats playoutStats;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;
```
bool stats_are_from_current_task_ = false;Hongchan Choinit: 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)_
Done
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.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
tkent@ PTAL at:
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.
[RuntimeEnabled=AudioContextPlayoutStats, MeasureAs=AudioContextPlayoutStats, SameObject] readonly attribute AudioPlayoutStats playoutStats;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;
```
Not yet, but in the follow-up CL that enables the Playback API by default.
Thanks for the suggestion!
bool stats_are_from_current_task_ = false;Hongchan Choinit: 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)_
Michael WilsonDone
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.
| Code-Review | +1 |
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.
Apologies - renaming variables reset +1s.
Could you stamp the CL if possible?
bool stats_are_from_current_task_ = false;Hongchan Choinit: 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)_
Michael WilsonDone
Hongchan ChoiNit: 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.
I'll include this fix when I rebase this CL later.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[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.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
The WPT PR for this CL has been merged upstream! https://github.com/web-platform-tests/wpt/pull/57581
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
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!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[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.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
The WPT PR for this CL has been merged upstream! https://github.com/web-platform-tests/wpt/pull/57597
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |