[Webkit-unassigned] [Bug 139586] New: Add reading of the binary file to the jsc

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 12 07:28:34 PST 2014


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

            Bug ID: 139586
           Summary: Add reading of the binary file to the jsc
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ydelendik at mozilla.com

We are using jsc to test the Shumway project (see [1]). Currently jsc has no way to read binary files (js has `read` with seconds argument, d8 has `readbuffer`)

Could you add something like readBinaryFile (along the lines of [2] -- returns wrong length atm) or second argument to the readFile to return ArrayBuffer or Uint8Array?

Thanks.

 [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1108390
 [2] https://gist.github.com/yurydelendik/2d88b2c8bc6e4f2bbe87

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141212/09691bb4/attachment-0002.html>


More information about the webkit-unassigned mailing list