[Webkit-unassigned] [Bug 43982] New: A flaw in detecting mobile WebKit in WebKitSite/misc/WebKitDetect.js

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 13 11:11:11 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=43982

           Summary: A flaw in detecting mobile WebKit in
                    WebKitSite/misc/WebKitDetect.js
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://webkit.org/misc/WebKitDetect.html
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Website
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: robin.qiu at torchmobile.com.cn
                CC: staikos at kde.org, charles.wei at torchmobile.com.cn


http://trac.webkit.org/browser/trunk/WebKitSite/misc/WebKitDetect.js

It seems to be a popular script for detecting mobile WebKit but it has a flaw that makes it fail on Android and BlackBerry.  

The issue is that it looks for "Mobile/" but Android and BlackBerry use "Mobile" with no numbering after it.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list