[Webkit-unassigned] [Bug 43257] New: SunSpider's Math.random makes it unpredictable

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 30 09:37:25 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=43257

           Summary: SunSpider's Math.random makes it unpredictable
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pbiggar at mozilla.com


Sunspider calls Math.random in quite a few places, accounting for a measurable increase in run-time variance (https://bugzilla.mozilla.org/show_bug.cgi?id=580532#c24):

sunspider-0.9.1/string-validate-input.js
sunspider-0.9/string-base64.js
sunspider-0.9/string-validate-input.js
v8-v4/v8-crypto.js
v8-v4/v8-earley-boyer.js
v8-v4/v8-splay.js


In v8's test harness, Math.random is replaced by a deterministic function. However, Sunspider skips the v8 test harness.

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



More information about the webkit-unassigned mailing list