[Webkit-unassigned] [Bug 198554] Unable to get cookies from WKWebView

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 5 21:24:52 PDT 2019


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

--- Comment #7 from Jeremy Schonfeld <jeremyschonfeld at gmail.com> ---
I have copied the key parts of the app I am working with relating to the login view into a simple xcode project to demonstrate. While doing this, I have narrowed down the problem. The main view of the app has a separate WKWebView that displays announcements. When the app launches to the initial view controller (this main view controller) and the app sees the user has not logged in, it presents the login view controller on top of the main view controller. Then after login, the login view controller is dismissed and the WKWebView on the main view controller loads content while logged in. If I set the login view controller to be the initial view controller (with no WKWebView in a view controller underneath), the delegate works just fine. However, if there is a WKWebView in a view controller underneath the presented login view controller (simply instantiated, not having loaded any content), the delegate does not function. Looking at this sample project, is this a bug, or if not could you explain why this behavior occurs and how I should avoid this issue? I've attached a zip file containing the project to this bug report.

-- 
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/20190606/06ed1d60/attachment-0001.html>


More information about the webkit-unassigned mailing list