Lines Matching refs:exception
15 PASS x = class extends threw exception SyntaxError: Unexpected end of input.
16 PASS x = class extends threw exception SyntaxError: Unexpected end of input.
17 PASS x = class extends Base { threw exception SyntaxError: Unexpected end of input.
18 PASS x = class extends Base { } did not throw exception.
19 PASS x = class extends Base { constructor() { } } did not throw exception.
26 PASS x = class extends 3 { constructor() { } }; x.__proto__ threw exception TypeError: Class extend…
27 PASS x = class extends "abc" { constructor() { } }; x.__proto__ threw exception TypeError: Class ex…
28 …nction () {}; baseWithBadPrototype.prototype = 3; new baseWithBadPrototype did not throw exception.
29 PASS x = class extends baseWithBadPrototype { constructor() { } } threw exception TypeError: Class …
30 PASS baseWithBadPrototype.prototype = "abc" did not throw exception.
31 PASS x = class extends baseWithBadPrototype { constructor() { } } threw exception TypeError: Class …
32 …otype = null; x = class extends baseWithBadPrototype { constructor() { } } did not throw exception.
33 PASS x = 1; c = class extends ++x { constructor() { } }; threw exception SyntaxError: Unexpected to…
34 PASS x = 1; c = class extends x++ { constructor() { } }; threw exception SyntaxError: Unexpected to…
35 PASS x = 1; c = class extends (++x) { constructor() { } }; threw exception TypeError: Class extends…
36 PASS x = 1; c = class extends (x++) { constructor() { } }; threw exception TypeError: Class extends…
39 …= {}; namespace.A = class { }; namespace.B = class extends namespace.A { } did not throw exception.
40 …; namespace.A = class A { }; namespace.B = class B extends namespace.A { } did not throw exception.
41 …tor() { } }; namespace.B = class extends namespace.A { constructor() { } } did not throw exception.
42 …r() { } }; namespace.B = class B extends namespace.A { constructor() { } } did not throw exception.
43 …r() { } }; namespace.B = class extends (namespace.A) { constructor() { } } did not throw exception.
44 …() { } }; namespace.B = class extends namespace["A"] { constructor() { } } did not throw exception.
45 …mespace.A }; namespace.B = class extends getClassA() { constructor() { } } did not throw exception.
46 …e[prop] }; namespace.B = class extends getClass("A") { constructor() { } } did not throw exception.
47 …mespace.B = class extends (false||null||namespace.A) { constructor() { } } did not throw exception.
48 ….B = class extends false||null||namespace.A { constructor() { } } threw exception SyntaxError: Une…
49 …} }; namespace.B = class extends (x++, namespace.A) { constructor() { } }; did not throw exception.
50 …space.B = class extends (namespace.A, x++) { constructor() { } }; threw exception TypeError: Class…
51 …namespace.B = class extends new namespace.A { constructor() { } } threw exception TypeError: Class…
52 …mespace.B = class extends new namespace.A() { constructor() { } } threw exception TypeError: Class…
57 PASS new (class extends undefined { constructor () { this } }) threw exception TypeError: Class ext…
58 PASS new (class extends undefined { constructor () { super(); } }) threw exception TypeError: Class…
59 PASS x = {}; new (class extends undefined { constructor () { return x; } }) threw exception TypeErr…
60 PASS y = 12; new (class extends undefined { constructor () { return y; } }) threw exception TypeErr…
62 PASS new (class extends null { constructor () { this; } }) threw exception ReferenceError: this is …
63 PASS new (class extends null { constructor () { super(); } }) threw exception TypeError: super is n…
65 PASS y = 12; new (class extends null { constructor () { return y; } }) threw exception TypeError: D…