Summary: | [Browser] Add Browser.getBrowserVersion() | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Christopher Deckers <chrriis> | ||||
Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
Status: | NEW --- | QA Contact: | |||||
Severity: | enhancement | ||||||
Priority: | P3 | ||||||
Version: | 3.5 | ||||||
Target Milestone: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Christopher Deckers
2009-10-29 17:02:00 EDT
Created attachment 150877 [details]
A Javascript based approach.
I implemented a Javascript based approach (a conversion of a pure JS version, so some browsers are not applicable in the SWT world).
With this, the method I am asking for would look like this:
String getBrowserVersion() {
return new JSBrowserDetection(this).browserVersion;
}
Of course, there might be ways to query that info with more accuracy using native browser APIs.
Note that certain browsers have different versions between the browser itself and the engine it uses (like Safari). In this case, the version of the engine is probably more interesting.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. |