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

Unified Diff: src/messages.h

Issue 1441043002: [proxies] Implement [[PreventExtensions]] and [[IsExtensible]]. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/js/v8natives.js ('k') | src/objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/messages.h
diff --git a/src/messages.h b/src/messages.h
index 480445756543327592b436c704030d94b2a4d24d..63c212fd6af987b65eebf3b57937811b32957e2f 100644
--- a/src/messages.h
+++ b/src/messages.h
@@ -183,18 +183,24 @@ class CallSite {
"Class extends value does not have valid prototype property %") \
T(ProxyHandlerDeleteFailed, \
"Proxy handler % did not return a boolean value from 'delete' trap") \
- T(ProxyHandlerNonObject, "Proxy.create called with non-object as handler") \
+ T(ProxyHandlerNonObject, "Cannot create proxy with non-object as handler") \
T(ProxyHandlerReturned, "Proxy handler % returned % from '%' trap") \
T(ProxyHandlerTrapMissing, "Proxy handler % has no '%' trap") \
T(ProxyHandlerTrapMustBeCallable, \
"Proxy handler %0 has non-callable '%' trap") \
+ T(ProxyIsExtensibleViolatesInvariant, \
+ "Result of trap 'isExtensible' is inconsistent with proxy's target") \
T(ProxyNonObjectPropNames, "Trap '%' returned non-object %") \
+ T(ProxyPreventExtensionsViolatesInvariant, \
+ "Trap 'preventExtensions' returned true but the proxy's target is " \
+ "extensible") \
T(ProxyPropNotConfigurable, \
"Proxy handler % returned non-configurable descriptor for property '%' " \
"from '%' trap") \
T(ProxyRepeatedPropName, "Trap '%' returned repeated property name '%'") \
+ T(ProxyRevoked, "Cannot perform '%' on a proxy that has been revoked") \
T(ProxyTargetNotExtensible, "Proxy target is not extensible") \
- T(ProxyTargetNonObject, "Proxy.% called with non-object as target") \
+ T(ProxyTargetNonObject, "Proxy target is non-object") \
T(ProxyTargetPropNotConfigurable, \
"Proxy target property '%' is not configurable") \
T(ProxyTrapFunctionExpected, \
« no previous file with comments | « src/js/v8natives.js ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698