<?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>16806</bug_id>
          
          <creation_ts>2008-01-09 14:06:39 -0800</creation_ts>
          <short_desc>SunSpider/tests/string-base64.js does not compute a valid base64 encoded string</short_desc>
          <delta_ts>2009-12-14 14:26:54 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Eric Seidel (no email)">eric</assigned_to>
          <cc>ap</cc>
    
    <cc>erikkay</cc>
    
    <cc>mjs</cc>
    
    <cc>seth.gaurav</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>66682</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-01-09 14:06:39 -0800</bug_when>
    <thetext>SunSpider/tests/string-base64.js does not compute a valid base64 encoded string

This patch to the test shows the error:

Index: string-base64.js
===================================================================
--- string-base64.js    (revision 29341)
+++ string-base64.js    (working copy)
@@ -126,7 +126,10 @@
     var base64;
 
     base64 = toBase64(str);
-    base64ToString(base64);
+    var roundtrip = base64ToString(base64);
+    if (str != roundtrip) {
+       throw &quot;oops!&quot;;
+    }
 
     // Double the string
     str += str;

I&apos;ll attach a patch to fix the bug soon.  I expect this is already a well known issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66683</commentid>
    <comment_count>1</comment_count>
      <attachid>18354</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-01-09 14:16:16 -0800</bug_when>
    <thetext>Created attachment 18354
fix correctness and add correctness check</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66992</commentid>
    <comment_count>2</comment_count>
      <attachid>18354</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-01-11 18:36:45 -0800</bug_when>
    <thetext>Comment on attachment 18354
fix correctness and add correctness check

Looks fine to me. I don&apos;t know what Maciej&apos;s plan is for changes to SunSpider, though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66993</commentid>
    <comment_count>3</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-01-11 18:38:37 -0800</bug_when>
    <thetext>What I mean is that I know he wants to fix issues like this one, but I do not know how he wants to stage the changes to SunSpider itself.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67120</commentid>
    <comment_count>4</comment_count>
      <attachid>18354</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-01-13 11:08:39 -0800</bug_when>
    <thetext>Comment on attachment 18354
fix correctness and add correctness check

Since Maciej is going to be the one making this change, I might as well make that clear in the review queue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69576</commentid>
    <comment_count>5</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2008-02-06 07:27:11 -0800</bug_when>
    <thetext>Maybe you should remove the string compare (str != roundtrip) before this lands. Do we want Sunspider to check correctness like this? Having the extra string compare in the test will make results differ more from the previous version.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69588</commentid>
    <comment_count>6</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-02-06 10:55:17 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; Maybe you should remove the string compare (str != roundtrip) before this
&gt; lands. Do we want Sunspider to check correctness like this? Having the extra
&gt; string compare in the test will make results differ more from the previous
&gt; version.
&gt; 

Testing correctness is definitely my intention with this patch.  My recommendation would be that all sunspider tests should test themselves for correctness.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81936</commentid>
    <comment_count>7</comment_count>
      <attachid>18354</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-05-30 08:35:12 -0700</bug_when>
    <thetext>Comment on attachment 18354
fix correctness and add correctness check

Unless I hear a very loud NO from maciej, I&apos;m going to find another reviewer and land this next week.  Silly to have SunSpider *still* be broken.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81941</commentid>
    <comment_count>8</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-05-30 09:03:34 -0700</bug_when>
    <thetext>I&apos;m not sure that&apos;s helpful. We currently have SunSpider 0.9. I think it could be a mistake to turn our tree into &quot;SunSpider 0.9 with some changes&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81947</commentid>
    <comment_count>9</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-05-30 10:03:58 -0700</bug_when>
    <thetext>(In reply to comment #8)
&gt; I&apos;m not sure that&apos;s helpful. We currently have SunSpider 0.9. I think it could
&gt; be a mistake to turn our tree into &quot;SunSpider 0.9 with some changes&quot;.

I agree.  My previous comment wasn&apos;t very helpful.  Poor choice of venting other frustration and seeing that this bug is still awaiting review nearly 5 months later.  There are two reasons I can see for the delay.

1. mjs is swamped with other things.
2. mjs is intentionally avoiding landing changes to SunSpider.

1.  Is solved by finding another reviewer (it&apos;s a simple patch after all).
2.  Seems slightly broken by-design, since that&apos;s using trunk/ as a stable branch.

If 2 is the intention (and mjs and I can hash this out over IRC), then it seems that we could/should copy current SunSpider trunk into a branch, thus allowing further development.  An alternative would be to create a SunSpider-unstable branch, and develop there (but that&apos;s the opposite of how the rest of WebKit development works).

Either way, the status-quo is &quot;don&apos;t touch sunspider&quot; (or at least that&apos;s the vibe I&apos;ve gotten from brief IRC conversations and having this patch sit for 3 months. :(

Again, mjs and I can (and will) hash this out on IRC.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82023</commentid>
    <comment_count>10</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2008-05-30 23:35:34 -0700</bug_when>
    <thetext>My apologies for not dealing with this patch yet. There are a couple of separate issues here:

1) trunk is not the frozen SunSpider 0.9 version; the copy on the web site is the frozen version
2) trunk SunSpider can change, but:
    2.a) we should think about a way to let people still easily run command-line against the old eversion (I don&apos;t think about that before) -- the web site copy does not have the command line version, so maybe there should be version subfolders in the SunSpider directory or something.
    2.b) I&apos;d like to keep the tests balanced in time with each other in the reference browsers.

I can deal with 2.b (now firing up the PC laptop to test and adjust as needed) but I need to figure out something for 2.a.

As for the correctness check, I would like all the tests to have correctness checks (I have some code lying around to that effect), but ideally I would like the check to be outside the test itself (as well as, ideally having an input outside the test itself; the combination of the two things means a smart compiler can&apos;t just fold the whole test to a constant which would miss the point of the benchmark).

I&apos;m sorry for having made myself the gatekeeper for SunSpider and not being responsive enough.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87589</commentid>
    <comment_count>11</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-08-01 12:07:57 -0700</bug_when>
    <thetext>(In reply to comment #10)
Just checking in again... 2 months later.  I know you all are busy.  But this is one patch in the (very long) review queue which I can&apos;t review myself.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89842</commentid>
    <comment_count>12</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2008-08-31 19:54:55 -0700</bug_when>
    <thetext>I have not had a chance to do what I said in comment #10 yet. If you&apos;d like to add support for multiple versions of the test content for SunSpider (with 0.9 still the default for now) then I&apos;d be glad to review this patch immediately for 0.9.1. Otherwise, I (or anyone else) can review it once that infrastructure is in place.

Basically SunSpider has become important enough in the broader browser performance community that I don&apos;t think I can unilaterally judge what changes are good, so I think the next version of the benchmark should be staged for testing and put out for wider community review before it becomes official.

I&apos;d appreciate your help on that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100852</commentid>
    <comment_count>13</comment_count>
      <attachid>18354</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-12-01 12:27:24 -0800</bug_when>
    <thetext>Comment on attachment 18354
fix correctness and add correctness check

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 11 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>104468</commentid>
    <comment_count>14</comment_count>
    <who name="Gaurav Seth">seth.gaurav</who>
    <bug_when>2009-01-05 12:28:34 -0800</bug_when>
    <thetext>This fix does not completely solve the problem of correctness of the base64 test (esp for IE). Reason being a non-standard compliance issue as detailed in the bug 22914.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171270</commentid>
    <comment_count>15</comment_count>
      <attachid>44770</attachid>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2009-12-13 17:34:16 -0800</bug_when>
    <thetext>Created attachment 44770
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171273</commentid>
    <comment_count>16</comment_count>
      <attachid>44770</attachid>
    <who name="Gavin Barraclough">barraclough</who>
    <bug_when>2009-12-13 17:39:24 -0800</bug_when>
    <thetext>Comment on attachment 44770
Patch

Do you mean the sunspider-compare-results change to be there?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171274</commentid>
    <comment_count>17</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2009-12-13 17:39:29 -0800</bug_when>
    <thetext>style-queue ran check-webkit-style on attachment 44770 without any errors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171281</commentid>
    <comment_count>18</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2009-12-13 18:38:56 -0800</bug_when>
    <thetext>Committed r52078: &lt;http://trac.webkit.org/changeset/52078&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171460</commentid>
    <comment_count>19</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-12-14 10:21:16 -0800</bug_when>
    <thetext>Is sunspider versioned now?  It&apos;s nice that this is finally fixed!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171582</commentid>
    <comment_count>20</comment_count>
    <who name="Gaurav Seth">seth.gaurav</who>
    <bug_when>2009-12-14 14:26:54 -0800</bug_when>
    <thetext>How do we access the updated version of SunSpider tests that have this change?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>18354</attachid>
            <date>2008-01-09 14:16:16 -0800</date>
            <delta_ts>2009-12-13 17:32:08 -0800</delta_ts>
            <desc>fix correctness and add correctness check</desc>
            <filename>fix.patch</filename>
            <type>text/plain</type>
            <size>2950</size>
            <attacher name="Eric Seidel (no email)">eric</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDI5MzQx
KQorKysgQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTIgQEAKKzIwMDgtMDEt
MDkgIEVyaWMgU2VpZGVsICA8ZXJpY0B3ZWJraXQub3JnPgorCisgICAgICAgIFJldmlld2VkIGJ5
IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIHN0cmluZy1iYXNlNjQgdGVzdCBkb2VzIG5vdCBj
b21wdXRlIGEgdmFsaWQgYmFzZTY0IHN0cmluZworICAgICAgICBodHRwOi8vYnVncy53ZWJraXQu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yhiYXNlNjQpOworICAgIHZhciByb3VuZHRyaXAgPSBiYXNlNjRUb1N0cmluZyhiYXNlNjQp
OworICAgIGlmIChzdHIgIT0gcm91bmR0cmlwKSB7CisJdGhyb3cgIm9vcHMhIjsKKyAgICB9CiAK
ICAgICAvLyBEb3VibGUgdGhlIHN0cmluZwogICAgIHN0ciArPSBzdHI7Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>44770</attachid>
            <date>2009-12-13 17:34:16 -0800</date>
            <delta_ts>2009-12-13 17:39:24 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-16806-20091213173415.patch</filename>
            <type>text/plain</type>
            <size>4081</size>
            <attacher name="Maciej Stachowiak">mjs</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDUyMDY0
KQorKysgQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTIgQEAKKzIwMDktMTIt
MTMgIEVyaWMgU2VpZGVsICA8ZXJpY0B3ZWJraXQub3JnPgorCisgICAgICAgIFJldmlld2VkIGJ5
IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIHN0cmluZy1iYXNlNjQgdGVzdCBkb2VzIG5vdCBj
b21wdXRlIGEgdmFsaWQgYmFzZTY0IHN0cmluZworICAgICAgICBodHRwOi8vYnVncy53ZWJraXQu
b3JnL3Nob3dfYnVnLmNnaT9pZD0xNjgwNgorCisgICAgICAgICogdGVzdHMvc3RyaW5nLWJhc2U2
NC5qczogY2hhbmdlIHN0cltpXSB0byBzdHIuY2hhckNvZGVBdChpKQorCiAyMDA5LTEyLTEwICBH
dXN0YXZvIE5vcm9uaGEgU2lsdmEgIDxndXN0YXZvLm5vcm9uaGFAY29sbGFib3JhL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PQotLS0gV2ViS2l0VG9vbHMvU2NyaXB0cy9zdW5z
cGlkZXItY29tcGFyZS1yZXN1bHRzCShyZXZpc2lvbiA1MjA2NCkKKysrIFdlYktpdFRvb2xzL1Nj
cmlwdHMvc3Vuc3BpZGVyLWNvbXBhcmUtcmVzdWx0cwkod29ya2luZyBjb3B5KQpAQCAtNDIsNiAr
NDIsNyBAQCBteSAkc2hvd0hlbHAgPSAwOwogbXkgJHN1aXRlID0gIiI7CiBteSAkdWJlbmNoID0g
MDsKIG15ICR2OCA9IDA7CitteSAkcGFyc2Vvbmx5ID0gMDsKIAogbXkgJHByb2dyYW1OYW1lID0g
YmFzZW5hbWUoJDApOwogbXkgJHVzYWdlID0gPDxFT0Y7Cg==
</data>
<flag name="review"
          id="26676"
          type_id="1"
          status="+"
          setter="barraclough"
    />
          </attachment>
      

    </bug>

</bugzilla>