Fix flake in test_enable_print_browser.html with new scheduler policy
We want to prioritize compositing and loading tasks until FCP which causes this test to flake. The problem is the test isn't waiting for the load event to fire whch means it's sometimes running the asset before the style sheet has loaded. This patch makes it wait. Bug: 971191 Change-Id: Ic7a53b2cbd52812e31de98c567d8d399c8b445b4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1800771 Commit-Queue: Alex Clarke <alexclarke@chromium.org> Reviewed-by:Alexander Timin <altimin@chromium.org> Cr-Commit-Position: refs/heads/master@{#696741}
Showing
Please register or sign in to comment