Bug 139586

Summary: Add reading of the binary file to the jsc
Product: WebKit Reporter: Yury Delendik <ydelendik>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ggaren
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Yury Delendik
Reported 2014-12-12 07:28:34 PST
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
Attachments
Note You need to log in before you can comment on or make changes to this bug.