| browser.js |
|
0 |
- |
| cause_property_native_error.js |
---
description: NativeError constructor creates own cause property
info: |
NativeError ( message[ , options ] )
...
4. Perform ? InstallErrorCause(O, options).
...
20.5.8.1 InstallErrorCause ( O, options )
1. If Type(options) is Object and ? HasProperty(options, "cause") is true, then
a. Let cause be ? Get(options, "cause").
b. Perform ! CreateNonEnumerableDataPropertyOrThrow(O, "cause", cause).
...
esid: sec-nativeerror
features: [error-cause]
includes: [propertyHelper.js]
--- |
1331 |
- |
| EvalError |
|
|
- |
| message_property_native_error.js |
---
description: NativeError constructor creates own message property
info: |
19.5.6.1.1 NativeError ( message )
...
4.
...
c. Let msgDesc be the PropertyDescriptor{[[Value]]: msg, [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true}.
d. Let status be DefinePropertyOrThrow(O, "message", msgDesc).
es6id: 19.5.6.1.1
includes: [propertyHelper.js]
--- |
960 |
- |
| nativeerror-tostring-message-throws-symbol.js |
---
esid: sec-nativeerror
description: >
NativeError constructors throw TypeError when _message_ is a Symbol
info: |
_NativeError_ ( _message_ [ , _options_ ] )
3. If _message_ is not *undefined*, then
a. Let _msg_ be ? ToString(_message_).
ToString (_argument_)
2. If _argument_ is a Symbol, throw a *TypeError* exception.
features: [Symbol]
--- |
1390 |
- |
| nativeerror-tostring-message-throws-toprimitive.js |
---
esid: sec-nativeerror
description: >
NativeError constructors throw TypeError when _message_ cannot be converted to a primitive
info: |
_NativeError_ ( _message_ [ , _options_ ] )
3. If _message_ is not *undefined*, then
a. Let _msg_ be ? ToString(_message_).
ToString (_argument_)
10. Let _primValue_ be ? ToPrimitive(_argument_, ~string~).
--- |
1579 |
- |
| RangeError |
|
|
- |
| ReferenceError |
|
|
- |
| shell.js |
|
0 |
- |
| SyntaxError |
|
|
- |
| TypeError |
|
|
- |
| URIError |
|
|
- |