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

Side by Side Diff: src/messages.h

Issue 1479543002: [proxies] Implement [[Delete]]. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix typo 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
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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 T(ObserveTypeNonString, \ 174 T(ObserveTypeNonString, \
175 "Invalid changeRecord with non-string 'type' property") \ 175 "Invalid changeRecord with non-string 'type' property") \
176 T(OrdinaryFunctionCalledAsConstructor, \ 176 T(OrdinaryFunctionCalledAsConstructor, \
177 "Function object that's not a constructor was created with new") \ 177 "Function object that's not a constructor was created with new") \
178 T(PromiseCyclic, "Chaining cycle detected for promise %") \ 178 T(PromiseCyclic, "Chaining cycle detected for promise %") \
179 T(PropertyDescObject, "Property description must be an object: %") \ 179 T(PropertyDescObject, "Property description must be an object: %") \
180 T(PropertyNotFunction, "Property '%' of object % is not a function") \ 180 T(PropertyNotFunction, "Property '%' of object % is not a function") \
181 T(ProtoObjectOrNull, "Object prototype may only be an Object or null: %") \ 181 T(ProtoObjectOrNull, "Object prototype may only be an Object or null: %") \
182 T(PrototypeParentNotAnObject, \ 182 T(PrototypeParentNotAnObject, \
183 "Class extends value does not have valid prototype property %") \ 183 "Class extends value does not have valid prototype property %") \
184 T(ProxyHandlerDeleteFailed, \ 184 T(ProxyDeletePropertyViolatesInvariant, \
185 "Proxy handler % did not return a boolean value from 'delete' trap") \ 185 "Trap 'deleteProperty' returned true but property '%' is not configurable" \
186 " in the proxy target") \
186 T(ProxyHandlerNonObject, "Cannot create proxy with non-object as handler") \ 187 T(ProxyHandlerNonObject, "Cannot create proxy with non-object as handler") \
187 T(ProxyHandlerReturned, "Proxy handler % returned % from '%' trap") \ 188 T(ProxyHandlerReturned, "Proxy handler % returned % from '%' trap") \
188 T(ProxyHandlerTrapMissing, "Proxy handler % has no '%' trap") \ 189 T(ProxyHandlerTrapMissing, "Proxy handler % has no '%' trap") \
189 T(ProxyHandlerTrapMustBeCallable, \ 190 T(ProxyHandlerTrapMustBeCallable, \
190 "Proxy handler %0 has non-callable '%' trap") \ 191 "Proxy handler %0 has non-callable '%' trap") \
191 T(ProxyIsExtensibleViolatesInvariant, \ 192 T(ProxyIsExtensibleViolatesInvariant, \
192 "Result of trap 'isExtensible' is inconsistent with proxy's target") \ 193 "Result of trap 'isExtensible' is inconsistent with proxy's target") \
193 T(ProxyNonObjectPropNames, "Trap '%' returned non-object %") \ 194 T(ProxyNonObjectPropNames, "Trap '%' returned non-object %") \
194 T(ProxyPreventExtensionsViolatesInvariant, \ 195 T(ProxyPreventExtensionsViolatesInvariant, \
195 "Trap 'preventExtensions' returned true but the proxy's target is " \ 196 "Trap 'preventExtensions' returned true but the proxy's target is " \
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( 510 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty(
510 Isolate* isolate, LookupIterator* property_lookup, 511 Isolate* isolate, LookupIterator* property_lookup,
511 Handle<String> default_value); 512 Handle<String> default_value);
512 513
513 List<Handle<JSObject> > visited_; 514 List<Handle<JSObject> > visited_;
514 }; 515 };
515 } // namespace internal 516 } // namespace internal
516 } // namespace v8 517 } // namespace v8
517 518
518 #endif // V8_MESSAGES_H_ 519 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/builtins.cc ('k') | src/objects.h » ('j') | test/mjsunit/harmony/proxies-delete-property.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698