Comment #5 on issue 2397 by [email protected]: Error.toString() throws illegal access
https://code.google.com/p/v8/issues/detail?id=2397

Thanks for fixing. Could you speak a little more to "'type' and 'arguments' properties should not be set for Error objects"? It doesn't seem to be widely known in the javascript community. Several library authors have used 'type' before this issue surfaced:

https://github.com/TryGhost/Ghost/issues/5178
https://github.com/Automattic/mongoose/issues/1323

And there's no mention of these properties being special on MDN:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error

Should I be discouraging folks from using 'type', or is safe with this fix?

--
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.

Reply via email to