Lines Matching refs:AssertThrowsStrictAndSloppy
17 function AssertThrowsStrictAndSloppy(code, error) { class
33 AssertThrowsStrictAndSloppy(
35 AssertThrowsStrictAndSloppy(
37 AssertThrowsStrictAndSloppy(
39 AssertThrowsStrictAndSloppy(
42 AssertThrowsStrictAndSloppy("x = 3; class x { };", ReferenceError)
46 AssertThrowsStrictAndSloppy("class x { }; var x;", SyntaxError);
47 AssertThrowsStrictAndSloppy("var x; class x { };", SyntaxError);
48 AssertThrowsStrictAndSloppy("class x { }; function x() { };", SyntaxError);
49 AssertThrowsStrictAndSloppy("function x() { }; class x { };", SyntaxError);
50 AssertThrowsStrictAndSloppy("class x { }; for (var x = 0; false;) { };",
52 AssertThrowsStrictAndSloppy("for (var x = 0; false;) { }; class x { };",