Bug 119828

Summary: Typed array functions not present in jsc shell
Product: WebKit Reporter: Alon Zakai <alonzakai>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: oliver
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

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