Closed
Bug 836396
Opened 12 years ago
Closed 12 years ago
Tests in ecma/Date/15.9.5.24 ignore local start time
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: anba, Assigned: anba)
Details
Attachments
(1 file)
|
7.25 KB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0
Build ID: 20130116073211
Steps to reproduce:
The test cases in ecma/Date/15.9.5.24 ignore the local start time when computing the final utc time, cf. [ES5.1 - 15.9.5.28] for the correct algorithm.
I cannot provide a concrete test case which exhibits this problem, but it is noticeable in Australian time zones.
| Assignee | ||
Updated•12 years ago
|
OS: Windows 7 → All
Hardware: x86_64 → All
| Assignee | ||
Comment 1•12 years ago
|
||
Attachment #708221 -
Flags: review?(jwalden+bmo)
Updated•12 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•12 years ago
|
||
Comment on attachment 708221 [details] [diff] [review]
Apply local time correction before computing utc time
Review of attachment 708221 [details] [diff] [review]:
-----------------------------------------------------------------
Ugh, my head hurts reading this. I've stared at this for hours and not really made any progress toward understanding it. But I don't see that the changes you've made are actually *wrong* in any way, so I guess I'll just rubberstamp this and move on -- I've spent too much time on this already. Hopefully specs will get to the point where we can make all these algorithms use real data, then we can get rid of the pseudo-accurate bogus garbage algorithm and tests. :-\
Attachment #708221 -
Flags: review?(jwalden+bmo) → review+
Comment 3•12 years ago
|
||
Assignee: general → andrebargull
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla23
Comment 4•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•