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:
committed by
Evgeny Gavrin
parent
fd9ff8e3bd
commit
2aa04859ef
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user