| Summary: | Several PasteImage API tests are flaky | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Aakash Jain <aakash_jain> | ||||
| Component: | Tools / Tests | Assignee: | Wenson Hsieh <wenson_hsieh> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | aakash_jain, ap, bdakin, commit-queue, lforschler, rniwa, thorton, webkit-bot-watchers-bugzilla, webkit-bug-importer, wenson_hsieh | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Other | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Aakash Jain
2019-02-28 05:55:23 PST
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]
Patch
Comment on attachment 363224 [details] Patch Clearing flags on attachment: 363224 Committed r242216: <https://trac.webkit.org/changeset/242216> All reviewed patches have been landed. Closing bug. |