[Webkit-unassigned] [Bug 36673] New: Math.random repeats values in different workers
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 26 13:47:17 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=36673
Summary: Math.random repeats values in different workers
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.6
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: webkit at catchall.getdown.org
When calling Math.random() in different workers, Math.random() is returning the
same values in the same order in each worker.
For example, when executing the following code (in an object) in webkit in
multiple workers, the object's redness is set to the same value in each worker:
this.redness = Math.round(255*Math.random());
I do not have this problem in Chrome or in Firefox.
If additional detail is required, the complete code is at the following URL:
http://github.com/bennytheshap/sabmit/raw/master/sabmit/public/javascripts/turtlestuff/turtle_base.js
--
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