<?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>17458</bug_id>
          
          <creation_ts>2008-02-20 13:42:49 -0800</creation_ts>
          <short_desc>Bug in 3d-cube SunSpider test (also in Jetstream2)</short_desc>
          <delta_ts>2020-11-30 16:01:12 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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>1</everconfirmed>
          <reporter name="John Resig">jresig</reporter>
          <assigned_to name="Maciej Stachowiak">mjs</assigned_to>
          <cc>brendan</cc>
    
    <cc>gavin.sharp</cc>
    
    <cc>mjs</cc>
    
    <cc>oliver</cc>
    
    <cc>saam</cc>
    
    <cc>seth.gaurav</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>71299</commentid>
    <comment_count>0</comment_count>
    <who name="John Resig">jresig</who>
    <bug_when>2008-02-20 13:42:49 -0800</bug_when>
    <thetext>There&apos;s a minor bug in the test which allows variables to leak into the global scope. Please see the attached patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71301</commentid>
    <comment_count>1</comment_count>
      <attachid>19238</attachid>
    <who name="John Resig">jresig</who>
    <bug_when>2008-02-20 13:43:31 -0800</bug_when>
    <thetext>Created attachment 19238
3d-cube.js patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71468</commentid>
    <comment_count>2</comment_count>
      <attachid>19238</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-02-21 22:24:12 -0800</bug_when>
    <thetext>Comment on attachment 19238
3d-cube.js patch

I assume this was meant for review; marking as such.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72531</commentid>
    <comment_count>3</comment_count>
      <attachid>19238</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-03-02 18:43:56 -0800</bug_when>
    <thetext>Comment on attachment 19238
3d-cube.js patch

This change looks right to me. But Maciej should really be the one to review it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100853</commentid>
    <comment_count>4</comment_count>
      <attachid>19238</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-12-01 12:28:15 -0800</bug_when>
    <thetext>Comment on attachment 19238
3d-cube.js patch

This bug doesn&apos;t need to sit in the review queue.  Maciej knows of the issue.  Sitting in the review queue for the next 10 months isn&apos;t going to solve the issue. :)  Maciej has noted reviewing this patch is blocked on other issues with sunspider distribution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>194602</commentid>
    <comment_count>5</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2010-02-28 14:24:00 -0800</bug_when>
    <thetext>This bug doesn&apos;t seem to affect the correctness of the result. Saving for SunSpider 2.0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1710074</commentid>
    <comment_count>6</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2020-11-25 13:44:21 -0800</bug_when>
    <thetext>Saam, can you take a look at this? Worth fixing for the next JS2 update?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1710837</commentid>
    <comment_count>7</comment_count>
    <who name="Saam Barati">saam</who>
    <bug_when>2020-11-30 16:01:12 -0800</bug_when>
    <thetext>(In reply to Maciej Stachowiak from comment #6)
&gt; Saam, can you take a look at this? Worth fixing for the next JS2 update?

I&apos;ve noticed this before. And it&apos;s very possible we&apos;ve done things to make this faster.

It&apos;s not quite obvious to me what the purpose of that loop is in general, especially if we switch to using `new`, none of those objects will be pointed to by anything. A sufficiently smart compiler could omit those allocations.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>19238</attachid>
            <date>2008-02-20 13:43:31 -0800</date>
            <delta_ts>2010-06-10 21:04:07 -0700</delta_ts>
            <desc>3d-cube.js patch</desc>
            <filename>3d-cube.patch</filename>
            <type>text/plain</type>
            <size>464</size>
            <attacher name="John Resig">jresig</attacher>
            
              <data encoding="base64">SW5kZXg6IHRlc3RzLzNkLWN1YmUuanMKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gdGVzdHMvM2QtY3ViZS5qcwko
cmV2aXNpb24gMzA0MjkpCisrKyB0ZXN0cy8zZC1jdWJlLmpzCSh3b3JraW5nIGNvcHkpCkBAIC0z
MDksNyArMzA5LDcgQEAKICAgCiAgIC8vIGNyZWF0ZSBsaW5lIHBpeGVscwogICBRLk51bVB4ID0g
OSAqIDIgKiBDdWJlU2l6ZTsKLSAgZm9yICh2YXIgaSA9IDA7IGkgPCBRLk51bVB4OyBpKyspIENy
ZWF0ZVAoMCwwLDApOworICBmb3IgKHZhciBpID0gMDsgaSA8IFEuTnVtUHg7IGkrKykgbmV3IENy
ZWF0ZVAoMCwwLDApOwogICAKICAgTVRyYW5zID0gVHJhbnNsYXRlKE1UcmFucywgT3JpZ2luLlZb
MF0sIE9yaWdpbi5WWzFdLCBPcmlnaW4uVlsyXSk7CiAgIE1RdWJlID0gTU11bHRpKE1UcmFucywg
TVF1YmUpOwo=
</data>

          </attachment>
      

    </bug>

</bugzilla>