Index: src/js/v8natives.js |
diff --git a/src/js/v8natives.js b/src/js/v8natives.js |
index f99564e8410bc6480be4fa2ff458463ea644c269..2dda1a3b27e879d5aa75b34f13110811d9b3d692 100644 |
--- a/src/js/v8natives.js |
+++ b/src/js/v8natives.js |
@@ -573,11 +573,9 @@ function DefineObjectProperty(obj, p, desc, should_throw) { |
if (IsDataDescriptor(current) && IsDataDescriptor(desc)) { |
var currentIsWritable = current.isWritable(); |
if (currentIsWritable != desc.isWritable()) { |
- if (!currentIsWritable || IS_STRONG(obj)) { |
+ if (!currentIsWritable) { |
if (should_throw) { |
- throw currentIsWritable |
- ? MakeTypeError(kStrongRedefineDisallowed, obj, p) |
- : MakeTypeError(kRedefineDisallowed, p); |
+ throw MakeTypeError(kRedefineDisallowed, p); |
} else { |
return false; |
} |