[Webkit-unassigned] [Bug 195160] Flaky API Test: TestWebKitAPI.PasteImage.PastePNGFile

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 28 07:29:11 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=195160

--- Comment #1 from Wenson Hsieh <wenson_hsieh at apple.com> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190228/d9851101/attachment-0001.html>


More information about the webkit-unassigned mailing list