Lines Matching refs:exception

16 PASS x = class extends Base { constructor() { super(); } super() {} } did not throw exception.
17 PASS x = class extends Base { constructor() { super(); } method() { super() } } threw exception Syn…
18 PASS x = class extends Base { constructor() { super(); } method() { super } } threw exception Synta…
19 …Base { constructor() { super(); } method() { return new super } } threw exception SyntaxError: 'su…
20 …(); } method1() { delete (super.foo) } method2() { delete super["foo"] } } did not throw exception.
21 PASS (new x).method1() threw exception ReferenceError: Unsupported reference to 'super'.
22 PASS (new x).method2() threw exception ReferenceError: Unsupported reference to 'super'.
25 PASS new (class extends Base { constructor() { return undefined } }) threw exception ReferenceError…
29 PASS new (class extends Base { constructor() { } }) threw exception ReferenceError: this is not def…
30 PASS new (class extends Base { constructor() { return 1; } }) threw exception TypeError: Derived co…
31 PASS new (class extends null { constructor() { return undefined } }) threw exception ReferenceError…
32 PASS new (class extends null { constructor() { super(); return undefined } }) threw exception TypeE…
35 PASS new (class extends null { constructor() { } }) threw exception ReferenceError: this is not def…
36 PASS new (class extends null { constructor() { return 1; } }) threw exception TypeError: Derived co…
37 PASS new (class extends null { constructor() { super() } }) threw exception TypeError: super is not…
38 PASS new (class { constructor() { super() } }) threw exception SyntaxError: 'super' keyword unexpec…
39 PASS function x() { super(); } threw exception SyntaxError: 'super' keyword unexpected here.
40 PASS new (class extends Object { constructor() { function x() { super() } } }) threw exception Synt…
41 PASS new (class extends Object { constructor() { function x() { super.method } } }) threw exception
42 PASS function x() { super.method(); } threw exception SyntaxError: 'super' keyword unexpected here.
43 PASS function x() { super(); } threw exception SyntaxError: 'super' keyword unexpected here.