Test that first non-empty paint doesn't depend on BACKGROUND tasks.
TaskPriority::BACKGROUND tasks can take "an arbitrarily long time to complete". https://cs.chromium.org/chromium/src/base/task_scheduler/task_traits.h?l=26&rcl=19a69a1389844f51c474efa446e3f22dd1fb36a8 We have plan to restrict more aggressively when they can run. To make sure that this doesn't introduce unwanted performance regressions, we need to make sure that there is no need to run TaskPriority::BACKGROUND tasks to respond to user actions. This CL adds a browser test to verify that the first non-empty paint can happen when no TaskPriority::BACKGROUND tasks are allowed to run. Bug: 831835 Change-Id: I4c5d4f1056d823a6c36aa1504e2508d1bc1c58b6 Reviewed-on: https://chromium-review.googlesource.com/1008640Reviewed-by:Avi Drissman <avi@chromium.org> Reviewed-by:
Gabriel Charette <gab@chromium.org> Commit-Queue: François Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/master@{#550973}
Showing
Please register or sign in to comment