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

Side by Side Diff: src/messages.h

Issue 1481103002: [proxies] Implement [[Set]]. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « src/js/proxy.js ('k') | src/objects.h » ('j') | src/objects.cc » ('J')
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(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(ProxyDeletePropertyViolatesInvariant, \ 184 T(ProxyDeletePropertyViolatesInvariant, \
185 "Trap 'deleteProperty' returned true but property '%' is not configurable" \ 185 "Trap 'deleteProperty' returned true but property '%' is not configurable" \
186 " in the proxy target") \ 186 " in the proxy target") \
187 T(ProxyHandlerNonObject, "Cannot create proxy with non-object as handler") \ 187 T(ProxyHandlerNonObject, "Cannot create proxy with non-object as handler") \
188 T(ProxyHandlerReturned, "Proxy handler % returned % from '%' trap") \ 188 T(ProxyHandlerReturned, "Proxy handler % returned % from '%' trap") \
189 T(ProxyHandlerTrapMissing, "Proxy handler % has no '%' trap") \ 189 T(ProxyHandlerTrapMissing, "Proxy handler % has no '%' trap") \
190 T(ProxyHandlerTrapMustBeCallable, \ 190 T(ProxyHandlerTrapMustBeCallable, \
191 "Proxy handler %0 has non-callable '%' trap") \ 191 "Proxy handler %0 has non-callable '%' trap") \
192 T(ProxyIsExtensibleViolatesInvariant, \
193 "Result of trap 'isExtensible' is inconsistent with proxy's target") \
194 T(ProxyNonObjectPropNames, "Trap '%' returned non-object %") \ 192 T(ProxyNonObjectPropNames, "Trap '%' returned non-object %") \
195 T(ProxyPreventExtensionsViolatesInvariant, \ 193 T(ProxyPreventExtensionsViolatesInvariant, \
196 "Trap 'preventExtensions' returned true but the proxy's target is " \ 194 "Trap 'preventExtensions' returned true but the proxy's target is " \
197 "extensible") \ 195 "extensible") \
198 T(ProxyPropNotConfigurable, \ 196 T(ProxyPropNotConfigurable, \
199 "Proxy handler % returned non-configurable descriptor for property '%' " \ 197 "Proxy handler % returned non-configurable descriptor for property '%' " \
200 "from '%' trap") \ 198 "from '%' trap") \
201 T(ProxyRepeatedPropName, "Trap '%' returned repeated property name '%'") \ 199 T(ProxyRepeatedPropName, "Trap '%' returned repeated property name '%'") \
202 T(ProxyRevoked, "Cannot perform '%' on a proxy that has been revoked") \ 200 T(ProxyRevoked, "Cannot perform '%' on a proxy that has been revoked") \
203 T(ProxyTargetNotExtensible, "Proxy target is not extensible") \ 201 T(ProxyTargetNotExtensible, "Proxy target is not extensible") \
204 T(ProxyTargetNonObject, "Proxy target is non-object") \ 202 T(ProxyTargetNonObject, "Proxy target is non-object") \
205 T(ProxyTargetPropNotConfigurable, \ 203 T(ProxyTargetPropNotConfigurable, \
206 "Proxy target property '%' is not configurable") \ 204 "Proxy target property '%' is not configurable") \
207 T(ProxyTrapFunctionExpected, \ 205 T(ProxyTrapFunctionExpected, \
208 "Proxy.createFunction called with non-function for '%' trap") \ 206 "Proxy.createFunction called with non-function for '%' trap") \
207 T(ProxyTrapViolatesInvariant, \
208 "Result of trap '%' is inconsistent with proxy's target") \
209 T(RedefineDisallowed, "Cannot redefine property: %") \ 209 T(RedefineDisallowed, "Cannot redefine property: %") \
210 T(RedefineExternalArray, \ 210 T(RedefineExternalArray, \
211 "Cannot redefine a property of an object with external array elements") \ 211 "Cannot redefine a property of an object with external array elements") \
212 T(ReduceNoInitial, "Reduce of empty array with no initial value") \ 212 T(ReduceNoInitial, "Reduce of empty array with no initial value") \
213 T(RegExpFlags, \ 213 T(RegExpFlags, \
214 "Cannot supply flags when constructing one RegExp from another") \ 214 "Cannot supply flags when constructing one RegExp from another") \
215 T(RegExpNonObject, "% getter called on non-object %") \ 215 T(RegExpNonObject, "% getter called on non-object %") \
216 T(RegExpNonRegExp, "% getter called on non-RegExp object") \ 216 T(RegExpNonRegExp, "% getter called on non-RegExp object") \
217 T(ReinitializeIntl, "Trying to re-initialize % object.") \ 217 T(ReinitializeIntl, "Trying to re-initialize % object.") \
218 T(ResolvedOptionsCalledOnNonObject, \ 218 T(ResolvedOptionsCalledOnNonObject, \
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( 509 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty(
510 Isolate* isolate, LookupIterator* property_lookup, 510 Isolate* isolate, LookupIterator* property_lookup,
511 Handle<String> default_value); 511 Handle<String> default_value);
512 512
513 List<Handle<JSObject> > visited_; 513 List<Handle<JSObject> > visited_;
514 }; 514 };
515 } // namespace internal 515 } // namespace internal
516 } // namespace v8 516 } // namespace v8
517 517
518 #endif // V8_MESSAGES_H_ 518 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/js/proxy.js ('k') | src/objects.h » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698