Ticket #5827 (closed defect: duplicate)
Safari Detection Broken
| Reported by: | benschell | Owned by: | alex |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 1.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Due to the fix in r12330, Safari detection is broken. Specifically, dojo.isSafari is set to 2 on Firefox (rather than undefined, the previous behavior), despite the fact that it is (obviously) not Safari.
Examining the contents of r12330 and comparing to previous behavior, the problem is on line 96, where idx is not checked to be >= 0 (as it was previously).
Patch attached.