Skip to content

ContainerTiming: tests for pre-paint attribution tracker#61423

Draft
chromium-wpt-export-bot wants to merge 1 commit into
masterfrom
chromium-export-cl-7979158
Draft

ContainerTiming: tests for pre-paint attribution tracker#61423
chromium-wpt-export-bot wants to merge 1 commit into
masterfrom
chromium-export-cl-7979158

Conversation

@chromium-wpt-export-bot

Copy link
Copy Markdown
Collaborator

Split out of the pre-paint attribution tracker implementation CL to keep
that change focused on production code.

Adds:

  • Unit tests for the ContainerTimingPaintAttributionTracker and for
    ContainerTiming aggregation/caching under both flag states.
  • pre_paint_tree_walk_test.cc coverage for the container-timing dirty-bit
    propagation and the ShouldInheritContainerTimingRoot cache.
  • display_lock_context_test.cc coverage for the container-timing
    interaction with display locking.
  • container_timing_test_utils.h, shared by blink_unittests and
    blink_perf_tests via unit_test_support.
  • WPTs for container timing roots with containertiming-ignore reporting
    their own paints, plus a virtual test suite running the existing
    container-timing WPTs with ContainerTimingPrepaintTraversal enabled.

All Container Timing Web Platform Tests pass with both the legacy
implementation and the prepaint optimization.

Bug: 489959278
Change-Id: Iaad076cafb821c7807edb739db764b34072ed0bc

Reviewed-on: https://chromium-review.googlesource.com/7979158
WPT-Export-Revision: e580d5e3827e762b5a35d9e6aca43a39c4861dff

Split out of the pre-paint attribution tracker implementation CL to keep
that change focused on production code.

Adds:
- Unit tests for the ContainerTimingPaintAttributionTracker and for
  ContainerTiming aggregation/caching under both flag states.
- pre_paint_tree_walk_test.cc coverage for the container-timing dirty-bit
  propagation and the ShouldInheritContainerTimingRoot cache.
- display_lock_context_test.cc coverage for the container-timing
  interaction with display locking.
- container_timing_test_utils.h, shared by blink_unittests and
  blink_perf_tests via unit_test_support.
- WPTs for container timing roots with containertiming-ignore reporting
  their own paints, plus a virtual test suite running the existing
  container-timing WPTs with ContainerTimingPrepaintTraversal enabled.

All Container Timing Web Platform Tests pass with both the legacy
implementation and the prepaint optimization.

Bug: 489959278
Change-Id: Iaad076cafb821c7807edb739db764b34072ed0bc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants