From ecma 262 ed. 3: B.2.6 Date.prototype.toGMTString ( ) The Function object that is the initial value of Date.prototype.toGMTString is the same Function object that is the initial value of Date.prototype.toUTCString. We miss this one: Date.prototype.toGMTString === Date.prototype.toUTCString evaluates to false in Spider Monkey. (true in Rhino.)
Will add testcase for this -
Summary: Small conformance bug with spider monkey → ecma conformance: Date.p.toUTCString != Date.p.toGMTString
One line (almost) fix. r? Adding reviewers.
Fix checked in. Thanks for the swift review!
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.