[Webkit-unassigned] [Bug 77290] New: [Windows, WinCairo] Specify exponent in text output to improve platform consistency

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 28 15:06:41 PST 2012


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

           Summary: [Windows, WinCairo] Specify exponent in text output to
                    improve platform consistency
           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: bfulgham at webkit.org
                CC: aroben at apple.com


Floating point values are printed with leading zeros on Windows, while on the Mac there is no leading value.  E.g., the value "1.23e-15" on the Mac platform will be printed as "1.23e-015" under Windows.

This causes a number of SVG tests under Windows (and therefore, WinCairo) to fail to match the equivalent result on the Mac.  For example, "svg/css/composite-shadow-example.html" will show this behavior.

As documented on MSDN (http://msdn.microsoft.com/en-us/library/0fatw238(v=vs.80).aspx), we can force the Windows test harness to output using the proper format using:

_set_output_format(_TWO_DIGIT_EXPONENT);

Using this change will allow us to have more sharing between the Win/WinCairo and Mac results.  It looks like there are a number of Windows results that were rebaselined just because of this small formatting problem.

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