Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add infra test that window.load happens before reftest capture
This adds a WPT infrastructure test to enforce that the harness waits for window.load before capturing reftest images. That allows testing like this: ``` <link rel=match href=green.html> <script> window.onload = () => document.body.append('test'); </script> ``` See [1] for conversation. [1] #43310 Change-Id: I1f3f9836ca880350b294538dd2f2d58689485f7b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5064229 Reviewed-by: Weizhong Xia <weizhong@google.com> Commit-Queue: Mason Freed <masonf@chromium.org> Cr-Commit-Position: refs/heads/main@{#1229618}
- Loading branch information