[Webkit-unassigned] [Bug 180547] Message Handlers fail to call despite message being sent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 8 11:05:34 PDT 2018


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

--- Comment #13 from Chris Dumez <cdumez at apple.com> ---
(In reply to Brady Eidson from comment #12)
> (In reply to Geoffrey Garen from comment #11)
> > > Meanwhile, is there any reason why, despite this behavior, the following
> > > completion handlers don't get called consistently:
> > > 
> > > webView.configuration.websiteDataStore.httpCookieStore.setCookie(_:
> > > completionHandler:)
> > > 
> > > WKWebsiteDataStore.default().fetchDataRecords(ofTypes:completionHandler:)
> > 
> > That sounds like a (separate) bug.
> 
> Actually, both of those calls do require IPC to the web process, so if the
> web process is suspended because the view is offscreen that would explain
> this behavior.
> 
> But, for the website data store calls, we should be able to fix that by
> temporarily unsuspending the web process.

I do not believe this is an issue for fetchWebsiteData() takes a background activity so ensure that the child process stays alive until we get the data back.

However, looking at httpCookieStore.setCookie(), I do not see it take background activity, which indeed seems wrong. WebCookieManagerProxy should probably be updated to take background assertions during the execution of the callbacks.

-- 
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/20180608/2ff3b84d/attachment.html>


More information about the webkit-unassigned mailing list