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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 T(ProxySetFrozenAccessor, \ | 262 T(ProxySetFrozenAccessor, \ |
263 "'set' on proxy: trap returned truish for property '%' which exists in " \ | 263 "'set' on proxy: trap returned truish for property '%' which exists in " \ |
264 "the proxy target as a non-configurable and non-writable accessor " \ | 264 "the proxy target as a non-configurable and non-writable accessor " \ |
265 "property without a setter") \ | 265 "property without a setter") \ |
266 T(ProxySetPrototypeOfNonExtensible, \ | 266 T(ProxySetPrototypeOfNonExtensible, \ |
267 "'setPrototypeOf' on proxy: trap returned truish for setting a new " \ | 267 "'setPrototypeOf' on proxy: trap returned truish for setting a new " \ |
268 "prototype on the non-extensible proxy target") \ | 268 "prototype on the non-extensible proxy target") \ |
269 T(ProxyTrapReturnedFalsish, "'%' on proxy: trap returned falsish") \ | 269 T(ProxyTrapReturnedFalsish, "'%' on proxy: trap returned falsish") \ |
270 T(ProxyTrapReturnedFalsishFor, \ | 270 T(ProxyTrapReturnedFalsishFor, \ |
271 "'%' on proxy: trap returned falsish for property '%'") \ | 271 "'%' on proxy: trap returned falsish for property '%'") \ |
| 272 T(ReadGlobalReferenceThroughProxy, "Trying to access '%' through proxy") \ |
272 T(RedefineDisallowed, "Cannot redefine property: %") \ | 273 T(RedefineDisallowed, "Cannot redefine property: %") \ |
273 T(RedefineExternalArray, \ | 274 T(RedefineExternalArray, \ |
274 "Cannot redefine a property of an object with external array elements") \ | 275 "Cannot redefine a property of an object with external array elements") \ |
275 T(ReduceNoInitial, "Reduce of empty array with no initial value") \ | 276 T(ReduceNoInitial, "Reduce of empty array with no initial value") \ |
276 T(RegExpFlags, \ | 277 T(RegExpFlags, \ |
277 "Cannot supply flags when constructing one RegExp from another") \ | 278 "Cannot supply flags when constructing one RegExp from another") \ |
278 T(RegExpNonObject, "% getter called on non-object %") \ | 279 T(RegExpNonObject, "% getter called on non-object %") \ |
279 T(RegExpNonRegExp, "% getter called on non-RegExp object") \ | 280 T(RegExpNonRegExp, "% getter called on non-RegExp object") \ |
280 T(ReinitializeIntl, "Trying to re-initialize % object.") \ | 281 T(ReinitializeIntl, "Trying to re-initialize % object.") \ |
281 T(ResolvedOptionsCalledOnNonObject, \ | 282 T(ResolvedOptionsCalledOnNonObject, \ |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
537 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); | 538 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); |
538 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate, | 539 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate, |
539 Handle<Object> data); | 540 Handle<Object> data); |
540 }; | 541 }; |
541 | 542 |
542 | 543 |
543 } // namespace internal | 544 } // namespace internal |
544 } // namespace v8 | 545 } // namespace v8 |
545 | 546 |
546 #endif // V8_MESSAGES_H_ | 547 #endif // V8_MESSAGES_H_ |
OLD | NEW |