-
Alex Clarke authored
We're seeing expensive low priority tasks getting in the way of navigation tasks, so we should turn this logic off. It's an oversight that it was ever enabled on the UI and IO thread in the first place. This change has exposed a few latent issues: 1. BackgroundSyncTest is failing on the bots due to an infra issue where Play Services is not up to date. 2. Several extension tests where failing due to unwanted TaskPriority propagation for tasks posted from GetExtensionFileTaskRunner() to the UI thread. These tasks where inheriting the sequence's USER_VISIBLE priority and running much later than expected as a result of removing the anti-starvation code. I've worked around that by explicitly setting the priority to the default which is USER_BLOCKING. 3. Some navigations in the UrlOverridingTest are actually getting canceled by the InterceptNavigationThrottle. Previously the task notifying this didn't run in time to be picked up by the test, now they are we need to update the test expectations. Bug: 1013535 Change-Id: Ie9e5bc38f62e8a451b9287390752d3bd1c3284c3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1863410 Commit-Queue: Alex Clarke <alexclarke@chromium.org> Reviewed-by:
Michael Thiessen <mthiesse@chromium.org> Reviewed-by:
Finnur Thorarinsson <finnur@chromium.org> Reviewed-by:
Rayan Kanso <rayankans@chromium.org> Reviewed-by:
Mugdha Lakhani <nator@chromium.org> Reviewed-by:
Sami Kyöstilä <skyostil@chromium.org> Cr-Commit-Position: refs/heads/master@{#711195}
43ca4361