[Webkit-unassigned] [Bug 123428] [SOUP][GTK][WK2] Need API to get SoupSession from WebKit2.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 30 05:38:28 PDT 2013


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


Andre Moreira Magalhaes <andrunko at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #9 from Andre Moreira Magalhaes <andrunko at gmail.com>  2013-10-30 05:37:13 PST ---
(In reply to comment #8)
> (In reply to comment #7)
> > (In reply to comment #4)
> > > We have tried to provide API in webkit for different network features (custom uri schemes, authentication, etc.) instead of exposing the SoupSession. Would it be possible to add API (if actually required) to set proxy settings?
> > 
> > You mean an API for web-extension (Web Process) or a webview/context API (UI Process)?
> 
> For the UI process would be better, that way it will work even if we switch to network process or implement multi-web-process support.
> 
Indeed, I agree, just not sure how to support for example custom GProxyResolver in this case.

> > If for the extension we could easily add a webkit_set_proxy_resolver(GProxyResolver*) instead of exposing the SoupSession. If you mean an API for webview/context we would have to pass the info all the way to the Web Process, and I am not sure how flexible this would be.
> 
> It's what we do for custom uri schemes, cookies, disk cache, http auth, etc.
> 
> > I believe exposing the SoupSession has other advantages where the user can tweak the session to their needs more easily.
> 
> what other things do you need to tweak?
> 
I mean that you would have more flexibility here, anything available in the SoupSession could be easily tweaked to the user liking. But yeah, with the possibility of switching to network process this patch makes no sense.

> > I wasn't aware of this switch to network process though.
> 
> Well, it's not even supported yet, but we might eventually switch.
Got it.

Thanks for the comments, I will close here as WONTFIX as I won't have time to work on a proper patch for the UIProcess API.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list