WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 195160
Several PasteImage API tests are flaky
https://bugs.webkit.org/show_bug.cgi?id=195160
Summary
Several PasteImage API tests are flaky
Aakash Jain
Reported
2019-02-28 05:55:23 PST
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.
Attachments
Patch
(5.31 KB, patch)
2019-02-28 08:53 PST
,
Wenson Hsieh
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Wenson Hsieh
Comment 1
2019-02-28 07:29:11 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.
Wenson Hsieh
Comment 2
2019-02-28 08:53:22 PST
***
Bug 195157
has been marked as a duplicate of this bug. ***
Wenson Hsieh
Comment 3
2019-02-28 08:53:57 PST
Created
attachment 363224
[details]
Patch
WebKit Commit Bot
Comment 4
2019-02-28 12:52:54 PST
Comment on
attachment 363224
[details]
Patch Clearing flags on attachment: 363224 Committed
r242216
: <
https://trac.webkit.org/changeset/242216
>
WebKit Commit Bot
Comment 5
2019-02-28 12:52:56 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6
2019-02-28 12:53:18 PST
<
rdar://problem/48484916
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug