WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
209613
Unable to present file upload picker after interactively dismissing a previously opened picker
https://bugs.webkit.org/show_bug.cgi?id=209613
Summary
Unable to present file upload picker after interactively dismissing a previou...
David Quesada
Reported
2020-03-26 12:28:03 PDT
- Present a file upload picker for a file <input> on iOS. - Dismiss the picker by swiping down on it. - Attempt to open the file picker again. (Expected: I can open the file picker) (Actual result: Nothing happens) Extra credit: - Cause the web view to be deallocated (e.g. close a browser tab) (Expected: Nothing interesting happens) (Actual result: The app crashes due an exception in +[UIViewController _viewControllerForFullScreenPresentationFromView:] because the 'view' parameter nil. This is hit while trying to dismiss the file upload panel, which the WKContentView still thinks is presented.)
Attachments
Patch
(4.42 KB, patch)
2020-03-26 15:00 PDT
,
David Quesada
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-03-26 12:28:36 PDT
<
rdar://problem/60931009
>
David Quesada
Comment 2
2020-03-26 15:00:38 PDT
Created
attachment 394660
[details]
Patch
Daniel Bates
Comment 3
2020-03-29 09:19:39 PDT
Comment on
attachment 394660
[details]
Patch This patch looks good. A better solution would include a test for this change or a test for the crash (or both). I think it's testable from layout tests. See internals.cpp
EWS
Comment 4
2020-07-23 13:16:55 PDT
Committed
r264785
: <
https://trac.webkit.org/changeset/264785
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 394660
[details]
.
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