Comment #5 on issue 4004 by [email protected]: Date.prototype should
be an ordinary object
https://code.google.com/p/v8/issues/detail?id=4004#c5
The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/f65e61ef447d7e273e9af5c10f3e5e2e3089ea66
commit f65e61ef447d7e273e9af5c10f3e5e2e3089ea66
Author: littledan <[email protected]>
Date: Mon Aug 31 20:45:35 2015
Make Date.prototype an ordinary object
This is a change for ES2015. Date objects have mutable state, so having
a mutable prototype is bad for SES requirements, and it is an
inconsistency from the typical ES2015 class style of objects
BUG=v8:4004
LOG=Y
R=adamk
Review URL: https://codereview.chromium.org/1317403002
Cr-Commit-Position: refs/heads/master@{#30486}
[modify]
http://crrev.com/f65e61ef447d7e273e9af5c10f3e5e2e3089ea66/src/date.js
[modify]
http://crrev.com/f65e61ef447d7e273e9af5c10f3e5e2e3089ea66/test/mjsunit/date.js
[modify]
http://crrev.com/f65e61ef447d7e273e9af5c10f3e5e2e3089ea66/test/mozilla/mozilla.status
[modify]
http://crrev.com/f65e61ef447d7e273e9af5c10f3e5e2e3089ea66/test/test262-es6/test262-es6.status
[modify]
http://crrev.com/f65e61ef447d7e273e9af5c10f3e5e2e3089ea66/test/test262/test262.status
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.