[Webkit-unassigned] [Bug 91351] [EFL][WK2] Add ewk_view_user_agent_set / ewk_view_user_agent_get API.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 23 23:12:31 PDT 2012


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





--- Comment #39 from Hyerim Bae <hyerim.bae at samsung.com>  2012-08-23 23:12:29 PST ---
(In reply to comment #37)
> (In reply to comment #35)
> > (From update of attachment 159894 [details] [details])
> > View in context: https://bugs.webkit.org/attachment.cgi?id=159894&action=review
> > 
> > > Source/WebKit2/UIProcess/API/efl/ewk_view.cpp:1396
> > > +Eina_Bool ewk_view_user_agent_set(Evas_Object* ewkView, const char* userAgent)
> > > +{
> > 
> > Qt WebKit1 had the more powerful api of userAgentForUrl(...) where you could return a different UA for certain URLs.
> > 
> > Maybe such a similar api (not callback based, as that would block) could be useful
> 
> I would advise against such a userAgentForUrl() API and I think it was a mistake to have it in WK1, because it has direct performance implications. Every single resource request will have to do a synchronous callback into this API and it will usually also involve converting from KURL to whatever url type is used on the API level.

How do you think about kenneth's comment below ?

-- 
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