[webaudio-testharness] Migrate audiobuffersource-duration-loop.html [chromium/src : main]

0 views
Skip to first unread message

Michael Wilson (Gerrit)

unread,
Dec 29, 2025, 8:40:02 PM (13 days ago) 12/29/25
to Muhammad Saqlain, Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-revie...@chromium.org, blink-...@chromium.org
Attention needed from Hongchan Choi and Muhammad Saqlain

Michael Wilson voted and added 2 comments

Votes added by Michael Wilson

Code-Review+1

2 comments

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

LGTM with nit, thank you!

File third_party/blink/web_tests/external/wpt/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-duration-loop.html
Line 23, Patchset 2 (Latest): const source = new AudioBufferSourceNode(context);
source.loop = true;
source.loopStart = 1024 / context.sampleRate;
source.loopEnd = 2048 / context.sampleRate;
source.buffer = buffer;
Michael Wilson . unresolved
Nit: we can pass the properties into the constructor:
```suggestion
const source = new AudioBufferSourceNode(context, {
buffer,
loop: true,
loopEnd: 2048 / context.sampleRate,
loopStart: 1024 / context.sampleRate,
});
```
Open in Gerrit

Related details

Attention is currently required from:
  • Hongchan Choi
  • Muhammad Saqlain
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ie865b91de9743126b15514f80921734b02f77389
Gerrit-Change-Number: 7320181
Gerrit-PatchSet: 2
Gerrit-Owner: Muhammad Saqlain <saq...@chromium.org>
Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
Gerrit-Reviewer: Muhammad Saqlain <saq...@chromium.org>
Gerrit-Attention: Muhammad Saqlain <saq...@chromium.org>
Gerrit-Attention: Hongchan Choi <hong...@chromium.org>
Gerrit-Comment-Date: Tue, 30 Dec 2025 01:39:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Muhammad Saqlain (Gerrit)

unread,
Dec 29, 2025, 9:10:41 PM (13 days ago) 12/29/25
to Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-revie...@chromium.org, blink-...@chromium.org
Attention needed from Hongchan Choi

Muhammad Saqlain added 1 comment

File third_party/blink/web_tests/external/wpt/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-duration-loop.html
Line 23, Patchset 2 (Latest): const source = new AudioBufferSourceNode(context);
source.loop = true;
source.loopStart = 1024 / context.sampleRate;
source.loopEnd = 2048 / context.sampleRate;
source.buffer = buffer;
Michael Wilson . resolved
Nit: we can pass the properties into the constructor:
```suggestion
const source = new AudioBufferSourceNode(context, {
buffer,
loop: true,
loopEnd: 2048 / context.sampleRate,
loopStart: 1024 / context.sampleRate,
});
```
Muhammad Saqlain

Fix applied.

Open in Gerrit

Related details

Attention is currently required from:
  • Hongchan Choi
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: Ie865b91de9743126b15514f80921734b02f77389
    Gerrit-Change-Number: 7320181
    Gerrit-PatchSet: 2
    Gerrit-Owner: Muhammad Saqlain <saq...@chromium.org>
    Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
    Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
    Gerrit-Reviewer: Muhammad Saqlain <saq...@chromium.org>
    Gerrit-Attention: Hongchan Choi <hong...@chromium.org>
    Gerrit-Comment-Date: Tue, 30 Dec 2025 02:10:20 +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,
    Dec 29, 2025, 10:38:59 PM (13 days ago) 12/29/25
    to Muhammad Saqlain, Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-revie...@chromium.org, blink-...@chromium.org
    Attention needed from Hongchan Choi and Muhammad Saqlain

    Michael Wilson added 2 comments

    File third_party/blink/web_tests/external/wpt/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-duration-loop.html
    Line 9, Patchset 3 (Latest): <script src="/webaudio/resources/audit-util.js"></script>
    Michael Wilson . unresolved

    We may not need audit-util.js now (sorry I missed this in my initial review), could you please check?

    Line 28, Patchset 3 (Latest):});
    Michael Wilson . unresolved

    Please fix the indentation here.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Hongchan Choi
    • Muhammad Saqlain
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: Ie865b91de9743126b15514f80921734b02f77389
      Gerrit-Change-Number: 7320181
      Gerrit-PatchSet: 3
      Gerrit-Owner: Muhammad Saqlain <saq...@chromium.org>
      Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
      Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
      Gerrit-Reviewer: Muhammad Saqlain <saq...@chromium.org>
      Gerrit-Attention: Muhammad Saqlain <saq...@chromium.org>
      Gerrit-Attention: Hongchan Choi <hong...@chromium.org>
      Gerrit-Comment-Date: Tue, 30 Dec 2025 03:38:47 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Muhammad Saqlain (Gerrit)

      unread,
      Dec 30, 2025, 3:29:18 PM (12 days ago) 12/30/25
      to Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-revie...@chromium.org, blink-...@chromium.org
      Attention needed from Hongchan Choi and Michael Wilson

      Muhammad Saqlain added 2 comments

      File third_party/blink/web_tests/external/wpt/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-duration-loop.html
      Line 9, Patchset 3: <script src="/webaudio/resources/audit-util.js"></script>
      Michael Wilson . resolved

      We may not need audit-util.js now (sorry I missed this in my initial review), could you please check?

      Muhammad Saqlain

      Done

      Line 28, Patchset 3:});
      Michael Wilson . resolved

      Please fix the indentation here.

      Muhammad Saqlain

      Done

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Hongchan Choi
      • 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: Ie865b91de9743126b15514f80921734b02f77389
        Gerrit-Change-Number: 7320181
        Gerrit-PatchSet: 4
        Gerrit-Owner: Muhammad Saqlain <saq...@chromium.org>
        Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
        Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
        Gerrit-Reviewer: Muhammad Saqlain <saq...@chromium.org>
        Gerrit-Attention: Michael Wilson <mjwi...@chromium.org>
        Gerrit-Attention: Hongchan Choi <hong...@chromium.org>
        Gerrit-Comment-Date: Tue, 30 Dec 2025 20:29:04 +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,
        Dec 30, 2025, 3:43:03 PM (12 days ago) 12/30/25
        to Muhammad Saqlain, Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-revie...@chromium.org, blink-...@chromium.org
        Attention needed from Hongchan Choi and Muhammad Saqlain

        Michael Wilson voted Code-Review+1

        Code-Review+1
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Hongchan Choi
        • Muhammad Saqlain
        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: Ie865b91de9743126b15514f80921734b02f77389
        Gerrit-Change-Number: 7320181
        Gerrit-PatchSet: 4
        Gerrit-Owner: Muhammad Saqlain <saq...@chromium.org>
        Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
        Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
        Gerrit-Reviewer: Muhammad Saqlain <saq...@chromium.org>
        Gerrit-Attention: Muhammad Saqlain <saq...@chromium.org>
        Gerrit-Attention: Hongchan Choi <hong...@chromium.org>
        Gerrit-Comment-Date: Tue, 30 Dec 2025 20:42:43 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Hongchan Choi (Gerrit)

        unread,
        Jan 5, 2026, 5:43:56 PM (6 days ago) Jan 5
        to Muhammad Saqlain, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-revie...@chromium.org, blink-...@chromium.org
        Attention needed from Muhammad Saqlain

        Hongchan Choi voted and added 2 comments

        Votes added by Hongchan Choi

        Code-Review+1

        2 comments

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

        LGTM with nits

        File third_party/blink/web_tests/external/wpt/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-duration-loop.html
        Line 16, Patchset 4 (Latest): const buffer = context.createBuffer(1, 2048, context.sampleRate);
        Hongchan Choi . unresolved

        Can we use `new AudioBuffer()` instead?

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Muhammad Saqlain
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement satisfiedCode-Owners
          • requirement satisfiedCode-Review
          • requirement is not satisfiedNo-Unresolved-Comments
          • requirement satisfiedReview-Enforcement
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: Ie865b91de9743126b15514f80921734b02f77389
          Gerrit-Change-Number: 7320181
          Gerrit-PatchSet: 4
          Gerrit-Owner: Muhammad Saqlain <saq...@chromium.org>
          Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
          Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
          Gerrit-Reviewer: Muhammad Saqlain <saq...@chromium.org>
          Gerrit-Attention: Muhammad Saqlain <saq...@chromium.org>
          Gerrit-Comment-Date: Mon, 05 Jan 2026 22:43:43 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Muhammad Saqlain (Gerrit)

          unread,
          Jan 8, 2026, 4:31:51 PM (3 days ago) Jan 8
          to Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-revie...@chromium.org, blink-...@chromium.org
          Attention needed from Hongchan Choi and Michael Wilson

          Muhammad Saqlain added 1 comment

          File third_party/blink/web_tests/external/wpt/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-duration-loop.html
          Line 16, Patchset 4: const buffer = context.createBuffer(1, 2048, context.sampleRate);
          Hongchan Choi . resolved

          Can we use `new AudioBuffer()` instead?

          Muhammad Saqlain

          sure

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Hongchan Choi
          • 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: Ie865b91de9743126b15514f80921734b02f77389
            Gerrit-Change-Number: 7320181
            Gerrit-PatchSet: 5
            Gerrit-Owner: Muhammad Saqlain <saq...@chromium.org>
            Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
            Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
            Gerrit-Reviewer: Muhammad Saqlain <saq...@chromium.org>
            Gerrit-Attention: Michael Wilson <mjwi...@chromium.org>
            Gerrit-Attention: Hongchan Choi <hong...@chromium.org>
            Gerrit-Comment-Date: Thu, 08 Jan 2026 21:31:38 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            Comment-In-Reply-To: Hongchan Choi <hong...@chromium.org>
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Michael Wilson (Gerrit)

            unread,
            Jan 8, 2026, 5:47:55 PM (3 days ago) Jan 8
            to Muhammad Saqlain, Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-revie...@chromium.org, blink-...@chromium.org
            Attention needed from Muhammad Saqlain

            Michael Wilson added 2 comments

            File third_party/blink/web_tests/external/wpt/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-duration-loop.html
            Line 17, Patchset 5 (Latest): numberOfChannels: 1,
            Michael Wilson . unresolved

            Please fix this WARNING reported by Trailing Whitespace: Please remove the trailing whitespace.

            Please remove the trailing whitespace.

            Line 18, Patchset 5 (Latest): length: 2048,
            Michael Wilson . unresolved

            Please fix this WARNING reported by Trailing Whitespace: Please remove the trailing whitespace.

            Please remove the trailing whitespace.

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Muhammad Saqlain
            Submit Requirements:
              • requirement satisfiedCode-Coverage
              • requirement satisfiedCode-Owners
              • requirement is not satisfiedCode-Review
              • requirement is not satisfiedNo-Unresolved-Comments
              • requirement is not satisfiedReview-Enforcement
              Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
              Gerrit-MessageType: comment
              Gerrit-Project: chromium/src
              Gerrit-Branch: main
              Gerrit-Change-Id: Ie865b91de9743126b15514f80921734b02f77389
              Gerrit-Change-Number: 7320181
              Gerrit-PatchSet: 5
              Gerrit-Owner: Muhammad Saqlain <saq...@chromium.org>
              Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
              Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
              Gerrit-Reviewer: Muhammad Saqlain <saq...@chromium.org>
              Gerrit-Attention: Muhammad Saqlain <saq...@chromium.org>
              Gerrit-Comment-Date: Thu, 08 Jan 2026 22:47:47 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: No
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy

              Muhammad Saqlain (Gerrit)

              unread,
              Jan 9, 2026, 6:52:57 PM (2 days ago) Jan 9
              to Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-revie...@chromium.org, blink-...@chromium.org
              Attention needed from Michael Wilson

              Muhammad Saqlain added 2 comments

              File third_party/blink/web_tests/external/wpt/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-duration-loop.html
              Line 17, Patchset 5: numberOfChannels: 1,
              Michael Wilson . resolved

              Please fix this WARNING reported by Trailing Whitespace: Please remove the trailing whitespace.

              Please remove the trailing whitespace.

              Muhammad Saqlain

              thank you for noticing

              Line 18, Patchset 5: length: 2048,
              Michael Wilson . resolved

              Please fix this WARNING reported by Trailing Whitespace: Please remove the trailing whitespace.

              Please remove the trailing whitespace.

              Muhammad Saqlain

              Done

              Open in Gerrit

              Related details

              Attention is currently required from:
              • 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: Ie865b91de9743126b15514f80921734b02f77389
                Gerrit-Change-Number: 7320181
                Gerrit-PatchSet: 6
                Gerrit-Owner: Muhammad Saqlain <saq...@chromium.org>
                Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
                Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
                Gerrit-Reviewer: Muhammad Saqlain <saq...@chromium.org>
                Gerrit-Attention: Michael Wilson <mjwi...@chromium.org>
                Gerrit-Comment-Date: Fri, 09 Jan 2026 23:52:39 +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,
                Jan 9, 2026, 7:55:43 PM (2 days ago) Jan 9
                to Muhammad Saqlain, Hongchan Choi, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, blink-revie...@chromium.org, blink-...@chromium.org
                Attention needed from Hongchan Choi and Muhammad Saqlain

                Michael Wilson voted Code-Review+1

                Code-Review+1
                Open in Gerrit

                Related details

                Attention is currently required from:
                • Hongchan Choi
                • Muhammad Saqlain
                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: Ie865b91de9743126b15514f80921734b02f77389
                Gerrit-Change-Number: 7320181
                Gerrit-PatchSet: 6
                Gerrit-Owner: Muhammad Saqlain <saq...@chromium.org>
                Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
                Gerrit-Reviewer: Michael Wilson <mjwi...@chromium.org>
                Gerrit-Reviewer: Muhammad Saqlain <saq...@chromium.org>
                Gerrit-Attention: Muhammad Saqlain <saq...@chromium.org>
                Gerrit-Attention: Hongchan Choi <hong...@chromium.org>
                Gerrit-Comment-Date: Sat, 10 Jan 2026 00:55:31 +0000
                Gerrit-HasComments: No
                Gerrit-Has-Labels: Yes
                satisfied_requirement
                unsatisfied_requirement
                open
                diffy
                Reply all
                Reply to author
                Forward
                0 new messages