WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
139586
Add reading of the binary file to the jsc
https://bugs.webkit.org/show_bug.cgi?id=139586
Summary
Add reading of the binary file to the jsc
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
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug