| Index: src/messages.h
|
| diff --git a/src/messages.h b/src/messages.h
|
| index 7c7b26f238936d05c039b8e15d34db1cceb8e659..de2f0e1e0f4e8a2e115c8f60f40948fed6741eb9 100644
|
| --- a/src/messages.h
|
| +++ b/src/messages.h
|
| @@ -130,6 +130,8 @@ class CallSite {
|
| T(CannotConvertToPrimitive, "Cannot convert object to primitive value") \
|
| T(ConstructorNotFunction, "Constructor % requires 'new'") \
|
| T(CurrencyCode, "Currency code is required with currency style.") \
|
| + T(DataViewNotArrayBuffer, \
|
| + "First argument to DataView constructor must be an ArrayBuffer") \
|
| T(DateType, "this is not a Date object.") \
|
| T(DefineDisallowed, "Cannot define property:%, object is not extensible.") \
|
| T(FirstArgumentNotRegExp, \
|
| @@ -143,6 +145,7 @@ class CallSite {
|
| "Expecting a function in instanceof check, but got %") \
|
| T(InstanceofNonobjectProto, \
|
| "Function has non-object prototype '%' in instanceof check") \
|
| + T(InvalidArgument, "invalid_argument") \
|
| T(InvalidInOperatorUse, "Cannot use 'in' operator to search for '%' in %") \
|
| T(IteratorResultNotAnObject, "Iterator result % is not an object") \
|
| T(IteratorValueNotAnObject, "Iterator value % is not an entry object") \
|
| @@ -153,6 +156,7 @@ class CallSite {
|
| "Method invoked on undefined or null value.") \
|
| T(MethodInvokedOnWrongType, "Method invoked on an object that is not %.") \
|
| T(NotAnIterator, "% is not an iterator") \
|
| + T(NotAPromise, "% is not a promise") \
|
| T(NotConstructor, "% is not a constructor") \
|
| T(NotGeneric, "% is not generic") \
|
| T(NotIterable, "% is not iterable") \
|
| @@ -177,24 +181,30 @@ class CallSite {
|
| "Invalid changeRecord with non-string 'type' property") \
|
| T(OrdinaryFunctionCalledAsConstructor, \
|
| "Function object that's not a constructor was created with new") \
|
| + 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(ProtoObjectOrNull, "Object prototype may only be an Object or null: %") \
|
| + T(ProxyHandlerNonObject, "Proxy.% called with non-object as handler") \
|
| T(ProxyHandlerReturned, "Proxy handler % returned % from '%' trap") \
|
| T(ProxyHandlerTrapMissing, "Proxy handler % has no '%' trap") \
|
| T(ProxyHandlerTrapMustBeCallable, \
|
| "Proxy handler %0 has non-callable '%' trap") \
|
| T(ProxyNonObjectPropNames, "Trap '%' returned non-object %") \
|
| - T(ProxyRepeatedPropName, "Trap '%' returned repeated property name '%'") \
|
| + T(ProxyProtoNonObject, "Proxy.create called with no-object as prototype") \
|
| T(ProxyPropNotConfigurable, \
|
| "Proxy handler % returned non-configurable descriptor for property '%' " \
|
| "from '%' trap") \
|
| + T(ProxyRepeatedPropName, "Trap '%' returned repeated property name '%'") \
|
| + T(ProxyTrapFunctionExpected, \
|
| + "Proxy.createFunction called with non-function for '%' trap") \
|
| T(RedefineDisallowed, "Cannot redefine property: %") \
|
| T(ReduceNoInitial, "Reduce of empty array with no initial value") \
|
| T(ReinitializeIntl, "Trying to re-initialize % object.") \
|
| T(ResolvedOptionsCalledOnNonObject, \
|
| "resolvedOptions method called on a non-object or on a object that is " \
|
| "not Intl.%.") \
|
| + T(ResolverNotAFunction, "Promise resolver % is not a function") \
|
| T(SymbolToPrimitive, \
|
| "Cannot convert a Symbol wrapper object to a primitive value") \
|
| T(SymbolToNumber, "Cannot convert a Symbol value to a number") \
|
| @@ -209,11 +219,21 @@ class CallSite {
|
| T(ArrayLengthOutOfRange, "defineProperty() array length out of range") \
|
| T(DateRange, "Provided date is not in valid range.") \
|
| T(ExpectedLocation, "Expected Area/Location for time zone, got %") \
|
| + T(InvalidArrayBufferLength, "Invalid array buffer length") \
|
| + T(InvalidArrayLength, "Invalid array length") \
|
| T(InvalidCodePoint, "Invalid code point %") \
|
| T(InvalidCountValue, "Invalid count value") \
|
| T(InvalidCurrencyCode, "Invalid currency code: %") \
|
| + T(InvalidDataViewAccessorOffset, \
|
| + "Offset is outside the bounds of the DataView") \
|
| + T(InvalidDataViewLength, "Invalid data view length") \
|
| + T(InvalidDataViewOffset, "Start offset is outside the bounds of the buffer") \
|
| T(InvalidLanguageTag, "Invalid language tag: %") \
|
| + T(InvalidStringLength, "Invalid string length") \
|
| T(InvalidTimeValue, "Invalid time value") \
|
| + T(InvalidTypedArrayAlignment, "% of % should be a multiple of %") \
|
| + T(InvalidTypedArrayLength, "Invalid typed array length") \
|
| + T(InvalidTypedArrayOffset, "Start offset is too large:") \
|
| T(LocaleMatcher, "Illegal value for localeMatcher:%") \
|
| T(NormalizationForm, "The normalization form should be one of %.") \
|
| T(NumberFormatRange, "% argument must be between 0 and 20") \
|
| @@ -221,6 +241,8 @@ class CallSite {
|
| T(StackOverflow, "Maximum call stack size exceeded") \
|
| T(ToPrecisionFormatRange, "toPrecision() argument must be between 1 and 21") \
|
| T(ToRadixFormatRange, "toString() radix argument must be between 2 and 36") \
|
| + T(TypedArraySetNegativeOffset, "Start offset is negative") \
|
| + T(TypedArraySetSourceTooLarge, "Source is too large") \
|
| T(UnsupportedTimeZone, "Unsupported time zone specified %") \
|
| T(ValueOutOfRange, "Value % out of range for % options property %") \
|
| /* SyntaxError */ \
|
|
|