[Webkit-unassigned] [Bug 57042] New: Float32Array(ArrayBuffer, index, length) constructor working incorrectly.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 24 12:17:32 PDT 2011


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

           Summary: Float32Array(ArrayBuffer, index, length) constructor
                    working incorrectly.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Canvas
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: danceoffwithyourpantsoff at gmail.com
                CC: kbr at google.com, mdelaney at apple.com


new Float32Array(new ArrayBuffer(10), 0, 2)
RangeError: ArrayBuffer length minus the byteOffset is not a multiple of the element size.

Unless I am misunderstanding the spec, a Float32Array of length 2 should be 8 bytes, enough to fit, and everything should be aligned.

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