Index: src/v8natives.js |
=================================================================== |
--- src/v8natives.js (revision 5067) |
+++ src/v8natives.js (working copy) |
@@ -784,8 +784,8 @@ |
for (var key in names) { |
var name = names[key]; |
var desc = GetOwnProperty(obj, name); |
- if (IsDataDescriptor(desc) && desc.writable) return false; |
- if (desc.configurable) return false; |
+ if (IsDataDescriptor(desc) && desc.isWritable()) return false; |
+ if (desc.isConfigurable()) return false; |
} |
if (!ObjectIsExtensible(obj)) { |
return true; |