Chromium Code Reviews| Index: src/messages.h |
| diff --git a/src/messages.h b/src/messages.h |
| index e0df3260375212de37511fb16f0824e59454b9bb..78dc6e88eb42a47e9fad4ff4f9548d43cddf53f9 100644 |
| --- a/src/messages.h |
| +++ b/src/messages.h |
| @@ -156,6 +156,9 @@ class CallSite { |
| "Object.prototype.__defineGetter__: Expecting function") \ |
| T(ObjectGetterCallable, "Getter must be a function: %") \ |
| T(ObjectNotExtensible, "Can't add property %, object is not extensible") \ |
| + T(ObjectSetPrototypeFailed, "Could not set '%' as Protoype on '%'") \ |
|
neis
2015/11/16 19:09:53
s/Protoype/prototype/
But why do we need both this
|
| + T(ObjectSetPrototypeNotExtensible, \ |
| + "Can't set prototype, object is not extensible") \ |
| T(ObjectSetterExpectingFunction, \ |
| "Object.prototype.__defineSetter__: Expecting function") \ |
| T(ObjectSetterCallable, "Setter must be a function: %") \ |
| @@ -177,6 +180,7 @@ class CallSite { |
| T(PromiseCyclic, "Chaining cycle detected for promise %") \ |
| T(PropertyDescObject, "Property description must be an object: %") \ |
| T(PropertyNotFunction, "Property '%' of object % is not a function") \ |
| + T(ProtoNotSet, "Could not set prototype '%' on '%'' ") \ |
| T(ProtoObjectOrNull, "Object prototype may only be an Object or null: %") \ |
| T(PrototypeParentNotAnObject, \ |
| "Class extends value does not have valid prototype property %") \ |
| @@ -195,6 +199,7 @@ class CallSite { |
| T(ProxyTargetNonObject, "Proxy.% called with non-object as target") \ |
| T(ProxyTrapFunctionExpected, \ |
| "Proxy.createFunction called with non-function for '%' trap") \ |
| + T(ProxyTrapReturnedFalse, "Proxy trap '%s' returned false.") \ |
| T(RedefineDisallowed, "Cannot redefine property: %") \ |
| T(RedefineExternalArray, \ |
| "Cannot redefine a property of an object with external array elements") \ |