1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 22:45:07 +00:00
serenity/Libraries/LibJS/Tests/loops
Linus Groh 82ac936a9d LibJS: Check for exception after executing (do)while test expression
Otherwise we crash the interpreter when an exception is thrown during
evaluation of the while or do/while test expression - which is easily
caused by a ReferenceError - e.g.:

    while (someUndefinedVariable) {
        // ...
    }
2020-10-23 19:06:57 +02:00
..
break-basic.js LibJS: Demonstrate weird behaviour with 'break' 2020-08-28 20:19:56 +02:00
continue-basic.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
do-while-basic.js LibJS: Check for exception after executing (do)while test expression 2020-10-23 19:06:57 +02:00
for-basic.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
for-head-errors.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
for-in-basic.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
for-no-curlies.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
for-of-basic.js LibJS: Integrate iterator protocol into language features 2020-07-14 17:58:42 +02:00
for-scopes.js LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
while-basic.js LibJS: Check for exception after executing (do)while test expression 2020-10-23 19:06:57 +02:00