| 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 201     "Proxy handler % returned non-configurable descriptor for property '%' "   \ | 201     "Proxy handler % returned non-configurable descriptor for property '%' "   \ | 
| 202     "from '%' trap")                                                           \ | 202     "from '%' trap")                                                           \ | 
| 203   T(ProxyRepeatedPropName, "Trap '%' returned repeated property name '%'")     \ | 203   T(ProxyRepeatedPropName, "Trap '%' returned repeated property name '%'")     \ | 
| 204   T(ProxyHandlerOrTargetRevoked,                                               \ | 204   T(ProxyHandlerOrTargetRevoked,                                               \ | 
| 205     "Cannot create proxy with a revoked proxy as handler or target")           \ | 205     "Cannot create proxy with a revoked proxy as handler or target")           \ | 
| 206   T(ProxyRevoked, "Cannot perform '%' on a proxy that has been revoked")       \ | 206   T(ProxyRevoked, "Cannot perform '%' on a proxy that has been revoked")       \ | 
| 207   T(ProxyTargetNotExtensible, "Proxy target is not extensible")                \ | 207   T(ProxyTargetNotExtensible, "Proxy target is not extensible")                \ | 
| 208   T(ProxyTargetNonObject, "Proxy target is non-object")                        \ | 208   T(ProxyTargetNonObject, "Proxy target is non-object")                        \ | 
| 209   T(ProxyTargetPropNotConfigurable,                                            \ | 209   T(ProxyTargetPropNotConfigurable,                                            \ | 
| 210     "Proxy target property '%' is not configurable")                           \ | 210     "Proxy target property '%' is not configurable")                           \ | 
|  | 211   T(ProxyTrapConstructMustReturnObject,                                        \ | 
|  | 212     "Construct trap must return Object, but got ''%s'.")                       \ | 
| 211   T(ProxyTrapFunctionExpected,                                                 \ | 213   T(ProxyTrapFunctionExpected,                                                 \ | 
| 212     "Proxy.createFunction called with non-function for '%' trap")              \ | 214     "Proxy.createFunction called with non-function for '%' trap")              \ | 
| 213   T(ProxyTrapResultMustInclude, "Trap result must include %.")                 \ | 215   T(ProxyTrapResultMustInclude, "Trap result must include %.")                 \ | 
| 214   T(ProxyTrapViolatesInvariant,                                                \ | 216   T(ProxyTrapViolatesInvariant,                                                \ | 
| 215     "Result of trap '%' is inconsistent with proxy's target")                  \ | 217     "Result of trap '%' is inconsistent with proxy's target")                  \ | 
| 216   T(RedefineDisallowed, "Cannot redefine property: %")                         \ | 218   T(RedefineDisallowed, "Cannot redefine property: %")                         \ | 
| 217   T(RedefineExternalArray,                                                     \ | 219   T(RedefineExternalArray,                                                     \ | 
| 218     "Cannot redefine a property of an object with external array elements")    \ | 220     "Cannot redefine a property of an object with external array elements")    \ | 
| 219   T(ReduceNoInitial, "Reduce of empty array with no initial value")            \ | 221   T(ReduceNoInitial, "Reduce of empty array with no initial value")            \ | 
| 220   T(RegExpFlags,                                                               \ | 222   T(RegExpFlags,                                                               \ | 
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 519   static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( | 521   static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( | 
| 520       Isolate* isolate, LookupIterator* property_lookup, | 522       Isolate* isolate, LookupIterator* property_lookup, | 
| 521       Handle<String> default_value); | 523       Handle<String> default_value); | 
| 522 | 524 | 
| 523   List<Handle<JSObject> > visited_; | 525   List<Handle<JSObject> > visited_; | 
| 524 }; | 526 }; | 
| 525 }  // namespace internal | 527 }  // namespace internal | 
| 526 }  // namespace v8 | 528 }  // namespace v8 | 
| 527 | 529 | 
| 528 #endif  // V8_MESSAGES_H_ | 530 #endif  // V8_MESSAGES_H_ | 
| OLD | NEW | 
|---|