DescriptionMake Date.prototype.toGMTString an alias for Date.prototype.toUTCString
In ES2015, Date.prototype.toGMTString is simply an alias of
Date.prototype.toUTCString, so it has the same identity as a function and
doesn't have its own name. Firefox has already shipped this behavior.
Previously, we copied JSC behavior by making it a separate function.
This change makes an addition test262 test pass.
BUG=v8:4708
LOG=Y
R=adamk
Committed: https://crrev.com/44f9c6a63874a838e6c9cc2858cdbd34884fd4db
Cr-Commit-Position: refs/heads/master@{#34131}
Patch Set 1 #Patch Set 2 : test262 test passes #Patch Set 3 : Fix test #
Messages
Total messages: 19 (8 generated)
|