[Webkit-unassigned] [Bug 75892] Possible bug: Number(new Date(1, 1, 1, 1, 1, 1, 1))

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 1 02:34:26 PST 2012


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


Csaba Osztrogonac <ossy at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |darin at apple.com,
                   |                            |loki at webkit.org,
                   |                            |sullivan at apple.com,
                   |                            |zherczeg at webkit.org




--- Comment #2 from Csaba Osztrogonac <ossy at webkit.org>  2012-02-01 02:34:26 PST ---
This test introduced in http://trac.webkit.org/changeset/12446
(https://bugs.webkit.org/show_bug.cgi?id=6870) 6 years ago.

ECMA-262 said that the constructor of Date() has 7 parameters:
15.9.2.1 Date ( [ year [, month [, date [, hours [, minutes [, seconds [, ms ] ] ] ] ] ] ] )

But in this test you pass 9 parameters instead of 7. I think the 8th and 9th parameter is absolutely useless, and they are passed accidentally by r12446.

Darin (as the author) or John (as the reviewer), could you confirm that we should remove useless 8th and 9th parameters in this testcase?

PS. The discussion was started in https://bugs.webkit.org/show_bug.cgi?id=75692

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