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

Side by Side Diff: src/messages.h

Issue 1486553002: [proxies] Use IsRevoked where possible, remove has_handler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 T(ProxyIsExtensibleViolatesInvariant, \ 193 T(ProxyIsExtensibleViolatesInvariant, \
194 "Result of trap 'isExtensible' is inconsistent with proxy's target") \ 194 "Result of trap 'isExtensible' is inconsistent with proxy's target") \
195 T(ProxyNonObjectPropNames, "Trap '%' returned non-object %") \ 195 T(ProxyNonObjectPropNames, "Trap '%' returned non-object %") \
196 T(ProxyPreventExtensionsViolatesInvariant, \ 196 T(ProxyPreventExtensionsViolatesInvariant, \
197 "Trap 'preventExtensions' returned true but the proxy's target is " \ 197 "Trap 'preventExtensions' returned true but the proxy's target is " \
198 "extensible") \ 198 "extensible") \
199 T(ProxyPropNotConfigurable, \ 199 T(ProxyPropNotConfigurable, \
200 "Proxy handler % returned non-configurable descriptor for property '%' " \ 200 "Proxy handler % returned non-configurable descriptor for property '%' " \
201 "from '%' trap") \ 201 "from '%' trap") \
202 T(ProxyRepeatedPropName, "Trap '%' returned repeated property name '%'") \ 202 T(ProxyRepeatedPropName, "Trap '%' returned repeated property name '%'") \
203 T(ProxyHandlerOrTargetRevoked, \
204 "Cannot create proxy with a revoked proxy as handler or target") \
203 T(ProxyRevoked, "Cannot perform '%' on a proxy that has been revoked") \ 205 T(ProxyRevoked, "Cannot perform '%' on a proxy that has been revoked") \
204 T(ProxyTargetNotExtensible, "Proxy target is not extensible") \ 206 T(ProxyTargetNotExtensible, "Proxy target is not extensible") \
205 T(ProxyTargetNonObject, "Proxy target is non-object") \ 207 T(ProxyTargetNonObject, "Proxy target is non-object") \
206 T(ProxyTargetPropNotConfigurable, \ 208 T(ProxyTargetPropNotConfigurable, \
207 "Proxy target property '%' is not configurable") \ 209 "Proxy target property '%' is not configurable") \
208 T(ProxyTrapFunctionExpected, \ 210 T(ProxyTrapFunctionExpected, \
209 "Proxy.createFunction called with non-function for '%' trap") \ 211 "Proxy.createFunction called with non-function for '%' trap") \
210 T(ProxyTrapResultMustInclude, "Trap result must include %.") \ 212 T(ProxyTrapResultMustInclude, "Trap result must include %.") \
211 T(RedefineDisallowed, "Cannot redefine property: %") \ 213 T(RedefineDisallowed, "Cannot redefine property: %") \
212 T(RedefineExternalArray, \ 214 T(RedefineExternalArray, \
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( 513 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty(
512 Isolate* isolate, LookupIterator* property_lookup, 514 Isolate* isolate, LookupIterator* property_lookup,
513 Handle<String> default_value); 515 Handle<String> default_value);
514 516
515 List<Handle<JSObject> > visited_; 517 List<Handle<JSObject> > visited_;
516 }; 518 };
517 } // namespace internal 519 } // namespace internal
518 } // namespace v8 520 } // namespace v8
519 521
520 #endif // V8_MESSAGES_H_ 522 #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