[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
Mon Jul 16 03:04:29 PDT 2012


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





--- Comment #13 from Hyerim Bae <hyerim.bae at samsung.com>  2012-07-16 03:04:27 PST ---
(In reply to comment #12)
> (From update of attachment 152502 [details])
> Almost looks good to me. But, what is default user agent ? If I'm not sure whether we can return WebKit default user agent when user is not set user agent. If we can return default user agent, I think this code needs to be adjusted into WK1 as well.

The default user agent is like below.

in WebKit2/UIProcess/efl/WebPageProxyEfl.cpp

String WebPageProxy::standardUserAgent(const String& applicationNameForUserAgent)
{
...
    return makeString("Mozilla/5.0 (", platform, "; ", osVersion, ") AppleWebKit/", version)
           + makeString(" (KHTML, like Gecko) Version/5.0 Safari/", version);

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