[Webkit-unassigned] [Bug 67537] Implement a ProgressEvent constructor for JSC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 6 21:27:38 PDT 2011


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





--- Comment #11 from Kentaro Hara <haraken at google.com>  2011-09-06 21:27:38 PST ---
(In reply to comment #10)
> (In reply to comment #9)
> > On the other hand, as you know, 18446744073709551615 is evaluated in JavaScript as 18446744073709552000 (e.g. alert(18446744073709551615)), but I do not know why this behavior is correct...
> 
> Is it the correct output from http://people.mozilla.org/~jorendorff/es5.html#sec-9.8.1?

Ah, makes sense! Thanks!

By the way, then the output of

    shouldBe("new ProgressEvent('eventType', { loaded: -1 }).loaded", "18446744073709551615");

will become...

    PASS new ProgressEvent('eventType', { total: -1 }).total is 18446744073709552000

Confusing:-)

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