Open Bug 1300110 Opened 8 years ago Updated 2 years ago

DateTime doesn't clear cache for different time zones with same tz-adjustment

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

Tracking Status
firefox51 --- affected

People

(Reporter: anba, Unassigned)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached file testDateTime.cpp (obsolete) (deleted) —
This optimization [1] isn't correct. Two time zones may use the same offset, but still have different time zone rules, e.g. America/Denver and America/Phoenix. The attached test case is currently failing for America/Los_Angeles and America/Phoenix, but that's caused by bug 830304. [1] http://hg.mozilla.org/mozilla-central/file/d5f20820c805/js/src/vm/DateTime.cpp#l158
Attached file testDateTime.cpp (deleted) —
There is a similar issue in DateObject::fillLocalTimeSlots(), updated the test case accordingly. [1] http://hg.mozilla.org/mozilla-central/file/d5f20820c805/js/src/jsdate.cpp#l1253
Attachment #8787634 - Attachment is obsolete: true
Depends on: 1343826
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: