Fix flaky tests when WaylandExternalBeginFrameSource is enabled [chromium/src : main]

0 views
Skip to first unread message

Kramer Ge (Gerrit)

unread,
Aug 11, 2026, 5:14:46 PM (2 days ago) Aug 11
to Thomas Anderson, //chrome/browser/ui/views Reviews, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, max+watc...@igalia.com, ozone-...@chromium.org, nickdiego+wa...@igalia.com
Attention needed from //chrome/browser/ui/views Reviews and Thomas Anderson

Kramer Ge voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • //chrome/browser/ui/views Reviews
  • Thomas Anderson
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I621d689a047d7343c3b630a9cb93f902876b425f
Gerrit-Change-Number: 8225068
Gerrit-PatchSet: 6
Gerrit-Owner: Kramer Ge <fang...@chromium.org>
Gerrit-Reviewer: //chrome/browser/ui/views Reviews <chromium-chrome-brow...@google.com>
Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Attention: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Attention: //chrome/browser/ui/views Reviews <chromium-chrome-brow...@google.com>
Gerrit-Comment-Date: Tue, 11 Aug 2026 21:14:37 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

gwsq (Gerrit)

unread,
Aug 11, 2026, 5:19:04 PM (2 days ago) Aug 11
to //chrome/browser/ui/views Reviews, Dana Fried, Chromium LUCI CQ, Thomas Anderson, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, max+watc...@igalia.com, ozone-...@chromium.org, nickdiego+wa...@igalia.com
Attention needed from Dana Fried and Thomas Anderson

Message from gwsq

Reviewer source(s):
dfr...@chromium.org is from context(googleclient/chrome/chromium_gwsq/chrome/browser/ui/views/config.gwsq)

Open in Gerrit

Related details

Attention is currently required from:
  • Dana Fried
  • Thomas Anderson
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I621d689a047d7343c3b630a9cb93f902876b425f
Gerrit-Change-Number: 8225068
Gerrit-PatchSet: 6
Gerrit-Owner: Kramer Ge <fang...@chromium.org>
Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
Gerrit-CC: //chrome/browser/ui/views Reviews <chromium-chrome-brow...@google.com>
Gerrit-CC: gwsq
Gerrit-Attention: Dana Fried <dfr...@chromium.org>
Gerrit-Attention: Thomas Anderson <thomasa...@chromium.org>
Gerrit-Comment-Date: Tue, 11 Aug 2026 21:18:32 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Thomas Anderson (Gerrit)

unread,
Aug 11, 2026, 5:19:13 PM (2 days ago) Aug 11
to Kramer Ge, //chrome/browser/ui/views Reviews, Dana Fried, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, max+watc...@igalia.com, ozone-...@chromium.org, nickdiego+wa...@igalia.com
Attention needed from Dana Fried and Kramer Ge

Thomas Anderson voted and added 1 comment

Votes added by Thomas Anderson

Code-Review+1

1 comment

Patchset-level comments
File-level comment, Patchset 6 (Latest):
Thomas Anderson . resolved

lgtm as a stopgap until weston is upreved

Open in Gerrit

Related details

Attention is currently required from:
  • Dana Fried
  • Kramer Ge
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I621d689a047d7343c3b630a9cb93f902876b425f
    Gerrit-Change-Number: 8225068
    Gerrit-PatchSet: 6
    Gerrit-Owner: Kramer Ge <fang...@chromium.org>
    Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
    Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
    Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
    Gerrit-CC: //chrome/browser/ui/views Reviews <chromium-chrome-brow...@google.com>
    Gerrit-CC: gwsq
    Gerrit-Attention: Dana Fried <dfr...@chromium.org>
    Gerrit-Attention: Kramer Ge <fang...@chromium.org>
    Gerrit-Comment-Date: Tue, 11 Aug 2026 21:18:59 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Dana Fried (Gerrit)

    unread,
    Aug 12, 2026, 8:59:23 AM (20 hours ago) Aug 12
    to Kramer Ge, Thomas Anderson, //chrome/browser/ui/views Reviews, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, max+watc...@igalia.com, ozone-...@chromium.org, nickdiego+wa...@igalia.com
    Attention needed from Kramer Ge

    Dana Fried voted and added 1 comment

    Votes added by Dana Fried

    Code-Review+1

    1 comment

    File chrome/browser/ui/views/frame/multi_contents_view_browsertest.cc
    Line 552, Patchset 6 (Latest): // On Wayland, the 2nd resize is for xdg_toplevel.set_fullscreen, so 2 is
    Dana Fried . unresolved

    question: is the 2 here a result of the workaround you've built, is it tied to a particular reference implementation, or is it just how all Wayland works?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Kramer Ge
    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: I621d689a047d7343c3b630a9cb93f902876b425f
    Gerrit-Change-Number: 8225068
    Gerrit-PatchSet: 6
    Gerrit-Owner: Kramer Ge <fang...@chromium.org>
    Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
    Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
    Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
    Gerrit-CC: //chrome/browser/ui/views Reviews <chromium-chrome-brow...@google.com>
    Gerrit-CC: gwsq
    Gerrit-Attention: Kramer Ge <fang...@chromium.org>
    Gerrit-Comment-Date: Wed, 12 Aug 2026 12:59:08 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Kramer Ge (Gerrit)

    unread,
    Aug 12, 2026, 11:24:56 AM (17 hours ago) Aug 12
    to Dana Fried, Thomas Anderson, //chrome/browser/ui/views Reviews, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, max+watc...@igalia.com, ozone-...@chromium.org, nickdiego+wa...@igalia.com
    Attention needed from Dana Fried

    Kramer Ge added 1 comment

    File chrome/browser/ui/views/frame/multi_contents_view_browsertest.cc
    Line 552, Patchset 6 (Latest): // On Wayland, the 2nd resize is for xdg_toplevel.set_fullscreen, so 2 is
    Dana Fried . unresolved

    question: is the 2 here a result of the workaround you've built, is it tied to a particular reference implementation, or is it just how all Wayland works?

    Kramer Ge

    It's how wayland works. it requires 2 resize triggers, 1 for requesting it to the compositor and 1 for receiving the fullscreen event from the compositor, these happen asynchronously.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Dana Fried
    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: I621d689a047d7343c3b630a9cb93f902876b425f
    Gerrit-Change-Number: 8225068
    Gerrit-PatchSet: 6
    Gerrit-Owner: Kramer Ge <fang...@chromium.org>
    Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
    Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
    Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
    Gerrit-CC: //chrome/browser/ui/views Reviews <chromium-chrome-brow...@google.com>
    Gerrit-CC: gwsq
    Gerrit-Attention: Dana Fried <dfr...@chromium.org>
    Gerrit-Comment-Date: Wed, 12 Aug 2026 15:24:34 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Dana Fried <dfr...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Kramer Ge (Gerrit)

    unread,
    Aug 12, 2026, 1:09:55 PM (16 hours ago) Aug 12
    to Dana Fried, Thomas Anderson, //chrome/browser/ui/views Reviews, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, max+watc...@igalia.com, ozone-...@chromium.org, nickdiego+wa...@igalia.com
    Attention needed from Dana Fried

    Kramer Ge voted and added 1 comment

    Votes added by Kramer Ge

    Commit-Queue+2

    1 comment

    File chrome/browser/ui/views/frame/multi_contents_view_browsertest.cc
    Line 552, Patchset 6 (Latest): // On Wayland, the 2nd resize is for xdg_toplevel.set_fullscreen, so 2 is
    Dana Fried . resolved

    question: is the 2 here a result of the workaround you've built, is it tied to a particular reference implementation, or is it just how all Wayland works?

    Kramer Ge

    It's how wayland works. it requires 2 resize triggers, 1 for requesting it to the compositor and 1 for receiving the fullscreen event from the compositor, these happen asynchronously.

    Kramer Ge

    Marking as resolved.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Dana Fried
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I621d689a047d7343c3b630a9cb93f902876b425f
      Gerrit-Change-Number: 8225068
      Gerrit-PatchSet: 6
      Gerrit-Owner: Kramer Ge <fang...@chromium.org>
      Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
      Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
      Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-CC: //chrome/browser/ui/views Reviews <chromium-chrome-brow...@google.com>
      Gerrit-CC: gwsq
      Gerrit-Attention: Dana Fried <dfr...@chromium.org>
      Gerrit-Comment-Date: Wed, 12 Aug 2026 17:09:42 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Dana Fried <dfr...@chromium.org>
      Comment-In-Reply-To: Kramer Ge <fang...@chromium.org>
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      Aug 12, 2026, 1:21:21 PM (15 hours ago) Aug 12
      to Kramer Ge, Dana Fried, Thomas Anderson, //chrome/browser/ui/views Reviews, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, max+watc...@igalia.com, ozone-...@chromium.org, nickdiego+wa...@igalia.com

      Chromium LUCI CQ submitted the change

      Change information

      Commit message:
      Fix flaky tests when WaylandExternalBeginFrameSource is enabled

      Old version of weston does not ack empty frame callbacks immediately.
      Hence, tests are flaky because we often run into timeouts.

      Add test-only workaround to skip scheduling empty frame callbacks. And
      fix an expectation in multi-content test.
      Bug: 544919883, 477649985
      Change-Id: I621d689a047d7343c3b630a9cb93f902876b425f
      Reviewed-by: Thomas Anderson <thomasa...@chromium.org>
      Commit-Queue: Kramer Ge <fang...@chromium.org>
      Reviewed-by: Dana Fried <dfr...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1678145}
      Files:
      • M chrome/browser/ui/views/frame/multi_contents_view_browsertest.cc
      • M ui/ozone/platform/wayland/host/begin_frame_source_wayland.cc
      Change size: S
      Delta: 2 files changed, 31 insertions(+), 5 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Thomas Anderson, +1 by Dana Fried
      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: I621d689a047d7343c3b630a9cb93f902876b425f
      Gerrit-Change-Number: 8225068
      Gerrit-PatchSet: 7
      Gerrit-Owner: Kramer Ge <fang...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
      Gerrit-Reviewer: Kramer Ge <fang...@chromium.org>
      Gerrit-Reviewer: Thomas Anderson <thomasa...@chromium.org>
      Gerrit-CC: //chrome/browser/ui/views Reviews <chromium-chrome-brow...@google.com>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages