Closed Bug 656300 Opened 14 years ago Closed 14 years ago

jstestbrowser - Math.abs(Date.parse(now.toLocaleString()) - now.valueOf()) < 1000 wrong value item 3

Categories

(Core :: JavaScript Engine, defect)

1.9.2 Branch
All
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 530974

People

(Reporter: tompelka, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110421 Red Hat/3.6.17-1.el6_0 Firefox/3.6.17 Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110421 Red Hat/3.6.17-1.el6_0 Firefox/3.6.17 REFTEST TEST-UNEXPECTED-FAIL | file:///root/rpmbuild/BUILD/xulrunner-1.9.2.17/mozilla-1.9.2/js/src/tests/jsreftest.html?test=ecma_3/Date/15.9.5.5.js | Math.abs(Date.parse(now.toLocaleString()) - now.valueOf()) < 1000 wrong value item 3 Reproducible: Always Steps to Reproduce: 1. compile ff 2. go to /root/rpmbuild/BUILD/xulrunner-1.9.2.17/mozilla-1.9.2/_tests/reftest 3. runreftest.py --appname=/usr/lib64/firefox-3.6/firefox --extra-profile-file=/root/rpmbuild/BUILD/xulrunner-1.9.2.17/mozilla-1.9.2/js/src/tests/user.js /root/rpmbuild/BUILD/xulrunner-1.9.2.17/mozilla-1.9.2/js/src/tests/ecma_3/jstests.list Actual Results: REFTEST TEST-UNEXPECTED-FAIL | file:///root/rpmbuild/BUILD/xulrunner-1.9.2.17/mozilla-1.9.2/js/src/tests/jsreftest.html?test=ecma_3/Date/15.9.5.5.js | Math.abs(Date.parse(now.toLocaleString()) - now.valueOf()) < 1000 wrong value item 3 Expected Results: No unexpected failures Appears on 3.6.17
Attached file full log
Version: unspecified → 3.6 Branch
Assignee: nobody → general
Component: General → JavaScript Engine
Product: Firefox → Core
QA Contact: general → general
Version: 3.6 Branch → 1.9.2 Branch
This looks like a dup of bug 530974, which we're trying to fix atm (see bug 530974 comment 0), and input would be useful there. What's your locale? These tests were only written to work in the PST timezone/locale, so they fail elsewhere.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
$ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: