[Webkit-unassigned] [Bug 16806] New: SunSpider/tests/string-base64.js does not compute a valid base64 encoded string

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 9 14:06:40 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=16806

           Summary: SunSpider/tests/string-base64.js does not compute a
                    valid base64 encoded string
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org
                CC: mjs at apple.com


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 "oops!";
+    }

     // Double the string
     str += str;

I'll attach a patch to fix the bug soon.  I expect this is already a well known
issue.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list