| Index: src/messages.js
|
| diff --git a/src/messages.js b/src/messages.js
|
| index 3446402ff9506037dc496589a6115aa46816806a..4b0e7507925746b38b8d88d1546b5866da72f40c 100644
|
| --- a/src/messages.js
|
| +++ b/src/messages.js
|
| @@ -1205,10 +1205,9 @@ function SetUpError() {
|
| // Define all the expected properties directly on the error
|
| // object. This avoids going through getters and setters defined
|
| // on prototype objects.
|
| - %IgnoreAttributesAndSetProperty(this, 'stack', UNDEFINED, DONT_ENUM);
|
| + %DefineProperty(this, 'stack', UNDEFINED, DONT_ENUM);
|
| if (!IS_UNDEFINED(m)) {
|
| - %IgnoreAttributesAndSetProperty(
|
| - this, 'message', ToString(m), DONT_ENUM);
|
| + %DefineProperty(this, 'message', ToString(m), DONT_ENUM);
|
| }
|
| captureStackTrace(this, f);
|
| } else {
|
|
|