| Index: src/messages.js
|
| diff --git a/src/messages.js b/src/messages.js
|
| index d20b34b07e26e587ef9e9e1e03637750fb1f8e33..859bc0d721cd84bd9ba5bdd86b011b06d59dff8b 100644
|
| --- a/src/messages.js
|
| +++ b/src/messages.js
|
| @@ -1240,7 +1240,7 @@ var cyclic_error_marker = new $Object();
|
| function GetPropertyWithoutInvokingMonkeyGetters(error, name) {
|
| var current = error;
|
| // Climb the prototype chain until we find the holder.
|
| - while (current && !%HasLocalProperty(current, name)) {
|
| + while (current && !%HasOwnProperty(current, name)) {
|
| current = %GetPrototype(current);
|
| }
|
| if (IS_NULL(current)) return UNDEFINED;
|
|
|