| 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 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 443 T(ProxySetFrozenAccessor, \ | 443 T(ProxySetFrozenAccessor, \ |
| 444 "'set' on proxy: trap returned truish for property '%' which exists in " \ | 444 "'set' on proxy: trap returned truish for property '%' which exists in " \ |
| 445 "the proxy target as a non-configurable and non-writable accessor " \ | 445 "the proxy target as a non-configurable and non-writable accessor " \ |
| 446 "property without a setter") \ | 446 "property without a setter") \ |
| 447 T(ProxySetPrototypeOfNonExtensible, \ | 447 T(ProxySetPrototypeOfNonExtensible, \ |
| 448 "'setPrototypeOf' on proxy: trap returned truish for setting a new " \ | 448 "'setPrototypeOf' on proxy: trap returned truish for setting a new " \ |
| 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(ReadGlobalReferenceThroughProxy, "Trying to access '%' through proxy") \ | |
| 454 T(RedefineDisallowed, "Cannot redefine property: %") \ | 453 T(RedefineDisallowed, "Cannot redefine property: %") \ |
| 455 T(RedefineExternalArray, \ | 454 T(RedefineExternalArray, \ |
| 456 "Cannot redefine a property of an object with external array elements") \ | 455 "Cannot redefine a property of an object with external array elements") \ |
| 457 T(ReduceNoInitial, "Reduce of empty array with no initial value") \ | 456 T(ReduceNoInitial, "Reduce of empty array with no initial value") \ |
| 458 T(RegExpFlags, \ | 457 T(RegExpFlags, \ |
| 459 "Cannot supply flags when constructing one RegExp from another") \ | 458 "Cannot supply flags when constructing one RegExp from another") \ |
| 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") \ |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 737 const MessageLocation* loc, | 736 const MessageLocation* loc, |
| 738 Handle<Object> message_obj, | 737 Handle<Object> message_obj, |
| 739 v8::Local<v8::Value> api_exception_obj); | 738 v8::Local<v8::Value> api_exception_obj); |
| 740 }; | 739 }; |
| 741 | 740 |
| 742 | 741 |
| 743 } // namespace internal | 742 } // namespace internal |
| 744 } // namespace v8 | 743 } // namespace v8 |
| 745 | 744 |
| 746 #endif // V8_MESSAGES_H_ | 745 #endif // V8_MESSAGES_H_ |
| OLD | NEW |