API request: Adding WebEngine.userAgent

Richard Bair richard.bair at ORACLE.COM
Thu Nov 1 14:42:43 PDT 2012


That is one heck of a version string:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/536.25 (KHTML, like Gecko) Version/6.0 Safari/536.25


My feeling is that the default user agent name for FX should be clearly FX and well defined, not null. It should be exactly what would be available to JS code executing within the WebEngine.

Richard

On Nov 1, 2012, at 11:12 AM, David DeHaven wrote:

> 
> The easy way to find out:
> http://whatsmyuseragent.com
> 
> -DrD-
> 
>> Good question! What is the default value we want to use? "JavaFX-Webkit" or something?'
>> 
>> On Oct 31, 2012, at 9:41 AM, Werner Lehmann wrote:
>> 
>>> On second thought, I don't know this tag in Javadoc. Maybe it means "has a default value? yes".
>>> 
>>> On 31.10.2012 17:22, Werner Lehmann wrote:
>>>> I suggest to use a different defaultValue though
> 



More information about the openjfx-dev mailing list