<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>119828</bug_id>
          
          <creation_ts>2013-08-14 17:34:34 -0700</creation_ts>
          <short_desc>Typed array functions not present in jsc shell</short_desc>
          <delta_ts>2013-08-19 14:28:38 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Alon Zakai">alonzakai</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>oliver</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>917360</commentid>
    <comment_count>0</comment_count>
    <who name="Alon Zakai">alonzakai</who>
    <bug_when>2013-08-14 17:34:34 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>918712</commentid>
    <comment_count>1</comment_count>
    <who name="Oliver Hunt">oliver</who>
    <bug_when>2013-08-19 11:33:58 -0700</bug_when>
    <thetext>Have you tried trunk?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>918747</commentid>
    <comment_count>2</comment_count>
    <who name="Alon Zakai">alonzakai</who>
    <bug_when>2013-08-19 12:52:42 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Have you tried trunk?

Yes, this was on svn trunk pulled the day before I filed this issue (2013-08-13, svn rev 154022).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>918751</commentid>
    <comment_count>3</comment_count>
    <who name="Oliver Hunt">oliver</who>
    <bug_when>2013-08-19 13:08:38 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; Have you tried trunk?
&gt; 
&gt; Yes, this was on svn trunk pulled the day before I filed this issue (2013-08-13, svn rev 154022).

Check today :D</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>918795</commentid>
    <comment_count>4</comment_count>
    <who name="Alon Zakai">alonzakai</who>
    <bug_when>2013-08-19 14:28:38 -0700</bug_when>
    <thetext>Nice, looks like this was meanwhile added :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>