ucla-oarc-mobile / mwf

UCLA Mobile Web Framework
http://mwf.ucla.edu
Other
86 stars 25 forks source link

DTS: userAgent.getBrowserEngineVersion() does not return correct value for iPhone #114

Closed Trott closed 12 years ago

Trott commented 12 years ago

userAgent.getBrowserEngineVersion() does not return the correct value for current iPhones. To see the horror, run this code:

<script src="http://m.ucla.edu/assets/js.php"></script>
<script>alert(mwf.userAgent.getBrowserEngineVersion())</script>
ebollens commented 12 years ago

Rich, these string matches were done extremely quickly when we had to refit DTS fast because of WURFL. They could definitely be much improved.

Trott commented 12 years ago

OK, fixed this one in dev. You'll want to port to DTS itself.