Index: Source/bindings/v8/ExceptionMessages.h |
diff --git a/Source/bindings/v8/ExceptionMessages.h b/Source/bindings/v8/ExceptionMessages.h |
index 440b00920416c1a290bf0fc3c81a25ce94921c53..725c2daa71a2e7631a82b9c221df823ad5e36a5a 100644 |
--- a/Source/bindings/v8/ExceptionMessages.h |
+++ b/Source/bindings/v8/ExceptionMessages.h |
@@ -43,7 +43,11 @@ public: |
static String failedToSet(const String& property, const String& type, const String& detail); |
static String failedToDelete(const String& property, const String& type, const String& detail); |
- static String notASequenceType(const String& argument); |
+ // If > 0, the argument index that failed type check (1-indexed.) |
+ // If <= 0, a (non-argument) value failed the same check. |
+ static String notASequenceTypeArgumentOrValue(int argumentIndexOrValue); |
+ static String notASequenceTypeProperty(const String& propertyName); |
+ |
static String notEnoughArguments(unsigned expected, unsigned providedleastNumMandatoryParams); |
}; |