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

Side by Side Diff: src/messages.h

Issue 1439353004: Implement JSProxy::GetOwnPropertyDescriptor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: address nit Created 5 years, 1 month 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 | « no previous file | src/objects.h » ('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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 T(ProxyHandlerNonObject, "Proxy.create called with non-object as handler") \ 185 T(ProxyHandlerNonObject, "Proxy.create called with non-object as handler") \
186 T(ProxyHandlerReturned, "Proxy handler % returned % from '%' trap") \ 186 T(ProxyHandlerReturned, "Proxy handler % returned % from '%' trap") \
187 T(ProxyHandlerTrapMissing, "Proxy handler % has no '%' trap") \ 187 T(ProxyHandlerTrapMissing, "Proxy handler % has no '%' trap") \
188 T(ProxyHandlerTrapMustBeCallable, \ 188 T(ProxyHandlerTrapMustBeCallable, \
189 "Proxy handler %0 has non-callable '%' trap") \ 189 "Proxy handler %0 has non-callable '%' trap") \
190 T(ProxyNonObjectPropNames, "Trap '%' returned non-object %") \ 190 T(ProxyNonObjectPropNames, "Trap '%' returned non-object %") \
191 T(ProxyPropNotConfigurable, \ 191 T(ProxyPropNotConfigurable, \
192 "Proxy handler % returned non-configurable descriptor for property '%' " \ 192 "Proxy handler % returned non-configurable descriptor for property '%' " \
193 "from '%' trap") \ 193 "from '%' trap") \
194 T(ProxyRepeatedPropName, "Trap '%' returned repeated property name '%'") \ 194 T(ProxyRepeatedPropName, "Trap '%' returned repeated property name '%'") \
195 T(ProxyTargetNotExtensible, "Proxy target is not extensible") \
195 T(ProxyTargetNonObject, "Proxy.% called with non-object as target") \ 196 T(ProxyTargetNonObject, "Proxy.% called with non-object as target") \
197 T(ProxyTargetPropNotConfigurable, \
198 "Proxy target property '%' is not configurable") \
196 T(ProxyTrapFunctionExpected, \ 199 T(ProxyTrapFunctionExpected, \
197 "Proxy.createFunction called with non-function for '%' trap") \ 200 "Proxy.createFunction called with non-function for '%' trap") \
198 T(RedefineDisallowed, "Cannot redefine property: %") \ 201 T(RedefineDisallowed, "Cannot redefine property: %") \
199 T(RedefineExternalArray, \ 202 T(RedefineExternalArray, \
200 "Cannot redefine a property of an object with external array elements") \ 203 "Cannot redefine a property of an object with external array elements") \
201 T(ReduceNoInitial, "Reduce of empty array with no initial value") \ 204 T(ReduceNoInitial, "Reduce of empty array with no initial value") \
202 T(RegExpFlags, \ 205 T(RegExpFlags, \
203 "Cannot supply flags when constructing one RegExp from another") \ 206 "Cannot supply flags when constructing one RegExp from another") \
204 T(RegExpNonObject, "% getter called on non-object %") \ 207 T(RegExpNonObject, "% getter called on non-object %") \
205 T(RegExpNonRegExp, "% getter called on non-RegExp object") \ 208 T(RegExpNonRegExp, "% getter called on non-RegExp object") \
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( 501 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty(
499 Isolate* isolate, LookupIterator* property_lookup, 502 Isolate* isolate, LookupIterator* property_lookup,
500 Handle<String> default_value); 503 Handle<String> default_value);
501 504
502 List<Handle<JSObject> > visited_; 505 List<Handle<JSObject> > visited_;
503 }; 506 };
504 } // namespace internal 507 } // namespace internal
505 } // namespace v8 508 } // namespace v8
506 509
507 #endif // V8_MESSAGES_H_ 510 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698