Fix test failure expectation on document-policy-oversized-images-resize.html
The test was testing UnsizedMedia feature working properly when images got resized on screen after they initially got loaded. Initially the test worked fine, but after certain optimization made by rendering team, window.onload no longer guarantees that images are painted on the screen. This CL introduces a timeout to force the script to execute after initial images are painted on screen first. Bug: 591099 Change-Id: I1a11e1b5b8c87ba2bd3d5c64c9d5477a73ee0d5d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2090457 Commit-Queue: Charlie Hu <chenleihu@google.com> Reviewed-by:Ian Clelland <iclelland@chromium.org> Cr-Commit-Position: refs/heads/master@{#749252}
Showing
Please register or sign in to comment