Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/messages.h

Issue 2582993002: [intl] Add new semantics + compat fallback to Intl constructor (Closed)
Patch Set: reformatting Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/js/i18n.js ('k') | test/cctest/interpreter/bytecode_expectations/ForOf.golden » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 T(ReadGlobalReferenceThroughProxy, "Trying to access '%' through proxy") \ 451 T(ReadGlobalReferenceThroughProxy, "Trying to access '%' through proxy") \
452 T(RedefineDisallowed, "Cannot redefine property: %") \ 452 T(RedefineDisallowed, "Cannot redefine property: %") \
453 T(RedefineExternalArray, \ 453 T(RedefineExternalArray, \
454 "Cannot redefine a property of an object with external array elements") \ 454 "Cannot redefine a property of an object with external array elements") \
455 T(ReduceNoInitial, "Reduce of empty array with no initial value") \ 455 T(ReduceNoInitial, "Reduce of empty array with no initial value") \
456 T(RegExpFlags, \ 456 T(RegExpFlags, \
457 "Cannot supply flags when constructing one RegExp from another") \ 457 "Cannot supply flags when constructing one RegExp from another") \
458 T(RegExpNonObject, "% getter called on non-object %") \ 458 T(RegExpNonObject, "% getter called on non-object %") \
459 T(RegExpNonRegExp, "% getter called on non-RegExp object") \ 459 T(RegExpNonRegExp, "% getter called on non-RegExp object") \
460 T(ReinitializeIntl, "Trying to re-initialize % object.") \ 460 T(ReinitializeIntl, "Trying to re-initialize % object.") \
461 T(ResolvedOptionsCalledOnNonObject, \
462 "resolvedOptions method called on a non-object or on a object that is " \
463 "not Intl.%.") \
464 T(ResolverNotAFunction, "Promise resolver % is not a function") \ 461 T(ResolverNotAFunction, "Promise resolver % is not a function") \
465 T(RestrictedFunctionProperties, \ 462 T(RestrictedFunctionProperties, \
466 "'caller' and 'arguments' are restricted function properties and cannot " \ 463 "'caller' and 'arguments' are restricted function properties and cannot " \
467 "be accessed in this context.") \ 464 "be accessed in this context.") \
468 T(ReturnMethodNotCallable, "The iterator's 'return' method is not callable") \ 465 T(ReturnMethodNotCallable, "The iterator's 'return' method is not callable") \
469 T(StaticPrototype, "Classes may not have static property named prototype") \ 466 T(StaticPrototype, "Classes may not have static property named prototype") \
470 T(StrictCannotAssign, "Cannot assign to read only '%' in strict mode") \ 467 T(StrictCannotAssign, "Cannot assign to read only '%' in strict mode") \
471 T(StrictDeleteProperty, "Cannot delete property '%' of %") \ 468 T(StrictDeleteProperty, "Cannot delete property '%' of %") \
472 T(StrictPoisonPill, \ 469 T(StrictPoisonPill, \
473 "'caller', 'callee', and 'arguments' properties may not be accessed on " \ 470 "'caller', 'callee', and 'arguments' properties may not be accessed on " \
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 const MessageLocation* loc, 730 const MessageLocation* loc,
734 Handle<Object> message_obj, 731 Handle<Object> message_obj,
735 v8::Local<v8::Value> api_exception_obj); 732 v8::Local<v8::Value> api_exception_obj);
736 }; 733 };
737 734
738 735
739 } // namespace internal 736 } // namespace internal
740 } // namespace v8 737 } // namespace v8
741 738
742 #endif // V8_MESSAGES_H_ 739 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/js/i18n.js ('k') | test/cctest/interpreter/bytecode_expectations/ForOf.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698