Searched refs:AssertThrowsStrictAndSloppy (Results 1 – 1 of 1) sorted by relevance
17 function AssertThrowsStrictAndSloppy(code, error) { class33 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);[all …]