Ticket #6744 (closed defect: fixed)
dojo.isSafari doesn't work properly for Safari 2.0.4
| Reported by: | jgarfield | Owned by: | peller |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2 |
| Component: | Core | Version: | 1.1.0 |
| Severity: | normal | Keywords: | dojo, isSafari, dojo.isSafari, core, browser sniff |
| Cc: |
Description (last modified by peller) (diff)
The browser sniffing in the hostenv_browser.js needs to have the parsing for WebKit? 419.3 (Safari 2) changed from
parseFloat(dav.substr(idx+7)) >= 419.3
to
parseFloat(dav.substr(idx+8)) >= 419.3
Otherwise you end up with 3 as the Safari version, even though you're using Safari 2.0.4.
Safari 2.0.4 Strings
AppVersion - 5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418.8 (KHTML, like Gecko) Safari/419.3
UserAgent - Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418.8 (KHTML, like Gecko) Safari/419.3
Change History
Note: See
TracTickets for help on using
tickets.