WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
119828
Typed array functions not present in jsc shell
https://bugs.webkit.org/show_bug.cgi?id=119828
Summary
Typed array functions not present in jsc shell
Alon Zakai
Reported
2013-08-14 17:34:34 PDT
For example var x = new Float64Array(10); print([x.set, x.subarray]); shows that set() and subarray() are not defined in the jsc shell. These are defined in MiniBrowser though. Having these in the jsc shell would be very useful for automatic testing in Emscripten. We have a test suite in which we generate JS from C inputs, and run js shells to verify the output (mainly node, but can also run spidermonkey or v8 shells). It contains a large amount of testcases including real-world codebases like python, bullet, poppler, etc., and has found various bugs in js engines, I was hoping to run it on jsc.
Attachments
Add attachment
proposed patch, testcase, etc.
Oliver Hunt
Comment 1
2013-08-19 11:33:58 PDT
Have you tried trunk?
Alon Zakai
Comment 2
2013-08-19 12:52:42 PDT
(In reply to
comment #1
)
> Have you tried trunk?
Yes, this was on svn trunk pulled the day before I filed this issue (2013-08-13, svn rev 154022).
Oliver Hunt
Comment 3
2013-08-19 13:08:38 PDT
(In reply to
comment #2
)
> (In reply to
comment #1
) > > Have you tried trunk? > > Yes, this was on svn trunk pulled the day before I filed this issue (2013-08-13, svn rev 154022).
Check today :D
Alon Zakai
Comment 4
2013-08-19 14:28:38 PDT
Nice, looks like this was meanwhile added :)
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