Index: src/messages.h |
diff --git a/src/messages.h b/src/messages.h |
index 221236d1db6c60e263e7b7b367bfccde9da375ed..1eddebaab049d1391bb8331995304fc930556ea4 100644 |
--- a/src/messages.h |
+++ b/src/messages.h |
@@ -296,7 +296,7 @@ class ErrorUtils : public AllStatic { |
T(DebuggerFrame, "Debugger: Invalid frame index.") \ |
T(DebuggerType, "Debugger: Parameters have wrong types.") \ |
T(DeclarationMissingInitializer, "Missing initializer in % declaration") \ |
- T(DefineDisallowed, "Cannot define property:%, object is not extensible.") \ |
+ T(DefineDisallowed, "Cannot define property %, object is not extensible") \ |
T(DetachedOperation, "Cannot perform % on a detached ArrayBuffer") \ |
T(DuplicateTemplateProperty, "Object template has duplicate property '%'") \ |
T(ExtendsValueNotConstructor, \ |
@@ -352,7 +352,7 @@ class ErrorUtils : public AllStatic { |
T(ObjectGetterExpectingFunction, \ |
"Object.prototype.__defineGetter__: Expecting function") \ |
T(ObjectGetterCallable, "Getter must be a function: %") \ |
- T(ObjectNotExtensible, "Can't add property %, object is not extensible") \ |
+ T(ObjectNotExtensible, "Cannot add property %, object is not extensible") \ |
T(ObjectSetterExpectingFunction, \ |
"Object.prototype.__defineSetter__: Expecting function") \ |
T(ObjectSetterCallable, "Setter must be a function: %") \ |