Haven't yet - but from what I read - no. Something about requests being out of process
On Monday, June 16, 2014, Andrew Grieve <agri...@chromium.org> wrote: > Awesome. > > Shaz (or anyone else), curious if you've tested yet to see if the whitelist > still works with WKWebView? (e.g. does it go through NSURLProtocol?) > > > On Sat, Jun 14, 2014 at 8:16 PM, tommy-carlos williams <to...@devgeeks.org > <javascript:;>> > wrote: > > > This looks promising. > > > > Thanks for the update, Shazron. > > > > - tommy > > > > > > On Sun, Jun 15, 2014 at 7:48 AM, Shazron <shaz...@gmail.com> wrote: > > > >> Rev log: http://trac.webkit.org/log/trunk/Source/WebKit2/ > >> UIProcess/API/Cocoa/WKWebView.mm > >> for potential WKWebView updates in beta 2. > >> > >> On Sat, Jun 14, 2014 at 2:46 PM, Shazron <shaz...@gmail.com> wrote: > >> > >>> Some potential good news. Updated 4 days ago, hopefully its in beta 2: > >>> http://trac.webkit.org/changeset/169765 > >>> > >>> "Add -[WKWebView evaluateJavaScript:completionHandler:]" > >>> > >>> Updated: https://issues.apache.org/jira/browse/CB-6884 > >>> > >>> > >>> On Sat, Jun 7, 2014 at 10:06 PM, Carlos Santana <csantan...@gmail.com > > > >>> wrote: > >>> > >>>> ok, was a bit confuse with api doc, I assumed that there was a way to > >>>> specify a time other than documentstart, documentend, and no passing > >>>> something will do it immediately. > >>>> > >>>> Will open a radar too, we need wkwebview to officialy support for > >>>> objc->js, > >>>> postMessage seems kind of half working if only can do js->objc > >>>> > >>>> > >>>> On Sat, Jun 7, 2014 at 10:48 PM, Shazron <shaz...@gmail.com> wrote: > >>>> > >>>> No it's not. That is precisely what we discussed, it's the > limitation > >>>>> in > >>>>> WKUserScript. > >>>>> > >>>>> On Saturday, June 7, 2014, Carlos Santana <csantan...@gmail.com> > >>>>> wrote: > >>>>> > >>>>> > Shaz > >>>>> > I think the closest replacement is [1] - (void)addUserScript:( > >>>>> > WKUserScript *)*userScript * > >>>>> > > >>>>> > I have not tried my self, but looking forward on helping out. > >>>>> > > >>>>> > [1]: > >>>>> > > >>>>> > > >>>>> https://developer.apple.com/library/prerelease/ios/ > >>>>> documentation/WebKit/Reference/WKUserContentController_Ref/ > >>>>> > index.html#//apple_ref/occ/instm/WKUserContentController/addUserScript > >>>>> > : > >>>>> > > >>>>> > > >>>>> > On Fri, Jun 6, 2014 at 12:47 AM, Shazron <shaz...@gmail.com> > wrote: > >>>>> > > >>>>> > > No use in polling if we can't write anything back to JS from > >>>>> Obj-C. > >>>>> > > > >>>>> > > There's a private API to do so: > >>>>> > > > >>>>> > > > >>>>> > > >>>>> https://github.com/WebKit/webkit/commit/ > >>>>> adb4c60064b38b5ab3d6e78422325f35f0b7fe2b > >>>>> > > only landed a few months ago, we'll have to do some advocacy > >>>>> through > >>>>> > > whatever channels we have to get it in the public API (radars, > >>>>> > > connections), since it is a deficiency in their API losing > >>>>> something > >>>>> > > like stringByEvaluatingJavaScriptFromString >