ContainerTiming: regression tests for cross-frame isolation [chromium/src : main]

0 views
Skip to first unread message

José Dapena Paz (Gerrit)

unread,
May 13, 2026, 10:44:02 AMMay 13
to chromium...@chromium.org, kinuko...@chromium.org, blink-rev...@chromium.org, jmedle...@chromium.org, blink-...@chromium.org, blink-revie...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, zol...@webkit.org

José Dapena Paz has uploaded the change for review

Commit message

ContainerTiming: regression tests for cross-frame isolation

Each frame has its own ContainerTiming Supplement and tracker; paints
inside an iframe must not surface in the parent.

Adds a blink_unittests case using SingleChildLocalFrameClient plus
same-origin and cross-origin WPTs (parent observer must stay silent;
subframe postMessages its own entries to prove paint occurred).
Bug: 489959278
Change-Id: I938abed481896c36abe2f5696beed0778bc032da

Change diff


Change information

Files:
  • M third_party/blink/renderer/core/paint/timing/container_timing_test.cc
  • A third_party/blink/web_tests/external/wpt/container-timing/tentative/iframe-isolation-cross-origin.sub.html
  • A third_party/blink/web_tests/external/wpt/container-timing/tentative/iframe-isolation-same-origin.html
  • A third_party/blink/web_tests/external/wpt/container-timing/tentative/resources/iframe-isolation-subframe.html
Change size: M
Delta: 4 files changed, 160 insertions(+), 0 deletions(-)
Open in Gerrit

Related details

Attention set is empty
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: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I938abed481896c36abe2f5696beed0778bc032da
Gerrit-Change-Number: 7842320
Gerrit-PatchSet: 1
Gerrit-Owner: José Dapena Paz <jda...@igalia.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Scott Haseley (Gerrit)

unread,
Jul 24, 2026, 5:01:55 PM (7 days ago) Jul 24
to José Dapena Paz, Michal Mocny, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, core-timi...@chromium.org, speed-metrics...@chromium.org, blink-rev...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, zol...@webkit.org
Attention needed from José Dapena Paz and Michal Mocny

Scott Haseley voted and added 2 comments

Votes added by Scott Haseley

Code-Review+1

2 comments

Patchset-level comments
File-level comment, Patchset 10 (Latest):
Scott Haseley . resolved

LGTM w/ one comment/question.

File third_party/blink/web_tests/external/wpt/container-timing/tentative/resources/iframe-isolation-subframe.html
Line 13, Patchset 10 (Latest): // does not deliver its paint-presentation callback in content_shell, so
// this signal may never arrive there.
Scott Haseley . unresolved

(btw, thanks for all the comments, very nice to read!).

It's a little unfortunate that we have to incorporate content_shell (i.e. Chromium) details into a WPT test. Do we get the presentation callback with `-enable-threaded-compositing`, or doesn't that work either? Is there any prior art here, or is this test paving the way?

(I wouldn't block on this, but it might be good to think about).

Open in Gerrit

Related details

Attention is currently required from:
  • José Dapena Paz
  • Michal Mocny
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: I938abed481896c36abe2f5696beed0778bc032da
Gerrit-Change-Number: 7842320
Gerrit-PatchSet: 10
Gerrit-Owner: José Dapena Paz <jda...@igalia.com>
Gerrit-Reviewer: José Dapena Paz <jda...@igalia.com>
Gerrit-Reviewer: Michal Mocny <mmo...@chromium.org>
Gerrit-Reviewer: Scott Haseley <shas...@chromium.org>
Gerrit-Attention: José Dapena Paz <jda...@igalia.com>
Gerrit-Attention: Michal Mocny <mmo...@chromium.org>
Gerrit-Comment-Date: Fri, 24 Jul 2026 21:01:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

José Dapena Paz (Gerrit)

unread,
Jul 29, 2026, 7:53:18 AM (3 days ago) Jul 29
to Scott Haseley, Michal Mocny, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, core-timi...@chromium.org, speed-metrics...@chromium.org, blink-rev...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, zol...@webkit.org
Attention needed from Michal Mocny and Scott Haseley

José Dapena Paz added 1 comment

File third_party/blink/web_tests/external/wpt/container-timing/tentative/resources/iframe-isolation-subframe.html
Line 13, Patchset 10: // does not deliver its paint-presentation callback in content_shell, so

// this signal may never arrive there.
Scott Haseley . resolved

(btw, thanks for all the comments, very nice to read!).

It's a little unfortunate that we have to incorporate content_shell (i.e. Chromium) details into a WPT test. Do we get the presentation callback with `-enable-threaded-compositing`, or doesn't that work either? Is there any prior art here, or is this test paving the way?

(I wouldn't block on this, but it might be good to think about).

José Dapena Paz

Checked it: --enable-threaded-compositing fixes it.

Cross-origin subframe, entries reaching its own observer:
single-threaded (default): paint 0, element 0, LCP 0, container 0
threaded compositing: paint 2, element 1, LCP 1, container 1
same-process cross-origin: paint 2, element 1, LCP 1, container 1

Not container-timing or origins: an out-of-process iframe gets no presentation feedback under the single-threaded web-test default, so every paint-timing API dies with it. Prior art: element-timing/cross-origin-iframe-element.sub.html (same test, weaker), and threaded-composited-iframes for the virtual-suite treatment.

So, comments no longer mention content_shell, the cross-origin test asserts the child's entry when it arrives, and a container-timing-threaded virtual suite runs
both tests with threaded compositing.

Open in Gerrit

Related details

Attention is currently required from:
  • Michal Mocny
  • Scott Haseley
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: I938abed481896c36abe2f5696beed0778bc032da
Gerrit-Change-Number: 7842320
Gerrit-PatchSet: 11
Gerrit-Owner: José Dapena Paz <jda...@igalia.com>
Gerrit-Reviewer: José Dapena Paz <jda...@igalia.com>
Gerrit-Reviewer: Michal Mocny <mmo...@chromium.org>
Gerrit-Reviewer: Scott Haseley <shas...@chromium.org>
Gerrit-Attention: Scott Haseley <shas...@chromium.org>
Gerrit-Attention: Michal Mocny <mmo...@chromium.org>
Gerrit-Comment-Date: Wed, 29 Jul 2026 11:53:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Scott Haseley <shas...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

José Dapena Paz (Gerrit)

unread,
Jul 29, 2026, 7:53:43 AM (3 days ago) Jul 29
to Scott Haseley, Michal Mocny, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, core-timi...@chromium.org, speed-metrics...@chromium.org, blink-rev...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, zol...@webkit.org
Attention needed from Michal Mocny and Scott Haseley

José Dapena Paz added 1 comment

Patchset-level comments
File-level comment, Patchset 11 (Latest):
José Dapena Paz . resolved

The changes are not trivial, so this requires review again.

Gerrit-Comment-Date: Wed, 29 Jul 2026 11:53:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Scott Haseley (Gerrit)

unread,
Jul 29, 2026, 12:29:34 PM (3 days ago) Jul 29
to José Dapena Paz, Michal Mocny, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, core-timi...@chromium.org, speed-metrics...@chromium.org, blink-rev...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, zol...@webkit.org
Attention needed from José Dapena Paz and Michal Mocny

Scott Haseley added 2 comments

File third_party/blink/web_tests/VirtualTestSuites
Line 383, Patchset 11 (Latest): "Container Timing entries are reported from a paint-presentation callback. ",
Scott Haseley . unresolved

Since this doesn't need any additional flags, maybe just add these to the "threaded" test suite? These should probably be exclusive_tests too, to force the config?

File third_party/blink/web_tests/external/wpt/container-timing/tentative/resources/iframe-isolation-subframe.html
Line 11, Patchset 11 (Latest): // - 'child-entries': this frame's own container-timing entry. Reporting it
// requires the implementation to resolve a paint-presentation time for
// this frame, which an embedder is not obliged to do for an iframe that
// renders in a separate process.
Scott Haseley . unresolved

I find this surprising. Is this specced to that way? Would this change if using an exclusive_test for the VirtualTestSuite to mimic production? I'd have to poke at LCP to see what we do in production, but I thought the OOPIF would have its own isolated performance timeline and the APIs should just work (currently ICP doesn't for any iframes, which is a WIP). But I haven't dug too much into iframes for the other perf APIs...

Open in Gerrit

Related details

Attention is currently required from:
  • José Dapena Paz
  • Michal Mocny
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not 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: I938abed481896c36abe2f5696beed0778bc032da
    Gerrit-Change-Number: 7842320
    Gerrit-PatchSet: 11
    Gerrit-Owner: José Dapena Paz <jda...@igalia.com>
    Gerrit-Reviewer: José Dapena Paz <jda...@igalia.com>
    Gerrit-Reviewer: Michal Mocny <mmo...@chromium.org>
    Gerrit-Reviewer: Scott Haseley <shas...@chromium.org>
    Gerrit-Attention: José Dapena Paz <jda...@igalia.com>
    Gerrit-Attention: Michal Mocny <mmo...@chromium.org>
    Gerrit-Comment-Date: Wed, 29 Jul 2026 16:29:25 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    José Dapena Paz (Gerrit)

    unread,
    Jul 30, 2026, 1:58:00 PM (2 days ago) Jul 30
    to Scott Haseley, Michal Mocny, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, core-timi...@chromium.org, speed-metrics...@chromium.org, blink-rev...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, zol...@webkit.org
    Attention needed from Michal Mocny and Scott Haseley

    José Dapena Paz added 2 comments

    File third_party/blink/web_tests/VirtualTestSuites
    Line 383, Patchset 11: "Container Timing entries are reported from a paint-presentation callback. ",
    Scott Haseley . resolved

    Since this doesn't need any additional flags, maybe just add these to the "threaded" test suite? These should probably be exclusive_tests too, to force the config?

    José Dapena Paz

    Done: moved both into the threaded suite (bases + exclusive_tests) and dropped the
    container-timing-threaded suite. With the config forced, the cross-origin test now
    asserts the child's entry outright.

    File third_party/blink/web_tests/external/wpt/container-timing/tentative/resources/iframe-isolation-subframe.html
    Line 11, Patchset 11: // - 'child-entries': this frame's own container-timing entry. Reporting it

    // requires the implementation to resolve a paint-presentation time for
    // this frame, which an embedder is not obliged to do for an iframe that
    // renders in a separate process.
    Scott Haseley . resolved

    I find this surprising. Is this specced to that way? Would this change if using an exclusive_test for the VirtualTestSuite to mimic production? I'd have to poke at LCP to see what we do in production, but I thought the OOPIF would have its own isolated performance timeline and the APIs should just work (currently ICP doesn't for any iframes, which is a WIP). But I haven't dug too much into iframes for the other perf APIs...

    José Dapena Paz

    My comment was wrong. I assumed that the single threaded behavior was expected. Well, it is, but because of the restriction of the tests by default.

    Cross-origin subframe reading its own observer:

    • Default test configuration (single-threaded): paint, element, LCP, container not received.
    • With threaded compositing: we get events for paint, element, LCP and container.

    The OOPIF timeline works as expected. But the single threaded web test config never delivers presentation feedback to an out-of-process widget, so paint timing APIs did not work. With the new configuration they just work.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Michal Mocny
    • Scott Haseley
    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: I938abed481896c36abe2f5696beed0778bc032da
      Gerrit-Change-Number: 7842320
      Gerrit-PatchSet: 12
      Gerrit-Owner: José Dapena Paz <jda...@igalia.com>
      Gerrit-Reviewer: José Dapena Paz <jda...@igalia.com>
      Gerrit-Reviewer: Michal Mocny <mmo...@chromium.org>
      Gerrit-Reviewer: Scott Haseley <shas...@chromium.org>
      Gerrit-Attention: Scott Haseley <shas...@chromium.org>
      Gerrit-Attention: Michal Mocny <mmo...@chromium.org>
      Gerrit-Comment-Date: Thu, 30 Jul 2026 17:57:42 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Scott Haseley <shas...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Scott Haseley (Gerrit)

      unread,
      Jul 30, 2026, 3:46:47 PM (2 days ago) Jul 30
      to José Dapena Paz, Philip Rogers, Michal Mocny, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, core-timi...@chromium.org, speed-metrics...@chromium.org, blink-rev...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, zol...@webkit.org
      Attention needed from José Dapena Paz, Michal Mocny and Philip Rogers

      Scott Haseley voted and added 1 comment

      Votes added by Scott Haseley

      Code-Review+1

      1 comment

      Patchset-level comments
      File-level comment, Patchset 12 (Latest):
      Scott Haseley . resolved

      LGTM

      +pdr can you PTAL at VirtualTestSuites?

      Open in Gerrit

      Related details

      Attention is currently required from:
      • José Dapena Paz
      • Michal Mocny
      • Philip Rogers
      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: I938abed481896c36abe2f5696beed0778bc032da
        Gerrit-Change-Number: 7842320
        Gerrit-PatchSet: 12
        Gerrit-Owner: José Dapena Paz <jda...@igalia.com>
        Gerrit-Reviewer: José Dapena Paz <jda...@igalia.com>
        Gerrit-Reviewer: Michal Mocny <mmo...@chromium.org>
        Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
        Gerrit-Reviewer: Scott Haseley <shas...@chromium.org>
        Gerrit-Attention: José Dapena Paz <jda...@igalia.com>
        Gerrit-Attention: Philip Rogers <p...@chromium.org>
        Gerrit-Attention: Michal Mocny <mmo...@chromium.org>
        Gerrit-Comment-Date: Thu, 30 Jul 2026 19:46:34 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Philip Rogers (Gerrit)

        unread,
        Jul 31, 2026, 12:00:13 PM (15 hours ago) Jul 31
        to José Dapena Paz, Scott Haseley, Michal Mocny, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, core-timi...@chromium.org, speed-metrics...@chromium.org, blink-rev...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, zol...@webkit.org
        Attention needed from José Dapena Paz and Michal Mocny

        Philip Rogers voted and added 1 comment

        Votes added by Philip Rogers

        Code-Review+1

        1 comment

        Patchset-level comments
        Philip Rogers . resolved

        LGTM

        Open in Gerrit

        Related details

        Attention is currently required from:
        • José Dapena Paz
        • Michal Mocny
        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: I938abed481896c36abe2f5696beed0778bc032da
        Gerrit-Change-Number: 7842320
        Gerrit-PatchSet: 12
        Gerrit-Owner: José Dapena Paz <jda...@igalia.com>
        Gerrit-Reviewer: José Dapena Paz <jda...@igalia.com>
        Gerrit-Reviewer: Michal Mocny <mmo...@chromium.org>
        Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
        Gerrit-Reviewer: Scott Haseley <shas...@chromium.org>
        Gerrit-Attention: José Dapena Paz <jda...@igalia.com>
        Gerrit-Attention: Michal Mocny <mmo...@chromium.org>
        Gerrit-Comment-Date: Fri, 31 Jul 2026 15:59:57 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Blink W3C Test Autoroller (Gerrit)

        unread,
        Jul 31, 2026, 12:02:03 PM (15 hours ago) Jul 31
        to José Dapena Paz, Philip Rogers, Scott Haseley, Michal Mocny, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, core-timi...@chromium.org, speed-metrics...@chromium.org, blink-rev...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, zol...@webkit.org
        Attention needed from José Dapena Paz and Michal Mocny

        Message from Blink W3C Test Autoroller

        Exportable changes to web-platform-tests were detected in this CL and a pull request in the upstream repo has been made: https://github.com/web-platform-tests/wpt/pull/61663.

        When this CL lands, the bot will automatically merge the PR on GitHub if the required GitHub checks pass; otherwise, ecosystem-infra@ team will triage the failures and may contact you.

        WPT Export docs:
        https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md#Automatic-export-process

        Open in Gerrit

        Related details

        Attention is currently required from:
        • José Dapena Paz
        • Michal Mocny
        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: I938abed481896c36abe2f5696beed0778bc032da
        Gerrit-Change-Number: 7842320
        Gerrit-PatchSet: 12
        Gerrit-Owner: José Dapena Paz <jda...@igalia.com>
        Gerrit-Reviewer: José Dapena Paz <jda...@igalia.com>
        Gerrit-Reviewer: Michal Mocny <mmo...@chromium.org>
        Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
        Gerrit-Reviewer: Scott Haseley <shas...@chromium.org>
        Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
        Gerrit-Attention: José Dapena Paz <jda...@igalia.com>
        Gerrit-Attention: Michal Mocny <mmo...@chromium.org>
        Gerrit-Comment-Date: Fri, 31 Jul 2026 16:01:42 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: No
        satisfied_requirement
        open
        diffy

        José Dapena Paz (Gerrit)

        unread,
        Jul 31, 2026, 1:09:28 PM (13 hours ago) Jul 31
        to Blink W3C Test Autoroller, Philip Rogers, Scott Haseley, Michal Mocny, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, core-timi...@chromium.org, speed-metrics...@chromium.org, blink-rev...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, zol...@webkit.org
        Attention needed from Michal Mocny

        José Dapena Paz voted Commit-Queue+2

        Commit-Queue+2
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Michal Mocny
        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: I938abed481896c36abe2f5696beed0778bc032da
        Gerrit-Change-Number: 7842320
        Gerrit-PatchSet: 12
        Gerrit-Owner: José Dapena Paz <jda...@igalia.com>
        Gerrit-Reviewer: José Dapena Paz <jda...@igalia.com>
        Gerrit-Reviewer: Michal Mocny <mmo...@chromium.org>
        Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
        Gerrit-Reviewer: Scott Haseley <shas...@chromium.org>
        Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
        Gerrit-Attention: Michal Mocny <mmo...@chromium.org>
        Gerrit-Comment-Date: Fri, 31 Jul 2026 17:09:04 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Chromium LUCI CQ (Gerrit)

        unread,
        Jul 31, 2026, 1:16:47 PM (13 hours ago) Jul 31
        to José Dapena Paz, Blink W3C Test Autoroller, Philip Rogers, Scott Haseley, Michal Mocny, chromium...@chromium.org, blink-re...@chromium.org, core-timi...@chromium.org, speed-metrics...@chromium.org, blink-rev...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, zol...@webkit.org

        Chromium LUCI CQ submitted the change

        Change information

        Commit message:
        ContainerTiming: regression tests for cross-frame isolation

        Each frame has its own ContainerTiming Supplement and tracker; paints
        inside an iframe must not surface in the parent.

        Adds a blink_unittests case using SingleChildLocalFrameClient,
        parameterized over both the pre-paint and the fallback attribution
        paths: it simulates a paint in a child frame and asserts the entry
        appears only in the child's performance timeline, never the parent's.

        Adds same-origin and cross-origin WPTs where the parent observer must
        stay silent. The subframe postMessages its own container entry, so that
        parent silence is meaningful rather than vacuous.

        Web tests run single-threaded by default, and in that configuration an
        out-of-process iframe never gets presentation feedback, so it reports no
        paint timing at all (element timing and LCP alike). Both WPTs therefore
        run exclusively under the existing threaded virtual suite, where the
        subframe reliably reports its entry and the tests can assert it outright.
        Bug: 489959278
        Change-Id: I938abed481896c36abe2f5696beed0778bc032da
        Reviewed-by: Scott Haseley <shas...@chromium.org>
        Reviewed-by: Philip Rogers <p...@chromium.org>
        Commit-Queue: José Dapena Paz <jda...@igalia.com>
        Cr-Commit-Position: refs/heads/main@{#1671936}
        Files:
        • M third_party/blink/renderer/core/paint/timing/container_timing_test.cc
        • M third_party/blink/web_tests/VirtualTestSuites
        • A third_party/blink/web_tests/external/wpt/container-timing/tentative/iframe-isolation-cross-origin.sub.html
        • A third_party/blink/web_tests/external/wpt/container-timing/tentative/iframe-isolation-same-origin.html
        • A third_party/blink/web_tests/external/wpt/container-timing/tentative/resources/iframe-isolation-subframe.html
          Change size: M
          Delta: 5 files changed, 200 insertions(+), 0 deletions(-)
          Branch: refs/heads/main
          Submit Requirements:
          • requirement satisfiedCode-Review: +1 by Scott Haseley, +1 by Philip Rogers
          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: I938abed481896c36abe2f5696beed0778bc032da
          Gerrit-Change-Number: 7842320
          Gerrit-PatchSet: 13
          Gerrit-Owner: José Dapena Paz <jda...@igalia.com>
          Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
          Gerrit-Reviewer: José Dapena Paz <jda...@igalia.com>
          Gerrit-Reviewer: Michal Mocny <mmo...@chromium.org>
          Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
          Gerrit-Reviewer: Scott Haseley <shas...@chromium.org>
          Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
          open
          diffy
          satisfied_requirement

          Blink W3C Test Autoroller (Gerrit)

          unread,
          Jul 31, 2026, 2:15:47 PM (12 hours ago) Jul 31
          to José Dapena Paz, Chromium LUCI CQ, Philip Rogers, Scott Haseley, Michal Mocny, chromium...@chromium.org, blink-re...@chromium.org, core-timi...@chromium.org, speed-metrics...@chromium.org, blink-rev...@chromium.org, blink-revi...@chromium.org, blink-rev...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, zol...@webkit.org

          Message from Blink W3C Test Autoroller

          The WPT PR for this CL has been merged upstream! https://github.com/web-platform-tests/wpt/pull/61663

          Open in Gerrit

          Related details

          Attention set is empty
          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: I938abed481896c36abe2f5696beed0778bc032da
          Gerrit-Change-Number: 7842320
          Gerrit-PatchSet: 13
          Gerrit-Owner: José Dapena Paz <jda...@igalia.com>
          Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
          Gerrit-Reviewer: José Dapena Paz <jda...@igalia.com>
          Gerrit-Reviewer: Michal Mocny <mmo...@chromium.org>
          Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
          Gerrit-Reviewer: Scott Haseley <shas...@chromium.org>
          Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
          Gerrit-Comment-Date: Fri, 31 Jul 2026 18:15:37 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: No
          satisfied_requirement
          open
          diffy
          Reply all
          Reply to author
          Forward
          0 new messages