Fix handling of an exception raised during arguments list evaluation.

Related issues: #260, #261, #262, #263, #264, #265, #266, #267

JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
Ruben Ayrapetyan
2015-06-29 22:58:45 +03:00
committed by Evgeny Gavrin
parent fd9ff8e3bd
commit 2aa04859ef
10 changed files with 229 additions and 5 deletions
+9
View File
@@ -44,3 +44,12 @@ for(i = 11; i <= 20; i++)
{
f1(i);
}
try {
f1 ({});
f1 (undefined_variable);
assert (false);
}
catch (e) {
assert (e instanceof ReferenceError);
}