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