Closed Bug 524490 Opened 15 years ago Closed 15 years ago

js/src/trace-test/tests/sunspider/check-date-format-xparb.js is broken everywhere but the US

Categories

(Core :: JavaScript Engine, defect)

Other Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
status1.9.2 --- beta5-fixed

People

(Reporter: jorendorff, Assigned: jorendorff)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

The results depend on when your locale enters and leaves Daylight Savings Time.
Attached patch v1Splinter Review
The answer is not to check so much.

This loses a bunch of phony coverage in favor of a small amount of real coverage. I'd rather not spend time improving it further.
Assignee: general → jorendorff
Status: NEW → ASSIGNED
Attachment #408417 - Flags: review?(igor)
Closely related to bug 515254.
As a non-US-west-coaster, I say "hear hear" to this patch.  But a comment in the code briefly explaining why we're not doing exact matching would be nice.
Comment on attachment 408417 [details] [diff] [review]
v1

I'll add this comment.

// No exact match because the output depends on the locale's time zone. See bug 524490.
Attachment #408417 - Flags: review?(igor) → review?(gal)
Attachment #408417 - Flags: review?(gal) → review+
Comment on attachment 408417 [details] [diff] [review]
v1

SunSpider. A constant source of embarrassment.
http://hg.mozilla.org/tracemonkey/rev/4b5938c3b527
Flags: wanted1.9.2?
Whiteboard: fixed-in-tracemonkey
Flags: in-testsuite+
http://hg.mozilla.org/mozilla-central/rev/4b5938c3b527
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Flags: wanted1.9.2? → wanted1.9.2+
These bugs landed after b4 was cut. Moving flag out.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: