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

Unified Diff: src/messages.h

Issue 1780823003: Check that Promise subclasses have callable resolve/reject (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix debug tests Created 4 years, 9 months 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
Index: src/messages.h
diff --git a/src/messages.h b/src/messages.h
index 8f5684f41658e762c4d937211279e887f3d58240..35e7c7f85cd9b2d2dc1ea06c913447613e2d8cce 100644
--- a/src/messages.h
+++ b/src/messages.h
@@ -187,6 +187,7 @@ class CallSite {
T(PromiseCyclic, "Chaining cycle detected for promise %") \
T(PromiseExecutorAlreadyInvoked, \
"Promise executor has already been invoked with non-undefined arguments") \
+ T(PromiseNonCallable, "Promise resolve or reject function is not callable") \
T(PropertyDescObject, "Property description must be an object: %") \
T(PropertyNotFunction, \
"'%' returned for property '%' of object '%' is not a function") \

Powered by Google App Engine
This is Rietveld 408576698