From f2f07700e233daf07be2c1d9fdf943f0c1b7bb89 Mon Sep 17 00:00:00 2001 From: "St.Spyder" Date: Tue, 2 Feb 2016 02:08:46 +0530 Subject: [PATCH] Throw type error on converting non objects to sequence, Don't panic in case of JS error --- src/conversions.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/conversions.rs b/src/conversions.rs index 1ce5714e1c8b9..e794ae804394c 100644 --- a/src/conversions.rs +++ b/src/conversions.rs @@ -499,6 +499,7 @@ impl> FromJSValConvertible for Vec> FromJSValConvertible for Vec