| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // The infrastructure used for (localized) message reporting in V8. | 5 // The infrastructure used for (localized) message reporting in V8. |
| 6 // | 6 // |
| 7 // Note: there's a big unresolved issue about ownership of the data | 7 // Note: there's a big unresolved issue about ownership of the data |
| 8 // structures used by this framework. | 8 // structures used by this framework. |
| 9 | 9 |
| 10 #ifndef V8_MESSAGES_H_ | 10 #ifndef V8_MESSAGES_H_ |
| (...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 "prototype on the non-extensible proxy target") \ | 449 "prototype on the non-extensible proxy target") \ |
| 450 T(ProxyTrapReturnedFalsish, "'%' on proxy: trap returned falsish") \ | 450 T(ProxyTrapReturnedFalsish, "'%' on proxy: trap returned falsish") \ |
| 451 T(ProxyTrapReturnedFalsishFor, \ | 451 T(ProxyTrapReturnedFalsishFor, \ |
| 452 "'%' on proxy: trap returned falsish for property '%'") \ | 452 "'%' on proxy: trap returned falsish for property '%'") \ |
| 453 T(RedefineDisallowed, "Cannot redefine property: %") \ | 453 T(RedefineDisallowed, "Cannot redefine property: %") \ |
| 454 T(RedefineExternalArray, \ | 454 T(RedefineExternalArray, \ |
| 455 "Cannot redefine a property of an object with external array elements") \ | 455 "Cannot redefine a property of an object with external array elements") \ |
| 456 T(ReduceNoInitial, "Reduce of empty array with no initial value") \ | 456 T(ReduceNoInitial, "Reduce of empty array with no initial value") \ |
| 457 T(RegExpFlags, \ | 457 T(RegExpFlags, \ |
| 458 "Cannot supply flags when constructing one RegExp from another") \ | 458 "Cannot supply flags when constructing one RegExp from another") \ |
| 459 T(RegExpInvalidReplaceString, "Invalid replacement string: '%'") \ | |
| 460 T(RegExpNonObject, "% getter called on non-object %") \ | 459 T(RegExpNonObject, "% getter called on non-object %") \ |
| 461 T(RegExpNonRegExp, "% getter called on non-RegExp object") \ | 460 T(RegExpNonRegExp, "% getter called on non-RegExp object") \ |
| 462 T(ReinitializeIntl, "Trying to re-initialize % object.") \ | 461 T(ReinitializeIntl, "Trying to re-initialize % object.") \ |
| 463 T(ResolverNotAFunction, "Promise resolver % is not a function") \ | 462 T(ResolverNotAFunction, "Promise resolver % is not a function") \ |
| 464 T(RestrictedFunctionProperties, \ | 463 T(RestrictedFunctionProperties, \ |
| 465 "'caller' and 'arguments' are restricted function properties and cannot " \ | 464 "'caller' and 'arguments' are restricted function properties and cannot " \ |
| 466 "be accessed in this context.") \ | 465 "be accessed in this context.") \ |
| 467 T(ReturnMethodNotCallable, "The iterator's 'return' method is not callable") \ | 466 T(ReturnMethodNotCallable, "The iterator's 'return' method is not callable") \ |
| 468 T(SharedArrayBufferTooShort, \ | 467 T(SharedArrayBufferTooShort, \ |
| 469 "Derived SharedArrayBuffer constructor created a buffer which was too " \ | 468 "Derived SharedArrayBuffer constructor created a buffer which was too " \ |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 745 const MessageLocation* loc, | 744 const MessageLocation* loc, |
| 746 Handle<Object> message_obj, | 745 Handle<Object> message_obj, |
| 747 v8::Local<v8::Value> api_exception_obj); | 746 v8::Local<v8::Value> api_exception_obj); |
| 748 }; | 747 }; |
| 749 | 748 |
| 750 | 749 |
| 751 } // namespace internal | 750 } // namespace internal |
| 752 } // namespace v8 | 751 } // namespace v8 |
| 753 | 752 |
| 754 #endif // V8_MESSAGES_H_ | 753 #endif // V8_MESSAGES_H_ |
| OLD | NEW |