Home | History | Annotate | Download | only in strong

Lines Matching full:assertthrows

8   assertThrows("'use strong'; if (1);", SyntaxError);
9 assertThrows("'use strong'; if (1) {} else;", SyntaxError);
10 assertThrows("'use strong'; while (1);", SyntaxError);
11 assertThrows("'use strong'; do; while (1);", SyntaxError);
12 assertThrows("'use strong'; for (;;);", SyntaxError);
13 assertThrows("'use strong'; for (x in []);", SyntaxError);
14 assertThrows("'use strong'; for (x of []);", SyntaxError);
15 assertThrows("'use strong'; for (let x;;);", SyntaxError);
16 assertThrows("'use strong'; for (let x in []);", SyntaxError);
17 assertThrows("'use strong'; for (let x of []);", SyntaxError);