[Webkit-unassigned] [Bug 81560] New: webkitpy: platforminfo should replace direct checks for sys.platform wherever possible

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 19 14:02:07 PDT 2012


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

           Summary: webkitpy: platforminfo should replace direct checks
                    for sys.platform wherever possible
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rakuco at FreeBSD.org
                CC: abarth at webkit.org, dpranke at chromium.org,
                    rniwa at webkit.org


Even though platforminfo already replaces sys.platform in a lot of cases, the platform definitions which currently exist are sometimes too coarse-grained: for example, most of the places which still access sys.platform directly need to differentiate between cygwin and win32 because we only provide PlatformInfo.is_win().

Moving to a model where we specify capabilities of each platform should make it easier to port sys.platform uses to platforminfo, as well as make it less painful to add support for new platforms.

-- 
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