WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
200357
fast/forms/ios/file-upload-panel.html is flaky on iOS 13
https://bugs.webkit.org/show_bug.cgi?id=200357
Summary
fast/forms/ios/file-upload-panel.html is flaky on iOS 13
Chris Dumez
Reported
2019-08-01 13:29:43 PDT
fast/forms/ios/file-upload-panel.html is flaky on iOS 13.
Attachments
Patch
(1.69 KB, patch)
2019-08-01 13:31 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(1.65 KB, patch)
2019-08-01 20:41 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2019-08-01 13:30:01 PDT
<
rdar://problem/53028551
>
Chris Dumez
Comment 2
2019-08-01 13:31:44 PDT
Created
attachment 375340
[details]
Patch
Simon Fraser (smfr)
Comment 3
2019-08-01 14:05:56 PDT
Comment on
attachment 375340
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=375340&action=review
> LayoutTests/fast/forms/ios/file-upload-panel.html:54 > - UIHelper.activateElement(testInput).then(() => { > + internals.withUserGesture(() => {
Can we fix UIHelper to do the right thing (or add a new function to it)? UIHelper is the future.
Chris Dumez
Comment 4
2019-08-01 14:30:01 PDT
(In reply to Simon Fraser (smfr) from
comment #3
)
> Comment on
attachment 375340
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=375340&action=review
> > > LayoutTests/fast/forms/ios/file-upload-panel.html:54 > > - UIHelper.activateElement(testInput).then(() => { > > + internals.withUserGesture(() => { > > Can we fix UIHelper to do the right thing (or add a new function to it)? > UIHelper is the future.
But I have no idea why the tap is getting swallowed (and why this regressed very recently). If I sleep 1 second between taps, then they are no longer swallowed but this is not a viable fix. UIHelper may be the future but HTMLElement.click() is never going away :)
Chris Dumez
Comment 5
2019-08-01 14:31:37 PDT
(In reply to Chris Dumez from
comment #4
)
> (In reply to Simon Fraser (smfr) from
comment #3
) > > Comment on
attachment 375340
[details]
> > Patch > > > > View in context: > >
https://bugs.webkit.org/attachment.cgi?id=375340&action=review
> > > > > LayoutTests/fast/forms/ios/file-upload-panel.html:54 > > > - UIHelper.activateElement(testInput).then(() => { > > > + internals.withUserGesture(() => { > > > > Can we fix UIHelper to do the right thing (or add a new function to it)? > > UIHelper is the future. > > But I have no idea why the tap is getting swallowed (and why this regressed > very recently). If I sleep 1 second between taps, then they are no longer > swallowed but this is not a viable fix. UIHelper may be the future but > HTMLElement.click() is never going away :)
Note that we already swizzle out all the popover presenting API, however, this is still insufficient. I suspect some kind of UIButton animation when tapping it?
Andy Estes
Comment 6
2019-08-01 17:08:41 PDT
(In reply to Chris Dumez from
comment #4
)
> But I have no idea why the tap is getting swallowed (and why this regressed > very recently).
Could it be due to
r247866
? Payment Request tests were failing in a very similar way and Zalan resolved it by migrating those tests to using UIHelper.activateElementAtHumanSpeed. Would that work here too?
Chris Dumez
Comment 7
2019-08-01 20:41:08 PDT
Created
attachment 375387
[details]
Patch
Chris Dumez
Comment 8
2019-08-01 20:42:01 PDT
(In reply to Andy Estes from
comment #6
)
> (In reply to Chris Dumez from
comment #4
) > > But I have no idea why the tap is getting swallowed (and why this regressed > > very recently). > > Could it be due to
r247866
? > > Payment Request tests were failing in a very similar way and Zalan resolved > it by migrating those tests to using UIHelper.activateElementAtHumanSpeed. > Would that work here too?
It does. Slow though.
zalan
Comment 9
2019-08-01 20:42:57 PDT
(In reply to Chris Dumez from
comment #8
)
> (In reply to Andy Estes from
comment #6
) > > (In reply to Chris Dumez from
comment #4
) > > > But I have no idea why the tap is getting swallowed (and why this regressed > > > very recently). > > > > Could it be due to
r247866
? > > > > Payment Request tests were failing in a very similar way and Zalan resolved > > it by migrating those tests to using UIHelper.activateElementAtHumanSpeed. > > Would that work here too? > > It does. Slow though.
Human speed.
Chris Dumez
Comment 10
2019-08-01 20:45:45 PDT
Comment on
attachment 375387
[details]
Patch Clearing flags on attachment: 375387 Committed
r248145
: <
https://trac.webkit.org/changeset/248145
>
Chris Dumez
Comment 11
2019-08-01 20:45:51 PDT
All reviewed patches have been landed. Closing bug.
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