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

Side by Side Diff: src/messages.h

Issue 1529363005: tzname check fix (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: todo comment added for Etc/GMT{offset} Created 5 years 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/mjsunit/regress/regress-487322.js » ('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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 T(NonMethod, "'super' is referenced from non-method") \ 320 T(NonMethod, "'super' is referenced from non-method") \
321 T(NotDefined, "% is not defined") \ 321 T(NotDefined, "% is not defined") \
322 T(StrongSuperCallMissing, \ 322 T(StrongSuperCallMissing, \
323 "In strong mode, invoking the super constructor in a subclass is " \ 323 "In strong mode, invoking the super constructor in a subclass is " \
324 "required") \ 324 "required") \
325 T(StrongUnboundGlobal, \ 325 T(StrongUnboundGlobal, \
326 "In strong mode, using an undeclared global variable '%' is not allowed") \ 326 "In strong mode, using an undeclared global variable '%' is not allowed") \
327 T(UnsupportedSuper, "Unsupported reference to 'super'") \ 327 T(UnsupportedSuper, "Unsupported reference to 'super'") \
328 /* RangeError */ \ 328 /* RangeError */ \
329 T(DateRange, "Provided date is not in valid range.") \ 329 T(DateRange, "Provided date is not in valid range.") \
330 T(ExpectedLocation, "Expected Area/Location for time zone, got %") \ 330 T(ExpectedTimezoneID, \
331 "Expected Area/Location(/Location)* for time zone, got %") \
332 T(ExpectedLocation, \
333 "Expected letters optionally connected with underscores or hyphens for " \
334 "a location, got %") \
331 T(InvalidArrayBufferLength, "Invalid array buffer length") \ 335 T(InvalidArrayBufferLength, "Invalid array buffer length") \
332 T(ArrayBufferAllocationFailed, "Array buffer allocation failed") \ 336 T(ArrayBufferAllocationFailed, "Array buffer allocation failed") \
333 T(InvalidArrayLength, "Invalid array length") \ 337 T(InvalidArrayLength, "Invalid array length") \
334 T(InvalidCodePoint, "Invalid code point %") \ 338 T(InvalidCodePoint, "Invalid code point %") \
335 T(InvalidCountValue, "Invalid count value") \ 339 T(InvalidCountValue, "Invalid count value") \
336 T(InvalidCurrencyCode, "Invalid currency code: %") \ 340 T(InvalidCurrencyCode, "Invalid currency code: %") \
337 T(InvalidDataViewAccessorOffset, \ 341 T(InvalidDataViewAccessorOffset, \
338 "Offset is outside the bounds of the DataView") \ 342 "Offset is outside the bounds of the DataView") \
339 T(InvalidDataViewLength, "Invalid data view length") \ 343 T(InvalidDataViewLength, "Invalid data view length") \
340 T(InvalidDataViewOffset, "Start offset is outside the bounds of the buffer") \ 344 T(InvalidDataViewOffset, "Start offset is outside the bounds of the buffer") \
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); 541 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data);
538 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate, 542 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate,
539 Handle<Object> data); 543 Handle<Object> data);
540 }; 544 };
541 545
542 546
543 } // namespace internal 547 } // namespace internal
544 } // namespace v8 548 } // namespace v8
545 549
546 #endif // V8_MESSAGES_H_ 550 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/js/i18n.js ('k') | test/mjsunit/regress/regress-487322.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698