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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 T(RegExpFlags, \ | 458 T(RegExpFlags, \ |
459 "Cannot supply flags when constructing one RegExp from another") \ | 459 "Cannot supply flags when constructing one RegExp from another") \ |
460 T(RegExpNonObject, "% getter called on non-object %") \ | 460 T(RegExpNonObject, "% getter called on non-object %") \ |
461 T(RegExpNonRegExp, "% getter called on non-RegExp object") \ | 461 T(RegExpNonRegExp, "% getter called on non-RegExp object") \ |
462 T(ReinitializeIntl, "Trying to re-initialize % object.") \ | 462 T(ReinitializeIntl, "Trying to re-initialize % object.") \ |
463 T(ResolverNotAFunction, "Promise resolver % is not a function") \ | 463 T(ResolverNotAFunction, "Promise resolver % is not a function") \ |
464 T(RestrictedFunctionProperties, \ | 464 T(RestrictedFunctionProperties, \ |
465 "'caller' and 'arguments' are restricted function properties and cannot " \ | 465 "'caller' and 'arguments' are restricted function properties and cannot " \ |
466 "be accessed in this context.") \ | 466 "be accessed in this context.") \ |
467 T(ReturnMethodNotCallable, "The iterator's 'return' method is not callable") \ | 467 T(ReturnMethodNotCallable, "The iterator's 'return' method is not callable") \ |
| 468 T(SharedArrayBufferTooShort, \ |
| 469 "Derived SharedArrayBuffer constructor created a buffer which was too " \ |
| 470 "small") \ |
| 471 T(SharedArrayBufferSpeciesThis, \ |
| 472 "SharedArrayBuffer subclass returned this from species constructor") \ |
468 T(StaticPrototype, "Classes may not have static property named prototype") \ | 473 T(StaticPrototype, "Classes may not have static property named prototype") \ |
469 T(StrictCannotAssign, "Cannot assign to read only '%' in strict mode") \ | 474 T(StrictCannotAssign, "Cannot assign to read only '%' in strict mode") \ |
470 T(StrictDeleteProperty, "Cannot delete property '%' of %") \ | 475 T(StrictDeleteProperty, "Cannot delete property '%' of %") \ |
471 T(StrictPoisonPill, \ | 476 T(StrictPoisonPill, \ |
472 "'caller', 'callee', and 'arguments' properties may not be accessed on " \ | 477 "'caller', 'callee', and 'arguments' properties may not be accessed on " \ |
473 "strict mode functions or the arguments objects for calls to them") \ | 478 "strict mode functions or the arguments objects for calls to them") \ |
474 T(StrictReadOnlyProperty, \ | 479 T(StrictReadOnlyProperty, \ |
475 "Cannot assign to read only property '%' of % '%'") \ | 480 "Cannot assign to read only property '%' of % '%'") \ |
476 T(StrictCannotCreateProperty, "Cannot create property '%' on % '%'") \ | 481 T(StrictCannotCreateProperty, "Cannot create property '%' on % '%'") \ |
477 T(SymbolIteratorInvalid, \ | 482 T(SymbolIteratorInvalid, \ |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
737 const MessageLocation* loc, | 742 const MessageLocation* loc, |
738 Handle<Object> message_obj, | 743 Handle<Object> message_obj, |
739 v8::Local<v8::Value> api_exception_obj); | 744 v8::Local<v8::Value> api_exception_obj); |
740 }; | 745 }; |
741 | 746 |
742 | 747 |
743 } // namespace internal | 748 } // namespace internal |
744 } // namespace v8 | 749 } // namespace v8 |
745 | 750 |
746 #endif // V8_MESSAGES_H_ | 751 #endif // V8_MESSAGES_H_ |
OLD | NEW |