mozilla/rhino — pull request #109 by mguillem (2013-02-22 08:56:33+00:00)
Title: Make stack property available on new Error() too

The exception thrown by something like:
```javascript
null.foo()
```
has the stacktrace available as ```stack``` property but the exception thrown by
```javascript
throw new Error()
```
doesn't.

This pull request fixes this problem (including unit test)