[WebAudio] Migrate webm decoding test from audit.js to testharness.js [chromium/src : main]

0 views
Skip to first unread message

Hongchan Choi (Gerrit)

unread,
May 29, 2025, 2:12:38 PMMay 29
to Punith Nayak, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
Attention needed from Michael Wilson and Punith Nayak

Hongchan Choi added 8 comments

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

Looks great! I only have a few nits and one request.

File third_party/blink/web_tests/webaudio/codec-tests/webm/webm-decode.html
Line 13, Patchset 2 (Latest): /**
* Returns a promise that resolves with an array of AudioBuffers once all
* resources have loaded.
* @param {!BaseAudioContext} context
* @param {!Array<string>} urls
* @return {!Promise<!Array<!AudioBuffer>>}
*/
function loadBuffers(context, urls) {
return new Promise((resolve, reject) => {
const loader = new BufferLoader(context, urls, resolve, reject);
loader.load();
});
}
Hongchan Choi . unresolved

Could you create this file loading utility function in `audit-util.js`?

Eventually we want to remove all the references to `buffer-loader.js` because it is very outdated.

Line 29, Patchset 2 (Latest): const kMinSnrDb = 110.97;
Hongchan Choi . unresolved

Can you also add comments for this?

Line 35, Patchset 2 (Latest): const [expectedBuffer, decodedBuffer] = await loadBuffers(
context,
[
'resources/webm-decode-expected.wav',
'test-webm.webm',
]);
Hongchan Choi . unresolved

Is this formatting the result from the eslint?

Line 42, Patchset 2 (Latest): // Basic sanity checks.
Hongchan Choi . unresolved

Seems redundant.

Line 48, Patchset 2 (Latest): assert_equals(decodedBuffer.length, expectedBuffer.length, 'Frame count');
Hongchan Choi . unresolved

formatting: column wrap

Line 50, Patchset 2 (Latest): // Per-channel verification.
Hongchan Choi . unresolved

Seems redundant.

Line 51, Patchset 2 (Latest): for (let c = 0; c < expectedBuffer.numberOfChannels; ++c) {
Hongchan Choi . unresolved

use `channel` instead

Open in Gerrit

Related details

Attention is currently required from:
  • Michael Wilson
  • Punith Nayak
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
Gerrit-Change-Number: 6603253
Gerrit-PatchSet: 2
Gerrit-Owner: Punith Nayak <punith...@chromium.org>
Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
Gerrit-Attention: Michael Wilson <mjwi...@chromium.org>
Gerrit-Attention: Punith Nayak <punith...@chromium.org>
Gerrit-Comment-Date: Thu, 29 May 2025 18:12:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Michael Wilson (Gerrit)

unread,
May 29, 2025, 2:25:13 PMMay 29
to Punith Nayak, Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
Attention needed from Punith Nayak

Michael Wilson added 4 comments

Patchset-level comments
Michael Wilson . resolved

Looking good overall, I have some nits and a question.

File third_party/blink/web_tests/webaudio/codec-tests/webm/webm-decode.html
Line 7, Patchset 2 (Latest): <script src="../../resources/audit-util.js"></script>
Michael Wilson . unresolved

It looks like this is used for `computeSNR`. Based on Hongchan's comment, is the plan to keep `audit-util.js` for various utility functions? Should we consider renaming it at some point?

Line 42, Patchset 2 (Latest): // Basic sanity checks.
Michael Wilson . unresolved
Line 54, Patchset 2 (Latest):
// Compute signal-to-noise ratio (SNR) using the same argument order
// as the original audit.js test (actual first, reference second).
Michael Wilson . unresolved

I don't think we need to directly reference how audit.js used to do things, since we are removing it.
```suggestion

          // Compute signal-to-noise ratio (SNR).
```
Open in Gerrit

Related details

Attention is currently required from:
  • Punith Nayak
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
Gerrit-Change-Number: 6603253
Gerrit-PatchSet: 2
Gerrit-Owner: Punith Nayak <punith...@chromium.org>
Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
Gerrit-Attention: Punith Nayak <punith...@chromium.org>
Gerrit-Comment-Date: Thu, 29 May 2025 18:24:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Punith Nayak (Gerrit)

unread,
May 29, 2025, 3:41:40 PMMay 29
to Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
Attention needed from Hongchan Choi and Michael Wilson

Punith Nayak added 9 comments

File third_party/blink/web_tests/webaudio/codec-tests/webm/webm-decode.html

* Returns a promise that resolves with an array of AudioBuffers once all
* resources have loaded.
* @param {!BaseAudioContext} context
* @param {!Array<string>} urls
* @return {!Promise<!Array<!AudioBuffer>>}
*/
function loadBuffers(context, urls) {
return new Promise((resolve, reject) => {
const loader = new BufferLoader(context, urls, resolve, reject);
loader.load();
});
}
Hongchan Choi . resolved

Could you create this file loading utility function in `audit-util.js`?

Eventually we want to remove all the references to `buffer-loader.js` because it is very outdated.

Punith Nayak

Done

Line 29, Patchset 2: const kMinSnrDb = 110.97;
Hongchan Choi . resolved

Can you also add comments for this?

Punith Nayak

Done

Line 35, Patchset 2: const [expectedBuffer, decodedBuffer] = await loadBuffers(

context,
[
'resources/webm-decode-expected.wav',
'test-webm.webm',
]);
Hongchan Choi . unresolved

Is this formatting the result from the eslint?

Punith Nayak

Copilot

Line 42, Patchset 2: // Basic sanity checks.
Michael Wilson . unresolved
```suggestion
// Basic checks.
```
https://developers.google.com/style/inclusive-documentation
Punith Nayak

I removed the entire commment is it fine?

Line 42, Patchset 2: // Basic sanity checks.
Hongchan Choi . resolved

Seems redundant.

Punith Nayak

Done

Line 48, Patchset 2: assert_equals(decodedBuffer.length, expectedBuffer.length, 'Frame count');
Hongchan Choi . resolved

formatting: column wrap

Punith Nayak

Done

Line 50, Patchset 2: // Per-channel verification.
Hongchan Choi . resolved

Seems redundant.

Punith Nayak

Done

Line 51, Patchset 2: for (let c = 0; c < expectedBuffer.numberOfChannels; ++c) {
Hongchan Choi . resolved

use `channel` instead

Punith Nayak

Done


// Compute signal-to-noise ratio (SNR) using the same argument order
// as the original audit.js test (actual first, reference second).
Michael Wilson . resolved

I don't think we need to directly reference how audit.js used to do things, since we are removing it.
```suggestion

          // Compute signal-to-noise ratio (SNR).
```
Punith Nayak

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Hongchan Choi
  • Michael Wilson
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
Gerrit-Change-Number: 6603253
Gerrit-PatchSet: 3
Gerrit-Owner: Punith Nayak <punith...@chromium.org>
Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
Gerrit-Attention: Hongchan Choi <hong...@chromium.org>
Gerrit-Attention: Michael Wilson <mjwi...@chromium.org>
Gerrit-Comment-Date: Thu, 29 May 2025 19:41:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Hongchan Choi <hong...@chromium.org>
Comment-In-Reply-To: Michael Wilson <mjwi...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Punith Nayak (Gerrit)

unread,
May 29, 2025, 3:47:10 PMMay 29
to Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
Attention needed from Hongchan Choi and Michael Wilson

Punith Nayak added 1 comment

File third_party/blink/web_tests/webaudio/codec-tests/webm/webm-decode.html
Line 7, Patchset 2: <script src="../../resources/audit-util.js"></script>
Michael Wilson . unresolved

It looks like this is used for `computeSNR`. Based on Hongchan's comment, is the plan to keep `audit-util.js` for various utility functions? Should we consider renaming it at some point?

Punith Nayak

Yes, I think we need a utils file. Renaming it would be a better idea

Gerrit-Comment-Date: Thu, 29 May 2025 19:46:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Michael Wilson <mjwi...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Michael Wilson (Gerrit)

unread,
May 29, 2025, 3:52:57 PMMay 29
to Punith Nayak, Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
Attention needed from Hongchan Choi and Punith Nayak

Michael Wilson voted and added 5 comments

Votes added by Michael Wilson

Code-Review+1

5 comments

Patchset-level comments
File-level comment, Patchset 3 (Latest):
Michael Wilson . resolved

LGTM mod some line wrapping.

File third_party/blink/web_tests/webaudio/codec-tests/webm/webm-decode.html
Line 7, Patchset 2: <script src="../../resources/audit-util.js"></script>
Michael Wilson . resolved

It looks like this is used for `computeSNR`. Based on Hongchan's comment, is the plan to keep `audit-util.js` for various utility functions? Should we consider renaming it at some point?

Punith Nayak

Yes, I think we need a utils file. Renaming it would be a better idea

Michael Wilson

Acknowledged. It doesn't have to be in this CL, but let's make a plan for where to collect utility functions.

Line 42, Patchset 2: // Basic sanity checks.
Michael Wilson . resolved
```suggestion
// Basic checks.
```
https://developers.google.com/style/inclusive-documentation
Punith Nayak

I removed the entire commment is it fine?

Michael Wilson

Yes, that's fine. Thank you.

Line 42, Patchset 3 (Latest): for (let channel = 0; channel < expectedBuffer.numberOfChannels; ++channel) {
Michael Wilson . unresolved

Please wrap this line.

Line 48, Patchset 3 (Latest): assert_greater_than_equal(snrDb, kMinSnrDb, `SNR for channel ${channel}`);
Michael Wilson . unresolved

Please wrap this line.

Open in Gerrit

Related details

Attention is currently required from:
  • Hongchan Choi
  • Punith Nayak
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
Gerrit-Change-Number: 6603253
Gerrit-PatchSet: 3
Gerrit-Owner: Punith Nayak <punith...@chromium.org>
Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
Gerrit-Attention: Hongchan Choi <hong...@chromium.org>
Gerrit-Attention: Punith Nayak <punith...@chromium.org>
Gerrit-Comment-Date: Thu, 29 May 2025 19:52:45 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Michael Wilson <mjwi...@chromium.org>
Comment-In-Reply-To: Punith Nayak <punith...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Hongchan Choi (Gerrit)

unread,
May 29, 2025, 4:14:01 PMMay 29
to Punith Nayak, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
Attention needed from Punith Nayak

Hongchan Choi added 2 comments

File third_party/blink/web_tests/webaudio/codec-tests/webm/webm-decode.html
Line 35, Patchset 2: const [expectedBuffer, decodedBuffer] = await loadBuffers(
context,
[
'resources/webm-decode-expected.wav',
'test-webm.webm',
]);
Hongchan Choi . resolved

Is this formatting the result from the eslint?

Punith Nayak

Copilot

Hongchan Choi

Acknowledged

File third_party/blink/web_tests/webaudio/resources/audit-util.js
Line 206, Patchset 3 (Latest): const loader = new BufferLoader(context, urls, resolve, reject);
Hongchan Choi . unresolved

This line still relies on `BufferLoader`. I think you'd have to implement the loading functionality here in this file so we don't have any dependency on the old library file.

Open in Gerrit

Related details

Attention is currently required from:
  • Punith Nayak
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
Gerrit-Change-Number: 6603253
Gerrit-PatchSet: 3
Gerrit-Owner: Punith Nayak <punith...@chromium.org>
Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
Gerrit-Attention: Punith Nayak <punith...@chromium.org>
Gerrit-Comment-Date: Thu, 29 May 2025 20:13:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Hongchan Choi <hong...@chromium.org>
Comment-In-Reply-To: Punith Nayak <punith...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Punith Nayak (Gerrit)

unread,
May 29, 2025, 5:03:33 PMMay 29
to Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
Attention needed from Michael Wilson

Punith Nayak added 2 comments

File third_party/blink/web_tests/webaudio/codec-tests/webm/webm-decode.html
Line 42, Patchset 3: for (let channel = 0; channel < expectedBuffer.numberOfChannels; ++channel) {
Michael Wilson . resolved

Please wrap this line.

Punith Nayak

Done

Line 48, Patchset 3: assert_greater_than_equal(snrDb, kMinSnrDb, `SNR for channel ${channel}`);
Michael Wilson . resolved

Please wrap this line.

Punith Nayak

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Michael Wilson
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
Gerrit-Change-Number: 6603253
Gerrit-PatchSet: 5
Gerrit-Owner: Punith Nayak <punith...@chromium.org>
Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
Gerrit-Attention: Michael Wilson <mjwi...@chromium.org>
Gerrit-Comment-Date: Thu, 29 May 2025 21:03:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Michael Wilson <mjwi...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

fabian athayde (Gerrit)

unread,
May 29, 2025, 5:06:09 PMMay 29
to Punith Nayak, Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
Attention needed from Michael Wilson

fabian athayde added 1 comment

Message

On Thu, May 29, 2025, 4:03 PM Punith Nayak (Gerrit) <noreply-gerritcodereview+_N5KpHfhDWZOsU2BQtDnvg==@> wrote: chromium.org

1 comment

Patchset-level comments
File-level comment, Patchset 5 (Latest):
fabian athayde . resolved

On Thu, May 29, 2025, 4:03 PM Punith Nayak (Gerrit) <noreply-gerritcodereview+_N5KpHfhDWZOsU2BQtDnvg==@> wrote: chromium.org

Open in Gerrit

Related details

Attention is currently required from:
  • Michael Wilson
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
Gerrit-Change-Number: 6603253
Gerrit-PatchSet: 5
Gerrit-Owner: Punith Nayak <punith...@chromium.org>
Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
Gerrit-Attention: Michael Wilson <mjwi...@chromium.org>
Gerrit-Comment-Date: Thu, 29 May 2025 21:06:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Michael Wilson (Gerrit)

unread,
May 29, 2025, 5:46:38 PMMay 29
to Punith Nayak, Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
Attention needed from Punith Nayak

Michael Wilson added 2 comments

File third_party/blink/web_tests/webaudio/codec-tests/webm/webm-decode.html
Line 8, Patchset 5 (Latest): <script src="../../resources/buffer-loader.js"></script>
Michael Wilson . unresolved

We can remove this line now, I think.

File third_party/blink/web_tests/webaudio/resources/audit-util.js
Line 206, Patchset 3: const loader = new BufferLoader(context, urls, resolve, reject);
Hongchan Choi . unresolved

This line still relies on `BufferLoader`. I think you'd have to implement the loading functionality here in this file so we don't have any dependency on the old library file.

Michael Wilson

Do we want to do this in this CL, or is it enough to hide the details behind this function and re-implement `BufferLoader` in a follow-up CL?

Open in Gerrit

Related details

Attention is currently required from:
  • Punith Nayak
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
Gerrit-Change-Number: 6603253
Gerrit-PatchSet: 5
Gerrit-Owner: Punith Nayak <punith...@chromium.org>
Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
Gerrit-Attention: Punith Nayak <punith...@chromium.org>
Gerrit-Comment-Date: Thu, 29 May 2025 21:46:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Hongchan Choi <hong...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Hongchan Choi (Gerrit)

unread,
May 30, 2025, 2:38:49 PMMay 30
to Punith Nayak, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
Attention needed from Punith Nayak

Hongchan Choi added 1 comment

File third_party/blink/web_tests/webaudio/resources/audit-util.js
Line 206, Patchset 3: const loader = new BufferLoader(context, urls, resolve, reject);
Hongchan Choi . unresolved

This line still relies on `BufferLoader`. I think you'd have to implement the loading functionality here in this file so we don't have any dependency on the old library file.

Michael Wilson

Do we want to do this in this CL, or is it enough to hide the details behind this function and re-implement `BufferLoader` in a follow-up CL?

Hongchan Choi

I think it needs to be done here in this CL. Luckily it worked in this case because the BufferLoader class was globally loaded from a different script file.

Open in Gerrit

Related details

Attention is currently required from:
  • Punith Nayak
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
Gerrit-Change-Number: 6603253
Gerrit-PatchSet: 5
Gerrit-Owner: Punith Nayak <punith...@chromium.org>
Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
Gerrit-Attention: Punith Nayak <punith...@chromium.org>
Gerrit-Comment-Date: Fri, 30 May 2025 18:38:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Hongchan Choi <hong...@chromium.org>
Comment-In-Reply-To: Michael Wilson <mjwi...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Punith Nayak (Gerrit)

unread,
May 30, 2025, 2:59:36 PMMay 30
to Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
Attention needed from Hongchan Choi and Michael Wilson

Punith Nayak added 1 comment

File third_party/blink/web_tests/webaudio/resources/audit-util.js
Line 206, Patchset 3: const loader = new BufferLoader(context, urls, resolve, reject);
Hongchan Choi . unresolved

This line still relies on `BufferLoader`. I think you'd have to implement the loading functionality here in this file so we don't have any dependency on the old library file.

Michael Wilson

Do we want to do this in this CL, or is it enough to hide the details behind this function and re-implement `BufferLoader` in a follow-up CL?

Hongchan Choi

I think it needs to be done here in this CL. Luckily it worked in this case because the BufferLoader class was globally loaded from a different script file.

Punith Nayak

Hey if am understading this correctly, are we planing to ship all the code from buffer-loader.js to audio-utils.js? and vanish buffer-loader.j

Open in Gerrit

Related details

Attention is currently required from:
  • Hongchan Choi
  • Michael Wilson
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
Gerrit-Change-Number: 6603253
Gerrit-PatchSet: 5
Gerrit-Owner: Punith Nayak <punith...@chromium.org>
Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
Gerrit-Attention: Hongchan Choi <hong...@chromium.org>
Gerrit-Attention: Michael Wilson <mjwi...@chromium.org>
Gerrit-Comment-Date: Fri, 30 May 2025 18:59:09 +0000
satisfied_requirement
unsatisfied_requirement
open
diffy

Michael Wilson (Gerrit)

unread,
Jun 2, 2025, 11:40:44 AMJun 2
to Punith Nayak, Saqlain, Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
Attention needed from Hongchan Choi and Punith Nayak

Michael Wilson added 1 comment

File third_party/blink/web_tests/webaudio/resources/audit-util.js
Line 206, Patchset 3: const loader = new BufferLoader(context, urls, resolve, reject);
Hongchan Choi . unresolved

This line still relies on `BufferLoader`. I think you'd have to implement the loading functionality here in this file so we don't have any dependency on the old library file.

Michael Wilson

Do we want to do this in this CL, or is it enough to hide the details behind this function and re-implement `BufferLoader` in a follow-up CL?

Hongchan Choi

I think it needs to be done here in this CL. Luckily it worked in this case because the BufferLoader class was globally loaded from a different script file.

Punith Nayak

Hey if am understading this correctly, are we planing to ship all the code from buffer-loader.js to audio-utils.js? and vanish buffer-loader.j

Michael Wilson

We decided to inline the code from BufferLoader here, using `fetch` instead of `XMLHttpRequest`. buffer-loader.js can be removed once nothing uses it anymore.

Open in Gerrit

Related details

Attention is currently required from:
  • Hongchan Choi
  • Punith Nayak
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
Gerrit-Change-Number: 6603253
Gerrit-PatchSet: 6
Gerrit-Owner: Punith Nayak <punith...@chromium.org>
Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
Gerrit-CC: Saqlain <2mesa...@gmail.com>
Gerrit-Attention: Hongchan Choi <hong...@chromium.org>
Gerrit-Attention: Punith Nayak <punith...@chromium.org>
Gerrit-Comment-Date: Mon, 02 Jun 2025 15:40:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Hongchan Choi <hong...@chromium.org>
Comment-In-Reply-To: Michael Wilson <mjwi...@chromium.org>
Comment-In-Reply-To: Punith Nayak <punith...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Punith Nayak (Gerrit)

unread,
Jun 2, 2025, 4:35:02 PMJun 2
to Saqlain, Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
Attention needed from Hongchan Choi and Michael Wilson

Punith Nayak added 2 comments

File third_party/blink/web_tests/webaudio/codec-tests/webm/webm-decode.html
Line 8, Patchset 5: <script src="../../resources/buffer-loader.js"></script>
Michael Wilson . resolved

We can remove this line now, I think.

Punith Nayak

Done

File third_party/blink/web_tests/webaudio/resources/audit-util.js
Line 206, Patchset 3: const loader = new BufferLoader(context, urls, resolve, reject);
Hongchan Choi . unresolved

This line still relies on `BufferLoader`. I think you'd have to implement the loading functionality here in this file so we don't have any dependency on the old library file.

Michael Wilson

Do we want to do this in this CL, or is it enough to hide the details behind this function and re-implement `BufferLoader` in a follow-up CL?

Hongchan Choi

I think it needs to be done here in this CL. Luckily it worked in this case because the BufferLoader class was globally loaded from a different script file.

Punith Nayak

Hey if am understading this correctly, are we planing to ship all the code from buffer-loader.js to audio-utils.js? and vanish buffer-loader.j

Michael Wilson

We decided to inline the code from BufferLoader here, using `fetch` instead of `XMLHttpRequest`. buffer-loader.js can be removed once nothing uses it anymore.

Punith Nayak

In a web page running in a browser you cannot use fetch() to read a file:// URL I feel

Open in Gerrit

Related details

Attention is currently required from:
  • Hongchan Choi
  • Michael Wilson
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
Gerrit-Change-Number: 6603253
Gerrit-PatchSet: 6
Gerrit-Owner: Punith Nayak <punith...@chromium.org>
Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
Gerrit-CC: Saqlain <2mesa...@gmail.com>
Gerrit-Attention: Hongchan Choi <hong...@chromium.org>
Gerrit-Attention: Michael Wilson <mjwi...@chromium.org>
Gerrit-Comment-Date: Mon, 02 Jun 2025 20:34:31 +0000
satisfied_requirement
unsatisfied_requirement
open
diffy

Punith Nayak (Gerrit)

unread,
Jun 2, 2025, 4:39:35 PMJun 2
to Saqlain, Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
Attention needed from Hongchan Choi and Michael Wilson

Punith Nayak added 1 comment

File third_party/blink/web_tests/webaudio/resources/audit-util.js
Line 206, Patchset 3: const loader = new BufferLoader(context, urls, resolve, reject);
Hongchan Choi . unresolved

This line still relies on `BufferLoader`. I think you'd have to implement the loading functionality here in this file so we don't have any dependency on the old library file.

Michael Wilson

Do we want to do this in this CL, or is it enough to hide the details behind this function and re-implement `BufferLoader` in a follow-up CL?

Hongchan Choi

I think it needs to be done here in this CL. Luckily it worked in this case because the BufferLoader class was globally loaded from a different script file.

Punith Nayak

Hey if am understading this correctly, are we planing to ship all the code from buffer-loader.js to audio-utils.js? and vanish buffer-loader.j

Michael Wilson

We decided to inline the code from BufferLoader here, using `fetch` instead of `XMLHttpRequest`. buffer-loader.js can be removed once nothing uses it anymore.

Punith Nayak

In a web page running in a browser you cannot use fetch() to read a file:// URL I feel

Punith Nayak

What we can do is : We will use fetch, but fall back to XHR whenever the absolute URL points to a file.

Gerrit-Comment-Date: Mon, 02 Jun 2025 20:39:09 +0000
satisfied_requirement
unsatisfied_requirement
open
diffy

Hongchan Choi (Gerrit)

unread,
Jun 2, 2025, 4:49:40 PMJun 2
to Punith Nayak, Saqlain, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
Attention needed from Michael Wilson and Punith Nayak

Hongchan Choi added 1 comment

File third_party/blink/web_tests/webaudio/resources/audit-util.js
Line 206, Patchset 3: const loader = new BufferLoader(context, urls, resolve, reject);
Hongchan Choi . unresolved

This line still relies on `BufferLoader`. I think you'd have to implement the loading functionality here in this file so we don't have any dependency on the old library file.

Michael Wilson

Do we want to do this in this CL, or is it enough to hide the details behind this function and re-implement `BufferLoader` in a follow-up CL?

Hongchan Choi

I think it needs to be done here in this CL. Luckily it worked in this case because the BufferLoader class was globally loaded from a different script file.

Punith Nayak

Hey if am understading this correctly, are we planing to ship all the code from buffer-loader.js to audio-utils.js? and vanish buffer-loader.j

Michael Wilson

We decided to inline the code from BufferLoader here, using `fetch` instead of `XMLHttpRequest`. buffer-loader.js can be removed once nothing uses it anymore.

Punith Nayak

In a web page running in a browser you cannot use fetch() to read a file:// URL I feel

Punith Nayak

What we can do is : We will use fetch, but fall back to XHR whenever the absolute URL points to a file.

Hongchan Choi

Both fetch() or XMLHttpRequest don't work with the local file system. You will need a web server.

The current patch set might work, but I am interested in deprecating the XMLHttpRequest from the code. Please refer the code example I provided in the last sync meeting.

Open in Gerrit

Related details

Attention is currently required from:
  • Michael Wilson
  • Punith Nayak
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
Gerrit-Change-Number: 6603253
Gerrit-PatchSet: 6
Gerrit-Owner: Punith Nayak <punith...@chromium.org>
Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
Gerrit-CC: Saqlain <2mesa...@gmail.com>
Gerrit-Attention: Michael Wilson <mjwi...@chromium.org>
Gerrit-Attention: Punith Nayak <punith...@chromium.org>
Gerrit-Comment-Date: Mon, 02 Jun 2025 20:49:31 +0000
satisfied_requirement
unsatisfied_requirement
open
diffy

Michael Wilson (Gerrit)

unread,
Jun 6, 2025, 5:33:09 PMJun 6
to Punith Nayak, Saqlain, Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
Attention needed from Punith Nayak

Michael Wilson added 1 comment

File third_party/blink/web_tests/webaudio/resources/audit-util.js
Line 206, Patchset 3: const loader = new BufferLoader(context, urls, resolve, reject);
Hongchan Choi . unresolved

This line still relies on `BufferLoader`. I think you'd have to implement the loading functionality here in this file so we don't have any dependency on the old library file.

Michael Wilson

Do we want to do this in this CL, or is it enough to hide the details behind this function and re-implement `BufferLoader` in a follow-up CL?

Hongchan Choi

I think it needs to be done here in this CL. Luckily it worked in this case because the BufferLoader class was globally loaded from a different script file.

Punith Nayak

Hey if am understading this correctly, are we planing to ship all the code from buffer-loader.js to audio-utils.js? and vanish buffer-loader.j

Michael Wilson

We decided to inline the code from BufferLoader here, using `fetch` instead of `XMLHttpRequest`. buffer-loader.js can be removed once nothing uses it anymore.

Punith Nayak

In a web page running in a browser you cannot use fetch() to read a file:// URL I feel

Punith Nayak

What we can do is : We will use fetch, but fall back to XHR whenever the absolute URL points to a file.

Hongchan Choi

Both fetch() or XMLHttpRequest don't work with the local file system. You will need a web server.

The current patch set might work, but I am interested in deprecating the XMLHttpRequest from the code. Please refer the code example I provided in the last sync meeting.

Michael Wilson

Based on our most recent discussion, since this is in a central location it's fine to use `XMLHttpRequest` for this CL and try to work out the issue with `fetch` later.

Open in Gerrit

Related details

Attention is currently required from:
  • Punith Nayak
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
Gerrit-Change-Number: 6603253
Gerrit-PatchSet: 7
Gerrit-Owner: Punith Nayak <punith...@chromium.org>
Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
Gerrit-CC: Saqlain <2mesa...@gmail.com>
Gerrit-Attention: Punith Nayak <punith...@chromium.org>
Gerrit-Comment-Date: Fri, 06 Jun 2025 21:32:58 +0000
satisfied_requirement
unsatisfied_requirement
open
diffy

Punith Nayak (Gerrit)

unread,
Jun 6, 2025, 5:49:41 PMJun 6
to Saqlain, Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
Attention needed from Hongchan Choi and Michael Wilson

Punith Nayak voted and added 1 comment

Votes added by Punith Nayak

Commit-Queue+0

1 comment

File third_party/blink/web_tests/webaudio/resources/audit-util.js
Line 206, Patchset 3: const loader = new BufferLoader(context, urls, resolve, reject);
Hongchan Choi . resolved

This line still relies on `BufferLoader`. I think you'd have to implement the loading functionality here in this file so we don't have any dependency on the old library file.

Michael Wilson

Do we want to do this in this CL, or is it enough to hide the details behind this function and re-implement `BufferLoader` in a follow-up CL?

Hongchan Choi

I think it needs to be done here in this CL. Luckily it worked in this case because the BufferLoader class was globally loaded from a different script file.

Punith Nayak

Hey if am understading this correctly, are we planing to ship all the code from buffer-loader.js to audio-utils.js? and vanish buffer-loader.j

Michael Wilson

We decided to inline the code from BufferLoader here, using `fetch` instead of `XMLHttpRequest`. buffer-loader.js can be removed once nothing uses it anymore.

Punith Nayak

In a web page running in a browser you cannot use fetch() to read a file:// URL I feel

Punith Nayak

What we can do is : We will use fetch, but fall back to XHR whenever the absolute URL points to a file.

Hongchan Choi

Both fetch() or XMLHttpRequest don't work with the local file system. You will need a web server.

The current patch set might work, but I am interested in deprecating the XMLHttpRequest from the code. Please refer the code example I provided in the last sync meeting.

Michael Wilson

Based on our most recent discussion, since this is in a central location it's fine to use `XMLHttpRequest` for this CL and try to work out the issue with `fetch` later.

Punith Nayak

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Hongchan Choi
  • Michael Wilson
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
Gerrit-Change-Number: 6603253
Gerrit-PatchSet: 8
Gerrit-Owner: Punith Nayak <punith...@chromium.org>
Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
Gerrit-CC: Saqlain <2mesa...@gmail.com>
Gerrit-Attention: Hongchan Choi <hong...@chromium.org>
Gerrit-Attention: Michael Wilson <mjwi...@chromium.org>
Gerrit-Comment-Date: Fri, 06 Jun 2025 21:49:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Michael Wilson (Gerrit)

unread,
Jun 6, 2025, 6:27:18 PMJun 6
to Punith Nayak, Alvin Ji, Hongchan Choi, Saqlain, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
Attention needed from Alvin Ji, Hongchan Choi and Punith Nayak

Michael Wilson voted and added 1 comment

Votes added by Michael Wilson

Code-Review+1

1 comment

Patchset-level comments
Michael Wilson . resolved

LGTM

Open in Gerrit

Related details

Attention is currently required from:
  • Alvin Ji
  • Hongchan Choi
  • Punith Nayak
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
Gerrit-Change-Number: 6603253
Gerrit-PatchSet: 8
Gerrit-Owner: Punith Nayak <punith...@chromium.org>
Gerrit-Reviewer: Alvin Ji <alv...@chromium.org>
Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
Gerrit-CC: Hongchan Choi <hong...@chromium.org>
Gerrit-CC: Saqlain <2mesa...@gmail.com>
Gerrit-Attention: Alvin Ji <alv...@chromium.org>
Gerrit-Attention: Hongchan Choi <hong...@chromium.org>
Gerrit-Attention: Punith Nayak <punith...@chromium.org>
Gerrit-Comment-Date: Fri, 06 Jun 2025 22:27:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Punith Nayak (Gerrit)

unread,
Jun 9, 2025, 5:39:07 PMJun 9
to Alvin Ji, Hongchan Choi, Saqlain, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
Attention needed from Alvin Ji and Hongchan Choi

Punith Nayak added 1 comment

Patchset-level comments
Punith Nayak . resolved

Hey @alv...@chromium.org,
Can you please review this patch :)

Open in Gerrit

Related details

Attention is currently required from:
  • Alvin Ji
  • Hongchan Choi
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
Gerrit-Change-Number: 6603253
Gerrit-PatchSet: 8
Gerrit-Owner: Punith Nayak <punith...@chromium.org>
Gerrit-Reviewer: Alvin Ji <alv...@chromium.org>
Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
Gerrit-CC: Hongchan Choi <hong...@chromium.org>
Gerrit-CC: Saqlain <2mesa...@gmail.com>
Gerrit-Attention: Alvin Ji <alv...@chromium.org>
Gerrit-Attention: Hongchan Choi <hong...@chromium.org>
Gerrit-Comment-Date: Mon, 09 Jun 2025 21:38:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Alvin Ji (Gerrit)

unread,
Jun 9, 2025, 7:52:53 PMJun 9
to Punith Nayak, Hongchan Choi, Saqlain, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
Attention needed from Hongchan Choi and Punith Nayak

Alvin Ji added 2 comments

Patchset-level comments
Alvin Ji . resolved

LGTM with nit

File third_party/blink/web_tests/webaudio/codec-tests/webm/webm-decode.html
Line 57, Patchset 8 (Latest): for (let i = 0; i < reference.length; ++i) {
assert_approx_equals(
actual[i], reference[i], kAbsTolerance,
`Channel ${channel}, sample ${i}`);
}
Alvin Ji . resolved

nit: If this will be used widely in multiple tests, it is probably a good idea to add this as a new method to a utility file. It's up to you whether do it here or in separate CL.

Open in Gerrit

Related details

Attention is currently required from:
  • Hongchan Choi
  • Punith Nayak
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
Gerrit-Change-Number: 6603253
Gerrit-PatchSet: 8
Gerrit-Owner: Punith Nayak <punith...@chromium.org>
Gerrit-Reviewer: Alvin Ji <alv...@chromium.org>
Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
Gerrit-CC: Hongchan Choi <hong...@chromium.org>
Gerrit-CC: Saqlain <2mesa...@gmail.com>
Gerrit-Attention: Hongchan Choi <hong...@chromium.org>
Gerrit-Attention: Punith Nayak <punith...@chromium.org>
Gerrit-Comment-Date: Mon, 09 Jun 2025 23:52:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Michael Wilson (Gerrit)

unread,
Jun 9, 2025, 8:47:29 PMJun 9
to Punith Nayak, Alvin Ji, Hongchan Choi, Saqlain, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
Attention needed from Alvin Ji and Punith Nayak

Michael Wilson added 1 comment

Patchset-level comments
Alvin Ji . unresolved

LGTM with nit

Michael Wilson

Hi Alvin, could you please +1 if you think this is mergable?

Open in Gerrit

Related details

Attention is currently required from:
  • Alvin Ji
  • Punith Nayak
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
    Gerrit-Change-Number: 6603253
    Gerrit-PatchSet: 8
    Gerrit-Owner: Punith Nayak <punith...@chromium.org>
    Gerrit-Reviewer: Alvin Ji <alv...@chromium.org>
    Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
    Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
    Gerrit-CC: Hongchan Choi <hong...@chromium.org>
    Gerrit-CC: Saqlain <2mesa...@gmail.com>
    Gerrit-Attention: Alvin Ji <alv...@chromium.org>
    Gerrit-Attention: Punith Nayak <punith...@chromium.org>
    Gerrit-Comment-Date: Tue, 10 Jun 2025 00:47:19 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Alvin Ji <alv...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Alvin Ji (Gerrit)

    unread,
    Jun 9, 2025, 8:53:03 PMJun 9
    to Punith Nayak, Hongchan Choi, Saqlain, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
    Attention needed from Punith Nayak

    Alvin Ji voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Punith Nayak
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
    Gerrit-Change-Number: 6603253
    Gerrit-PatchSet: 8
    Gerrit-Owner: Punith Nayak <punith...@chromium.org>
    Gerrit-Reviewer: Alvin Ji <alv...@chromium.org>
    Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
    Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
    Gerrit-CC: Hongchan Choi <hong...@chromium.org>
    Gerrit-CC: Saqlain <2mesa...@gmail.com>
    Gerrit-Attention: Punith Nayak <punith...@chromium.org>
    Gerrit-Comment-Date: Tue, 10 Jun 2025 00:52:54 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Alvin Ji (Gerrit)

    unread,
    Jun 9, 2025, 8:53:36 PMJun 9
    to Punith Nayak, Hongchan Choi, Saqlain, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org
    Attention needed from Punith Nayak

    Alvin Ji added 1 comment

    Patchset-level comments
    Alvin Ji . resolved

    LGTM with nit

    Michael Wilson

    Hi Alvin, could you please +1 if you think this is mergable?

    Alvin Ji

    Done!

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Punith Nayak
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
    Gerrit-Change-Number: 6603253
    Gerrit-PatchSet: 8
    Gerrit-Owner: Punith Nayak <punith...@chromium.org>
    Gerrit-Reviewer: Alvin Ji <alv...@chromium.org>
    Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
    Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
    Gerrit-CC: Hongchan Choi <hong...@chromium.org>
    Gerrit-CC: Saqlain <2mesa...@gmail.com>
    Gerrit-Attention: Punith Nayak <punith...@chromium.org>
    Gerrit-Comment-Date: Tue, 10 Jun 2025 00:53:25 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Alvin Ji <alv...@chromium.org>
    Comment-In-Reply-To: Michael Wilson <mjwi...@chromium.org>
    satisfied_requirement
    open
    diffy

    Punith Nayak (Gerrit)

    unread,
    Jun 10, 2025, 7:10:10 PMJun 10
    to Alvin Ji, Hongchan Choi, Saqlain, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-...@chromium.org

    Punith Nayak voted Commit-Queue+2

    Commit-Queue+2
    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
    Gerrit-Change-Number: 6603253
    Gerrit-PatchSet: 8
    Gerrit-Owner: Punith Nayak <punith...@chromium.org>
    Gerrit-Reviewer: Alvin Ji <alv...@chromium.org>
    Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
    Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
    Gerrit-CC: Hongchan Choi <hong...@chromium.org>
    Gerrit-CC: Saqlain <2mesa...@gmail.com>
    Gerrit-Comment-Date: Tue, 10 Jun 2025 23:09:37 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    Jun 10, 2025, 7:34:20 PMJun 10
    to Punith Nayak, Alvin Ji, Hongchan Choi, Saqlain, chromium...@chromium.org, AyeAye, blink-...@chromium.org

    Chromium LUCI CQ submitted the change

    Change information

    Commit message:
    [WebAudio] Migrate webm decoding test from audit.js to testharness.js

    Replaces audit.js usage with testharness.js while preserving all original
    test logic and validations, including SNR checks and frame-level comparisons.

    Bug: 396477778
    Change-Id: I26a64956f708351f2125220b69139148e596b22f
    Reviewed-by: Alvin Ji <alv...@chromium.org>
    Commit-Queue: Punith Nayak <punith...@chromium.org>
    Reviewed-by: Michael Wilson <mjwi...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1472131}
    Files:
    • M third_party/blink/web_tests/webaudio/codec-tests/webm/webm-decode.html
    • M third_party/blink/web_tests/webaudio/resources/audit-util.js
    Change size: M
    Delta: 2 files changed, 112 insertions(+), 53 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Michael Wilson, +1 by Alvin Ji
    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: I26a64956f708351f2125220b69139148e596b22f
    Gerrit-Change-Number: 6603253
    Gerrit-PatchSet: 9
    Gerrit-Owner: Punith Nayak <punith...@chromium.org>
    Gerrit-Reviewer: Alvin Ji <alv...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
    Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
    open
    diffy
    satisfied_requirement

    luci-bisection@appspot.gserviceaccount.com (Gerrit)

    unread,
    Jun 10, 2025, 11:13:39 PMJun 10
    to Chromium LUCI CQ, Punith Nayak, Alvin Ji, Hongchan Choi, Saqlain, chromium...@chromium.org, AyeAye, blink-...@chromium.org

    Message from luci-bi...@appspot.gserviceaccount.com

    LUCI Bisection has identified this change as the cause of a test failure. See the analysis: https://ci.chromium.org/ui/p/chromium/bisection/test-analysis/b/5658720433340416

    Sample build with failed test: https://ci.chromium.org/b/8712404747455593089
    Affected test(s):
    [ninja://:blink_web_tests/webaudio/codec-tests/webm/webm-decode.html](https://ci.chromium.org/ui/test/chromium/ninja:%2F%2F:blink_web_tests%2Fwebaudio%2Fcodec-tests%2Fwebm%2Fwebm-decode.html?q=VHash%3A8b2de2ca283257e5)
    A revert for this change was not created because the builder that this CL broke is not watched by gardeners, therefore less important. You can consider revert this CL, fix forward or let builder owners resolve it themselves.

    If this is a false positive, please report it at http://b.corp.google.com/createIssue?component=1199205&description=Analysis%3A+https%3A%2F%2Fci.chromium.org%2Fui%2Fp%2Fchromium%2Fbisection%2Ftest-analysis%2Fb%2F5658720433340416&format=PLAIN&priority=P3&title=Wrongly+blamed+https%3A%2F%2Fchromium-review.googlesource.com%2Fc%2Fchromium%2Fsrc%2F%2B%2F6603253&type=BUG

    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I26a64956f708351f2125220b69139148e596b22f
    Gerrit-Change-Number: 6603253
    Gerrit-PatchSet: 9
    Gerrit-Owner: Punith Nayak <punith...@chromium.org>
    Gerrit-Reviewer: Alvin Ji <alv...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
    Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
    Gerrit-CC: Hongchan Choi <hong...@chromium.org>
    Gerrit-CC: Saqlain <2mesa...@gmail.com>
    Gerrit-Comment-Date: Wed, 11 Jun 2025 03:13:30 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    open
    diffy

    luci-bisection@appspot.gserviceaccount.com (Gerrit)

    unread,
    Jun 11, 2025, 4:19:39 AMJun 11
    to Chromium LUCI CQ, Punith Nayak, Alvin Ji, Hongchan Choi, Saqlain, chromium...@chromium.org, AyeAye, blink-...@chromium.org

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: revert
    satisfied_requirement
    open
    diffy

    Punith Nayak (Gerrit)

    unread,
    Jun 12, 2025, 7:55:55 PMJun 12
    to Adam Raine, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, blink-...@chromium.org
    Attention needed from Adam Raine and Michael Wilson

    Punith Nayak voted Commit-Queue+1

    Commit-Queue+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Adam Raine
    • Michael Wilson
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I6b635023dfbc6bf588a907068152675f92361244
    Gerrit-Change-Number: 6639215
    Gerrit-PatchSet: 5
    Gerrit-Owner: Punith Nayak <punith...@chromium.org>
    Gerrit-Reviewer: Adam Raine <asr...@chromium.org>
    Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
    Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
    Gerrit-Attention: Adam Raine <asr...@chromium.org>
    Gerrit-Attention: Michael Wilson <mjwi...@chromium.org>
    Gerrit-Comment-Date: Thu, 12 Jun 2025 23:55:30 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Punith Nayak (Gerrit)

    unread,
    Jun 12, 2025, 9:32:24 PMJun 12
    to Adam Raine, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, blink-...@chromium.org
    Attention needed from Adam Raine and Michael Wilson

    Punith Nayak added 1 comment

    Patchset-level comments
    File-level comment, Patchset 5 (Latest):
    Punith Nayak . resolved

    Hey @mjwi...@chromium.org

    The Win11 bot is running properly. Please start any other necessary bots that you have access to, so the patch remains stable and doesn't get reverted.

    Gerrit-Comment-Date: Fri, 13 Jun 2025 01:32:02 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Michael Wilson (Gerrit)

    unread,
    Jun 16, 2025, 3:01:23 PMJun 16
    to Punith Nayak, Adam Raine, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, blink-...@chromium.org
    Attention needed from Adam Raine and Punith Nayak

    Michael Wilson voted and added 2 comments

    Votes added by Michael Wilson

    Code-Review+1

    2 comments

    Patchset-level comments
    Punith Nayak . resolved

    Hey @mjwi...@chromium.org

    The Win11 bot is running properly. Please start any other necessary bots that you have access to, so the patch remains stable and doesn't get reverted.

    Michael Wilson

    I see "expectedly failed" in the mac15.arm64-blink-rel results, so I think we should be good. Let's monitor after landing this.

    Michael Wilson . resolved

    LGTM

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Adam Raine
    • Punith Nayak
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I6b635023dfbc6bf588a907068152675f92361244
    Gerrit-Change-Number: 6639215
    Gerrit-PatchSet: 5
    Gerrit-Owner: Punith Nayak <punith...@chromium.org>
    Gerrit-Reviewer: Adam Raine <asr...@chromium.org>
    Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
    Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
    Gerrit-Attention: Adam Raine <asr...@chromium.org>
    Gerrit-Attention: Punith Nayak <punith...@chromium.org>
    Gerrit-Comment-Date: Mon, 16 Jun 2025 19:00:50 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Punith Nayak <punith...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Alvin Ji (Gerrit)

    unread,
    Jun 17, 2025, 6:19:47 PMJun 17
    to Punith Nayak, Adam Raine, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, blink-...@chromium.org
    Attention needed from Adam Raine and Punith Nayak

    Alvin Ji voted and added 1 comment

    Votes added by Alvin Ji

    Code-Review+1

    1 comment

    Patchset-level comments
    Alvin Ji . resolved

    LGTM

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Adam Raine
    • Punith Nayak
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I6b635023dfbc6bf588a907068152675f92361244
    Gerrit-Change-Number: 6639215
    Gerrit-PatchSet: 5
    Gerrit-Owner: Punith Nayak <punith...@chromium.org>
    Gerrit-Reviewer: Alvin Ji <alv...@chromium.org>
    Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
    Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
    Gerrit-CC: Adam Raine <asr...@chromium.org>
    Gerrit-Attention: Adam Raine <asr...@chromium.org>
    Gerrit-Attention: Punith Nayak <punith...@chromium.org>
    Gerrit-Comment-Date: Tue, 17 Jun 2025 22:19:37 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Punith Nayak (Gerrit)

    unread,
    Jun 17, 2025, 6:21:19 PMJun 17
    to Alvin Ji, Adam Raine, Chromium LUCI CQ, AyeAye, chromium...@chromium.org, blink-...@chromium.org
    Attention needed from Adam Raine

    Punith Nayak voted Commit-Queue+2

    Commit-Queue+2
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Adam Raine
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I6b635023dfbc6bf588a907068152675f92361244
    Gerrit-Change-Number: 6639215
    Gerrit-PatchSet: 5
    Gerrit-Owner: Punith Nayak <punith...@chromium.org>
    Gerrit-Reviewer: Alvin Ji <alv...@chromium.org>
    Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
    Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
    Gerrit-CC: Adam Raine <asr...@chromium.org>
    Gerrit-Attention: Adam Raine <asr...@chromium.org>
    Gerrit-Comment-Date: Tue, 17 Jun 2025 22:20:48 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    Jun 17, 2025, 6:48:14 PMJun 17
    to Punith Nayak, Alvin Ji, Adam Raine, AyeAye, chromium...@chromium.org, blink-...@chromium.org

    Chromium LUCI CQ submitted the change

    Change information

    Commit message:
    [WebAudio] [Re-land] Migrate webm decoding test from audit.js to testharness.js


    Replaces audit.js usage with testharness.js while preserving all original
    test logic and validations, including SNR checks and frame-level comparisons.
    Bug: 396477778
    Change-Id: I6b635023dfbc6bf588a907068152675f92361244
    Reviewed-by: Michael Wilson <mjwi...@chromium.org>
    Reviewed-by: Alvin Ji <alv...@chromium.org>
    Commit-Queue: Punith Nayak <punith...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1475279}
    Files:
    • M third_party/blink/web_tests/platform/mac-mac15-arm64/webaudio/codec-tests/webm/webm-decode-expected.txt
    • M third_party/blink/web_tests/platform/win11-arm64/webaudio/codec-tests/webm/webm-decode-expected.txt
    • M third_party/blink/web_tests/webaudio/codec-tests/webm/webm-decode.html
    • M third_party/blink/web_tests/webaudio/resources/audit-util.js
    Change size: M
    Delta: 4 files changed, 117 insertions(+), 70 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Michael Wilson, +1 by Alvin Ji
    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: I6b635023dfbc6bf588a907068152675f92361244
    Gerrit-Change-Number: 6639215
    Gerrit-PatchSet: 6
    Gerrit-Owner: Punith Nayak <punith...@chromium.org>
    Gerrit-Reviewer: Alvin Ji <alv...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
    Gerrit-Reviewer: Punith Nayak <punith...@chromium.org>
    Gerrit-CC: Adam Raine <asr...@chromium.org>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages