[Webkit-unassigned] [Bug 103259] New: Numeric identifiers of events are not guaranteed to be unique

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 26 08:26:26 PST 2012


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

           Summary: Numeric identifiers of events are not guaranteed to be
                    unique
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: HTML Events
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ctruta at gmail.com


The results of setTimeout, setInterval and navigator.geolocation.watchPosition are positive integer values extracted from a simple circular sequential number generator, whose uniqueness can be guaranteed for no more than 2^31 calls to any of these functions. In order to provide this guarantee beyond this limit, we repeatedly ask for the next sequential id until we get one that's not used already.

With this solution we fix a FIXME note.

-- 
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