Name Description Size Coverage
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, nativeErrors.js] --- 1249 -
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, nativeErrors.js] --- 878 -
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 --- description: | Arrays of language-specified Error constructors, plus a helper that constructs a sample instance with appropriate arguments for the constructor's signature. `nativeErrors` contains every Error constructor whose first argument is a `message` string: %Error% and the six NativeErrors. `allErrorConstructors` additionally includes %AggregateError% and %SuppressedError% when present in the host. Their constructors have different signatures (`(errors, message)` and `(error, suppressed, message)` respectively), so tests that just iterate as `new Ctor(message)` should prefer `nativeErrors`; tests that need to cover every Error-like constructor should use `allErrorConstructors` together with `makeNativeError`. defines: [nativeErrors, allErrorConstructors, makeNativeError] --- 1938 -
SyntaxError -
TypeError -
URIError -