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

Side by Side Diff: src/messages.h

Issue 1481383003: [runtime] [proxy] Adding [[SetPrototypeOf]] trap. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: using new proxy method 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 | « 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 T(ProtoObjectOrNull, "Object prototype may only be an Object or null: %") \ 182 T(ProtoObjectOrNull, "Object prototype may only be an Object or null: %") \
183 T(PrototypeParentNotAnObject, \ 183 T(PrototypeParentNotAnObject, \
184 "Class extends value does not have valid prototype property %") \ 184 "Class extends value does not have valid prototype property %") \
185 T(ProxyDeletePropertyViolatesInvariant, \ 185 T(ProxyDeletePropertyViolatesInvariant, \
186 "Trap 'deleteProperty' returned true but property '%' is not configurable" \ 186 "Trap 'deleteProperty' returned true but property '%' is not configurable" \
187 " in the proxy target") \ 187 " in the proxy target") \
188 T(ProxyHandlerNonObject, "Cannot create proxy with non-object as handler") \ 188 T(ProxyHandlerNonObject, "Cannot create proxy with non-object as handler") \
189 T(ProxyHandlerReturned, "Proxy handler % returned % from '%' trap") \ 189 T(ProxyHandlerReturned, "Proxy handler % returned % from '%' trap") \
190 T(ProxyHandlerTrapMissing, "Proxy handler % has no '%' trap") \ 190 T(ProxyHandlerTrapMissing, "Proxy handler % has no '%' trap") \
191 T(ProxyHandlerTrapMustBeCallable, \ 191 T(ProxyHandlerTrapMustBeCallable, \
192 "Proxy handler %0 has non-callable '%' trap") \ 192 "Proxy handler % has non-callable '%' trap") \
193 T(ProxySetPrototypeFailed, \
194 "Proxy handler returned false when setting prototype '%'") \
193 T(ProxyNonObjectPropNames, "Trap '%' returned non-object %") \ 195 T(ProxyNonObjectPropNames, "Trap '%' returned non-object %") \
194 T(ProxyPreventExtensionsViolatesInvariant, \ 196 T(ProxyPreventExtensionsViolatesInvariant, \
195 "Trap 'preventExtensions' returned true but the proxy's target is " \ 197 "Trap 'preventExtensions' returned true but the proxy's target is " \
196 "extensible") \ 198 "extensible") \
197 T(ProxyPropNotConfigurable, \ 199 T(ProxyPropNotConfigurable, \
198 "Proxy handler % returned non-configurable descriptor for property '%' " \ 200 "Proxy handler % returned non-configurable descriptor for property '%' " \
199 "from '%' trap") \ 201 "from '%' trap") \
200 T(ProxyRepeatedPropName, "Trap '%' returned repeated property name '%'") \ 202 T(ProxyRepeatedPropName, "Trap '%' returned repeated property name '%'") \
201 T(ProxyHandlerOrTargetRevoked, \ 203 T(ProxyHandlerOrTargetRevoked, \
202 "Cannot create proxy with a revoked proxy as handler or target") \ 204 "Cannot create proxy with a revoked proxy as handler or target") \
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( 515 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty(
514 Isolate* isolate, LookupIterator* property_lookup, 516 Isolate* isolate, LookupIterator* property_lookup,
515 Handle<String> default_value); 517 Handle<String> default_value);
516 518
517 List<Handle<JSObject> > visited_; 519 List<Handle<JSObject> > visited_;
518 }; 520 };
519 } // namespace internal 521 } // namespace internal
520 } // namespace v8 522 } // namespace v8
521 523
522 #endif // V8_MESSAGES_H_ 524 #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