Lines Matching refs:exception

18 PASS class threw exception SyntaxError: Unexpected end of input.
19 PASS class [ threw exception SyntaxError: Unexpected token [.
20 PASS class { threw exception SyntaxError: Unexpected token {.
21 PASS class X { threw exception SyntaxError: Unexpected end of input.
22 PASS class X { ( } threw exception SyntaxError: Unexpected token (.
23 PASS class X {} did not throw exception.
24 PASS class X { constructor() {} constructor() {} } threw exception SyntaxError: A class may only ha…
25 PASS class X { get constructor() {} } threw exception SyntaxError: Class constructor may not be an …
26 PASS class X { set constructor() {} } threw exception SyntaxError: Class constructor may not be an …
27 … X { constructor() {} static constructor() { return staticMethodValue; } } did not throw exception.
29 PASS class X { constructor() {} static prototype() {} } threw exception SyntaxError: Classes may no…
30 PASS class X { constructor() {} static get prototype() {} } threw exception SyntaxError: Classes ma…
31 PASS class X { constructor() {} static set prototype() {} } threw exception SyntaxError: Classes ma…
32 …S class X { constructor() {} prototype() { return instanceMethodValue; } } did not throw exception.
34 PASS class X { constructor() {} set foo(a) {} } did not throw exception.
35 PASS class X { constructor() {} set foo({x, y}) {} } did not throw exception.
36 PASS class X { constructor() {} set foo() {} } threw exception SyntaxError: Setter must have exactl…
37 PASS class X { constructor() {} set foo(a, b) {} } threw exception SyntaxError: Setter must have ex…
38 PASS class X { constructor() {} get foo() {} } did not throw exception.
39 PASS class X { constructor() {} get foo(x) {} } threw exception SyntaxError: Getter must not have a…
40 PASS class X { constructor() {} get foo({x, y}) {} } threw exception SyntaxError: Getter must not h…