Lines Matching full:assertthrows
8 assertThrows("'use strong'; 0 == 0", SyntaxError);
9 assertThrows("'use strong'; try {} catch(e) { { 0 == 0 } }", SyntaxError);
10 assertThrows("function f() { 'use strong'; 0 == 0 }", SyntaxError);
11 assertThrows("'use strong'; function f() { 0 == 0 }", SyntaxError);
12 assertThrows("'use strong'; function f() { function g() { 0 == 0 } }", SyntaxError);
18 assertThrows("'use strict'; 'use strong'; 0 == 0", SyntaxError);
19 assertThrows("'use strong'; 'use strict'; 0 == 0", SyntaxError);
20 assertThrows("'use strong'; 'use strong'; 0 == 0", SyntaxError);
21 assertThrows("'use strict'; function f() { 'use strong'; 0 == 0 }", SyntaxError);
22 assertThrows("'use strong'; function f() { 'use strict'; 0 == 0 }", SyntaxError);
25 assertThrows("'use strict'; var x; function f() { 'use strong' } delete x", SyntaxError);