[Webkit-unassigned] [Bug 185257] A WKWebView in a UIViewController that is presented modally and uses a file picker will be incorrectly dismissed by the system

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 3 13:59:14 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=185257

--- Comment #9 from Tim Horton <thorton at apple.com> ---
Comment on attachment 344212
  --> https://bugs.webkit.org/attachment.cgi?id=344212
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=344212&action=review

>> Source/WebKit/UIProcess/ios/forms/WKFileUploadPanel.mm:288
>> +            [currentPresentedViewController dismissViewControllerAnimated:YES completion:nil];
> 
> I think you probably still want to clear _presentationViewController in the completion handler.

(Otherwise I think this is a leak?)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180703/67deb223/attachment.html>


More information about the webkit-unassigned mailing list