ucla-oarc-mobile / mwf

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

DTS: OS string mismatches between getOS() and getOSVersion() #111

Closed Trott closed 12 years ago

Trott commented 12 years ago

In mwf.userAgent, getOSVersion() does not work for Windows Phone or Windows Mobile because getOS() returns "windows phone os" and "windows mobile" while getOSVersion() expects it to return "windows_phone" and "windows_mobile".

ebollens commented 12 years ago

Reassigning this to 1.3.01 as it's not a priority for 1.3.00 release but it is a bug that should be cleared up as soon as possible - propagating those weird CSS classes is nasty and should be fixed before GM.

ebollens commented 12 years ago

This does not appear to be a problem anymore. The user agent Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; returns windows_phone_os and the version correctly.