SpiderMonkey evaluates the following expression: new Date(Date.UTC(2006, 0, -Infinity)).getUTCDate()) to yield NaN, which seems to be what ECMA-262 requires. However, js/tests/ecma_3_Date/126.96.36.199.js expects this to be 31. There are other similar errors. As part of bug 461180, the code in js/tests/shell.js which compares expected and actual test results will be fixed to compare NaNs correctly, which will make these tests begin to fail.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 466269
You need to log in before you can comment on or make changes to this bug.