Bug 198200

Summary: ImageOnly reference tests may have race condition if the test (or it's expected result) resizes the window
Product: WebKit Reporter: Devin Rousso <hi>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, jbedard, thorton
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=198195

Description Devin Rousso 2019-05-23 16:25:00 PDT
<https://trac.webkit.org/r244353> caused fast/css/sticky/sticky-left-percentage.html to start failing (ImageOnlyFailing) <https://webkit.org/b/198195>.

```
Error: test and reference images have different sizes. Test image is 800x700, reference image is 800x600
ImageDiff crashed
```

I think this may be a problem with the timing of when the image snapshots are taken, as fast/css/sticky/sticky-left-percentage.html involves resizing the window before the test ends (adds an event listener for "load").