Chromium Code Reviews| 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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 258 T(InvalidDataViewLength, "Invalid data view length") \ | 258 T(InvalidDataViewLength, "Invalid data view length") \ |
| 259 T(InvalidDataViewOffset, "Start offset is outside the bounds of the buffer") \ | 259 T(InvalidDataViewOffset, "Start offset is outside the bounds of the buffer") \ |
| 260 T(InvalidLanguageTag, "Invalid language tag: %") \ | 260 T(InvalidLanguageTag, "Invalid language tag: %") \ |
| 261 T(InvalidWeakMapKey, "Invalid value used as weak map key") \ | 261 T(InvalidWeakMapKey, "Invalid value used as weak map key") \ |
| 262 T(InvalidWeakSetValue, "Invalid value used in weak set") \ | 262 T(InvalidWeakSetValue, "Invalid value used in weak set") \ |
| 263 T(InvalidStringLength, "Invalid string length") \ | 263 T(InvalidStringLength, "Invalid string length") \ |
| 264 T(InvalidTimeValue, "Invalid time value") \ | 264 T(InvalidTimeValue, "Invalid time value") \ |
| 265 T(InvalidTypedArrayAlignment, "% of % should be a multiple of %") \ | 265 T(InvalidTypedArrayAlignment, "% of % should be a multiple of %") \ |
| 266 T(InvalidTypedArrayLength, "Invalid typed array length") \ | 266 T(InvalidTypedArrayLength, "Invalid typed array length") \ |
| 267 T(InvalidTypedArrayOffset, "Start offset is too large:") \ | 267 T(InvalidTypedArrayOffset, "Start offset is too large:") \ |
| 268 T(InvalidTypedArrayIndex, "The value of Index is invalid") \ | |
|
bbudge
2015/08/20 18:23:34
You should add a test in test/mjsunit/messages.js
gdeepti
2015/08/20 22:09:24
Looks like I probably should not have added this t
| |
| 268 T(LocaleMatcher, "Illegal value for localeMatcher:%") \ | 269 T(LocaleMatcher, "Illegal value for localeMatcher:%") \ |
| 269 T(NormalizationForm, "The normalization form should be one of %.") \ | 270 T(NormalizationForm, "The normalization form should be one of %.") \ |
| 270 T(NumberFormatRange, "% argument must be between 0 and 20") \ | 271 T(NumberFormatRange, "% argument must be between 0 and 20") \ |
| 271 T(PropertyValueOutOfRange, "% value is out of range.") \ | 272 T(PropertyValueOutOfRange, "% value is out of range.") \ |
| 272 T(StackOverflow, "Maximum call stack size exceeded") \ | 273 T(StackOverflow, "Maximum call stack size exceeded") \ |
| 273 T(ToPrecisionFormatRange, "toPrecision() argument must be between 1 and 21") \ | 274 T(ToPrecisionFormatRange, "toPrecision() argument must be between 1 and 21") \ |
| 274 T(ToRadixFormatRange, "toString() radix argument must be between 2 and 36") \ | 275 T(ToRadixFormatRange, "toString() radix argument must be between 2 and 36") \ |
| 275 T(TypedArraySetNegativeOffset, "Start offset is negative") \ | 276 T(TypedArraySetNegativeOffset, "Start offset is negative") \ |
| 276 T(TypedArraySetSourceTooLarge, "Source is too large") \ | 277 T(TypedArraySetSourceTooLarge, "Source is too large") \ |
| 277 T(UnsupportedTimeZone, "Unsupported time zone specified %") \ | 278 T(UnsupportedTimeZone, "Unsupported time zone specified %") \ |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 481 | 482 |
| 482 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( | 483 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( |
| 483 Isolate* isolate, LookupIterator* property_lookup, | 484 Isolate* isolate, LookupIterator* property_lookup, |
| 484 Handle<String> default_value); | 485 Handle<String> default_value); |
| 485 | 486 |
| 486 List<Handle<JSObject> > visited_; | 487 List<Handle<JSObject> > visited_; |
| 487 }; | 488 }; |
| 488 } } // namespace v8::internal | 489 } } // namespace v8::internal |
| 489 | 490 |
| 490 #endif // V8_MESSAGES_H_ | 491 #endif // V8_MESSAGES_H_ |
| OLD | NEW |