[Webkit-unassigned] [Bug 18687] REGRESSION(r32220): ecma/Array/15.4.4.5-3.js test now fails in GMT(BST)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 23 01:29:34 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18687


ap at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
            Summary|[REGRESSION 32220]          |REGRESSION(r32220):
                   |ecma/Array/15.4.4.5-3.js    |ecma/Array/15.4.4.5-3.js
                   |test now fails in GMT(BST)  |test now fails in GMT(BST)




------- Comment #1 from ap at webkit.org  2008-04-23 01:29 PDT -------
This is a mistake in the test. In GMT time zone, the array being sorted happens
to contain two identical dates, but different Date objects don't compare as
equal even if the dates are the same, and Array.sort() is not guaranteed to be
stable by ECMA-262. It used to be stable before r32220, but now we use
std::sort instead of mergesort.

We can either switch back to a stable sort, or fix the test.

This test also fails in Firefox, so I think that fixing it would be
appropriate.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list