Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Several PasteImage API tests are flaky
https://bugs.webkit.org/show_bug.cgi?id=195160 Reviewed by Tim Horton. Some of these tests, such as PasteTIFFImage, don't wait for the inserted image element to finish loading before querying the image element's size; a few other tests, such as PastePNGFile, are racy since they may begin listening for a "load" event after image load is already complete. To address this, make these tests first register a "load" event handler, then run script to insert an image element into the document, and finally wait until the load event is observed before checking image size. * TestWebKitAPI/Tests/WebKitCocoa/PasteImage.mm: Canonical link: https://commits.webkit.org/209505@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242216 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
2 changed files
with
22 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters