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

Unified Diff: src/messages.h

Issue 1481383003: [runtime] [proxy] Adding [[SetPrototypeOf]] trap. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « no previous file | src/objects.h » ('j') | src/objects.cc » ('J')
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 501c7166f0349ac6137fe12c103133470fa793c6..907947af3bbac12f3e424b9022a632e957abb128 100644
--- a/src/messages.h
+++ b/src/messages.h
@@ -189,10 +189,14 @@ class CallSite {
T(ProxyHandlerReturned, "Proxy handler % returned % from '%' trap") \
T(ProxyHandlerTrapMissing, "Proxy handler % has no '%' trap") \
T(ProxyHandlerTrapMustBeCallable, \
- "Proxy handler %0 has non-callable '%' trap") \
+ "Proxy handler % has non-callable '%' trap") \
T(ProxyIsExtensibleViolatesInvariant, \
"Result of trap 'isExtensible' is inconsistent with proxy's target") \
T(ProxyNonObjectPropNames, "Trap '%' returned non-object %") \
+ T(ProxySetPrototypeFailed, \
+ "Proxy handler returned false when setting protoype '%'") \
Jakob Kummerow 2015/11/30 16:29:18 nit: s/protoype/prototype/
+ T(ProxySetPrototypeVioloatesInvariant, \
Jakob Kummerow 2015/11/30 16:29:18 nit: s/Violoates/Violates/
+ "Trap 'setPrototypeOf' did not set prototype '%' on target '%'") \
T(ProxyPreventExtensionsViolatesInvariant, \
"Trap 'preventExtensions' returned true but the proxy's target is " \
"extensible") \
« no previous file with comments | « no previous file | src/objects.h » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698