Skip to content
Snippets Groups Projects
Commit e1517318 authored by Monroe Linden's avatar Monroe Linden
Browse files

Fix for EXT-6615 (SL webkit no longer reports "Second Life" in the HTTP_USER_AGENT)

The issue here is that initBrowserWindow() was doing the wrong thing if it got called after the set_user_agent message was received.

Made the handler for the set_user_agent message save the string in a member variable (mUserAgent).

Initialize mUserAgent to the default string in the MediaPluginWebKit constructor.

initBrowserWindow() now sets the user agent string from mUserAgent instead of from a literal.
parent eeeca917
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment