Attempt to deflake webgl-composite-modes-tabswitching.html
The test is failing because it is performing a compositor frame while hidden. The test uses runAfterLayoutAndPaint() in ways it does not need to, so move it to use requestAnimationFrame() directly to see if that helps. While doing so, I noticed that the triangles drawn while hidden are not lost if a requestAnimationFrame() draws while inside the event listener for page visibility. That is now documented in a comment, with a double call to requestAnimationFrame() to work around it. R=kbr@chromium.org Bug: 1083585 Change-Id: Iefb9a49f7ef337b86f9de898fa71a96cf65d0513 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2209331Reviewed-by:Kenneth Russell <kbr@chromium.org> Commit-Queue: danakj <danakj@chromium.org> Cr-Commit-Position: refs/heads/master@{#770286}
Showing
Please register or sign in to comment