[Webkit-unassigned] [Bug 51861] New: DataView.getInt8() returns unsigned value on ARM platform

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 3 18:09:35 PST 2011


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

           Summary: DataView.getInt8() returns unsigned value on ARM
                    platform
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Android
        OS/Version: Android
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Canvas
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: wangxianzhu at google.com
                CC: mdelaney at apple.com


LayoutTests/fast/canvas/webgl/data-view-test.html fails on ARM platform:

FAIL view.getInt8(8) should be -128. Was 128.
FAIL view.getInt8(15) should be -1. Was 255.

ARM's 'char' is 'unsigned char' by default because it is more efficient on ARM. 'Man g++' says "a portable program should always use 'signed char' or 'unsigned char' when it depends on the signedness of an object." Here is the case.

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