From 893310aec7481b712971a58ebf3c0a7565b9b489 Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Thu, 30 Nov 2023 16:02:01 +0000 Subject: [PATCH] Bug 1865314 [wpt PR 43227] - LoAF: count tasks with UI events towards blockingDuration, a=testonly Automatic update from web-platform-tests LoAF: count tasks with UI events towards blockingDuration Apparently UI events are sent in a task that's not associated with a frame (using the input task source), so the AnimationFrameTimingMonitor thought that it was a task unrelated to the current widget. Fixed by applying the task duration if this task produced any UI events. Bug: 1501836 Change-Id: I482ada6850e0b97e7e1fc6237e75905881017587 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5033867 Reviewed-by: Michal Mocny Commit-Queue: Noam Rosenthal Cr-Original-Commit-Position: refs/heads/main{#1225647} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5039591 Cr-Commit-Position: refs/heads/main{#1226100} -- wpt-commits: 9d656455225c3a5c0c2decb7ee865e8c61c9c186 wpt-pr: 43227 UltraBlame original commit: 27a8c8dc026a50f873270ffe208950e9a6e42e32 --- .../loaf-event-blocking-duration.html | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 testing/web-platform/tests/long-animation-frame/tentative/loaf-event-blocking-duration.html diff --git a/testing/web-platform/tests/long-animation-frame/tentative/loaf-event-blocking-duration.html b/testing/web-platform/tests/long-animation-frame/tentative/loaf-event-blocking-duration.html new file mode 100644 index 0000000000000..daa5f64c39e3a --- /dev/null +++ b/testing/web-platform/tests/long-animation-frame/tentative/loaf-event-blocking-duration.html @@ -0,0 +1,30 @@ + + +Long Animation Frame Timing: blocking duration with events + + + + + + + + + +

Long Animation Frame: blocking duration with events

+
+ + +