Re: [webkit-dev] Networking proxy on iOS

2016-05-25 Thread Daniel Olegovich Lazarenko
There's another solution I'd like to point out. The idea is to take the networking XPC service ID from NSUserDefaults. That would technically make it possible to substitute the whole networking process with a custom process. The caveat here is that XPC is a private API on iOS, so it's not allowed t

Re: [webkit-dev] Networking proxy on iOS

2016-05-24 Thread Daniel Olegovich Lazarenko
Hello Sam, Nice to hear from you again. We have outlined our use cases a year ago here: https://bugs.webkit.org/show_bug.cgi?id=137299 The use cases were collected from Opera's browser products, Chrome and Yandex people were participating as well. That patch solution was blocked back then, but a

Re: [webkit-dev] Networking proxy on iOS

2016-05-23 Thread Sam Weinig
> On May 22, 2016, at 3:39 PM, Daniel Olegovich Lazarenko > wrote: > > What if I make a bug report in bugzilla about making a design spec of this > feature. I could then write down implementation details options and summarize > all points we've discussed here. Maybe in a form of a google docu

Re: [webkit-dev] Networking proxy on iOS

2016-05-22 Thread Daniel Olegovich Lazarenko
What if I make a bug report in bugzilla about making a design spec of this feature. I could then write down implementation details options and summarize all points we've discussed here. Maybe in a form of a google document. This spec could then be reviewed and approved for action by you and any oth

Re: [webkit-dev] Networking proxy on iOS

2016-05-22 Thread Brady Eidson
> On May 22, 2016, at 3:14 AM, Daniel Olegovich Lazarenko > wrote: > > > It’s not yet clear what the ideal architecture is, which is one of the > > reasons why the mentioned issued remains unresolved. > > What are the other reasons? Perhaps I misrepresented - AFAIK that is the only important

Re: [webkit-dev] Networking proxy on iOS

2016-05-22 Thread Daniel Olegovich Lazarenko
> It’s not yet clear what the ideal architecture is, which is one of the reasons why the mentioned issued remains unresolved. What are the other reasons? Are there any reasons that block us from discussing the right architecture? I'd like to start working on a patch, but I need directions from you

Re: [webkit-dev] Networking proxy on iOS

2016-05-21 Thread Brady Eidson
> On May 21, 2016, at 2:05 PM, Daniel Olegovich Lazarenko > wrote: > > > We are exploring ways to restore that full functionality - > > https://bugs.webkit.org/show_bug.cgi?id=138169 > > > > Having custom scheme protocols is important to me to

Re: [webkit-dev] Networking proxy on iOS

2016-05-21 Thread Daniel Olegovich Lazarenko
> We are exploring ways to restore that full functionality - https://bugs.webkit.org/show_bug.cgi?id=138169 Having custom scheme protocols is important to me too. I didn't know that it is broken with WKWebView. Do you know what exactly is broken? I thought that if you call [WKBrowsingContextContr

Re: [webkit-dev] Networking proxy on iOS

2016-05-20 Thread Brady Eidson
> On May 20, 2016, at 2:30 AM, Daniel Olegovich Lazarenko > wrote: > > Thank you for such a fast reply. That is amazing! :) > Back to questions... > > > Are you primarily focused on a custom networking layer (e.g. your own HTTP > > implementation?), > > or with custom protocol handling for no

Re: [webkit-dev] Networking proxy on iOS

2016-05-20 Thread Daniel Olegovich Lazarenko
Thank you for such a fast reply. That is amazing! :) Back to questions... > Are you primarily focused on a custom networking layer (e.g. your own HTTP implementation?), > or with custom protocol handling for non-http protocols? I'm primarily concerned about HTTP and friends (HTTPS, SPDY, HTTP2),

Re: [webkit-dev] Networking proxy on iOS

2016-05-19 Thread Brady Eidson
> On May 19, 2016, at 8:41 AM, Daniel Olegovich Lazarenko > wrote: > > I'd like to ask your for advice about implementation of a custom networking > layer Are you primarily focused on a custom networking layer (e.g. your own HTTP implementation?), or with custom protocol handling for non-htt

[webkit-dev] Networking proxy on iOS

2016-05-19 Thread Daniel Olegovich Lazarenko
Hello, I'd like to ask your for advice about implementation of a custom networking layer with WKWebView on iOS. Our current solution is based on NSURLProtocol, and the issues we had with it in 2014 are unresolved: https://bugs.webkit.org/show_bug.cgi?id=137302 https://bugs.webkit.org/show_bug.cgi