Remove client-agent sniff tests from has.js
In dojo/has.js, lines 112 & 113 contain agent sniffing tests for iOS "agent-ios" and Android "agent-android". The android test is incorrect as it should be testing for "Android" in the client agent string. dojo/_base/sniff.js and dojox/mobile/sniff.js contain correct versions of these tests, but use the test names "ios" and "android" rather than agent-xxx. Please remove these two client agent tests from has.js, since browser sniffing is handled by _base/sniff.js (for desktop and mobile) and dojox/mobile/sniff (for mobile-only). There are no references to either of these strings in the dojo source code, but we have some customers that have already tried using these test names and have hit the android bug.
Change History (4)
Owner: |
changed from Rawld Gill to Kris Zyp
|
Status: |
assigned →
new
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Kris--this is your code; could you take a look. Thanks!