TestWebKitAPI.PasteImage.PastePNGFile seems flaky. In https://ews-build.webkit-uat.org/#/builders/19/builds/1307, the test Passed in run-api-tests step. However, in the immediately next retry step (re-run-api-tests), it failed.
Unlike PasteImage.PasteTIFFImage, this one is timing out.
It looks like this one might be racy, since it inserts the image and then registers a "load" event handler. If the image fires a load event /before/ the handler is registered, we'll end up waiting forever for image load.
Seems like this should probably use -waitForMessage:afterEvaluatingScript: instead, which first registers the handler and then evaluates script.
*** Bug 195157 has been marked as a duplicate of this bug. ***
Created attachment 363224 [details]
Comment on attachment 363224 [details]
Clearing flags on attachment: 363224
Committed r242216: <https://trac.webkit.org/changeset/242216>
All reviewed patches have been landed. Closing bug.