[WebAudio] Discard playback stats collected while page is hidden [chromium/src : main]

0 views
Skip to first unread message

Hongchan Choi (Gerrit)

unread,
May 1, 2026, 12:58:49 PM (4 days ago) May 1
to Fredrik Hernqvist, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, blink-...@chromium.org
Attention needed from Fredrik Hernqvist

Hongchan Choi added 1 comment

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

PTAL

Open in Gerrit

Related details

Attention is currently required from:
  • Fredrik Hernqvist
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: I879f6d6e384ec784c5573ee1ceb1b33383654a3a
Gerrit-Change-Number: 7808857
Gerrit-PatchSet: 1
Gerrit-Owner: Hongchan Choi <hong...@chromium.org>
Gerrit-Reviewer: Fredrik Hernqvist <fhern...@google.com>
Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
Gerrit-Attention: Fredrik Hernqvist <fhern...@google.com>
Gerrit-Comment-Date: Fri, 01 May 2026 16:58:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Fredrik Hernqvist (Gerrit)

unread,
5:07 AM (9 hours ago) 5:07 AM
to Hongchan Choi, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, blink-...@chromium.org
Attention needed from Hongchan Choi

Fredrik Hernqvist voted and added 1 comment

Votes added by Fredrik Hernqvist

Code-Review+1

1 comment

File third_party/blink/renderer/modules/webaudio/audio_context_test.cc
Line 1441, Patchset 1 (Latest): int glitches_after = playback_stats->underrunEvents(script_state);
Fredrik Hernqvist . unresolved

Can we verify that totalDuration has also been frozen while hidden? Since it's used as a reference for the glitches, we don't want them to get out of sync.

Open in Gerrit

Related details

Attention is currently required from:
  • Hongchan Choi
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: I879f6d6e384ec784c5573ee1ceb1b33383654a3a
    Gerrit-Change-Number: 7808857
    Gerrit-PatchSet: 1
    Gerrit-Owner: Hongchan Choi <hong...@chromium.org>
    Gerrit-Reviewer: Fredrik Hernqvist <fhern...@google.com>
    Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
    Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
    Gerrit-Attention: Hongchan Choi <hong...@chromium.org>
    Gerrit-Comment-Date: Tue, 05 May 2026 09:06:44 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Hongchan Choi (Gerrit)

    unread,
    1:09 PM (1 hour ago) 1:09 PM
    to Fredrik Hernqvist, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, blink-...@chromium.org
    Attention needed from Fredrik Hernqvist

    Hongchan Choi added 1 comment

    File third_party/blink/renderer/modules/webaudio/audio_context_test.cc
    Line 1441, Patchset 1: int glitches_after = playback_stats->underrunEvents(script_state);
    Fredrik Hernqvist . unresolved

    Can we verify that totalDuration has also been frozen while hidden? Since it's used as a reference for the glitches, we don't want them to get out of sync.

    Hongchan Choi

    How does this look? (EXPECT_NEAR in particular)

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Fredrik Hernqvist
    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: I879f6d6e384ec784c5573ee1ceb1b33383654a3a
    Gerrit-Change-Number: 7808857
    Gerrit-PatchSet: 2
    Gerrit-Owner: Hongchan Choi <hong...@chromium.org>
    Gerrit-Reviewer: Fredrik Hernqvist <fhern...@google.com>
    Gerrit-Reviewer: Hongchan Choi <hong...@chromium.org>
    Gerrit-CC: Michael Wilson <mjwi...@chromium.org>
    Gerrit-Attention: Fredrik Hernqvist <fhern...@google.com>
    Gerrit-Comment-Date: Tue, 05 May 2026 17:08:47 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Fredrik Hernqvist <fhern...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages