[Webkit-unassigned] [Bug 40355] Exception loading Google Wave in Safari 5

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 9 16:36:27 PDT 2010


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


Joel Webber <jgw at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jgw at google.com




--- Comment #5 from Joel Webber <jgw at google.com>  2010-06-09 16:36:25 PST ---
The following is a related, but slightly narrower form of the bug:

function merge(d,e,f) {
  var h,i,j,k;
  h = e - d;
  if (h < 3) {
    return
  }
  j = d + f;
  i = e + f;
  k = j + (i - j >> 1);
  merge(j,k,-f);
  merge(k,i,-f);
}
merge(0, 5, 0);

>From the console, when you set a breakpoint in merge(2, 5, 0):
> i
   5
> j
   2
> (i - j)
   3
> ((i - j) >> 1)
   1
> j + ((i - j) >> 1)
   5 <= WTF?!

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