browser.js |
|
0 |
message-property-assignment.js |
---
es6id: 19.5.1.1
description: >
A new instance has the message property if created with a parameter
info: |
19.5.1.1 Error ( message )
...
4. If message is not undefined, then
a. Let msg be ToString(message).
b. ReturnIfAbrupt(msg).
c. Let msgDesc be the PropertyDescriptor{[[Value]]: msg, [[Writable]]: true,
[[Enumerable]]: false, [[Configurable]]: true}.
d. Let status be DefinePropertyOrThrow(O, "message", msgDesc).
...
includes: [propertyHelper.js]
--- |
1005 |
regular-subclassing.js |
---
es6id: 19.5.1
description: Subclassing the Error object
info: |
19.5.1 The Error Constructor
...
The Error constructor is designed to be subclassable. It may be used as the
alue of an extends clause of a class definition. Subclass constructors that
intend to inherit the specified Error behaviour must include a super call to
the Error constructor to create and initialize subclass instances with a
[[ErrorData]] internal slot.
--- |
768 |
shell.js |
|
0 |
super-must-be-called.js |
---
es6id: 19.5.1
description: Super need to be called to initialize internals
info: |
19.5.1 The Error Constructor
...
The Error constructor is designed to be subclassable. It may be used as the
alue of an extends clause of a class definition. Subclass constructors that
intend to inherit the specified Error behaviour must include a super call to
the Error constructor to create and initialize subclass instances with a
[[ErrorData]] internal slot.
--- |
764 |