Support passing of string and object arguments to plugins' bound functions.

This commit is contained in:
Ruben Ayrapetyan
2015-03-25 18:32:38 +03:00
parent c8f78c5d28
commit 6b0b669c14
9 changed files with 202 additions and 25 deletions
+13
View File
@@ -18,6 +18,7 @@
assert(Jerry.io.platform === "linux");
Jerry.io.print_uint32 (1);
Jerry.io.print_string (Jerry.io.platform);
try
{
@@ -30,3 +31,15 @@ catch (e)
{
assert (e instanceof TypeError);
}
try
{
// Argument type mismatch
Jerry.io.print_string (1);
assert (false);
}
catch (e)
{
assert (e instanceof TypeError);
}