Name Description Size Coverage
browser.js 0 -
is-a-constructor.js --- esid: sec-ecmascript-standard-built-in-objects description: > The SuppressedError constructor implements [[Construct]] info: | IsConstructor ( argument ) The abstract operation IsConstructor takes argument argument (an ECMAScript language value). It determines if argument is a function object with a [[Construct]] internal method. It performs the following steps when called: If Type(argument) is not Object, return false. If argument has a [[Construct]] internal method, return true. Return false. includes: [isConstructor.js] features: [Reflect.construct, explicit-resource-management] --- 1184 -
length.js --- esid: sec-properties-of-the-suppressederror-constructors description: SuppressedError.length property descriptor info: | SuppressedError ( error, suppressed, message ) 17 ECMAScript Standard Built-in Objects Every built-in function object, including constructors, has a length property whose value is an integer. Unless otherwise specified, this value is equal to the largest number of named arguments shown in the subclause headings for the function description. Optional parameters (which are indicated with brackets: [ ]) or rest parameters (which are shown using the form «...name») are not included in the default argument count. Unless otherwise specified, the length property of a built-in function object has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }. includes: [propertyHelper.js] features: [explicit-resource-management] --- 1471 -
message-method-prop-cast.js --- esid: sec-suppressederror-constructor description: > Cast ToString values of message in the created method property info: | SuppressedError ( error, suppressed, message ) ... 5. If message is not undefined, then a. Let msg be ? ToString(message). b. Perform ! CreateMethodProperty(O, "message", msg). 6. Return O. CreateMethodProperty ( O, P, V ) ... 3. Let newDesc be the PropertyDescriptor { [[Value]]: V, [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true }. 4. Return ? O.[[DefineOwnProperty]](P, newDesc). features: [explicit-resource-management] includes: [propertyHelper.js] --- 2001 -
message-method-prop.js --- esid: sec-suppressederror-constructor description: > Creates a method property for message info: | SuppressedError ( error, suppressed, message ) ... 5. If message is not undefined, then a. Let msg be ? ToString(message). b. Perform ! CreateMethodProperty(O, "message", msg). 6. Return O. CreateMethodProperty ( O, P, V ) ... 3. Let newDesc be the PropertyDescriptor { [[Value]]: V, [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true }. 4. Return ? O.[[DefineOwnProperty]](P, newDesc). features: [explicit-resource-management] includes: [propertyHelper.js] --- 1220 -
message-tostring-abrupt-symbol.js --- esid: sec-suppressederror-constructor description: > Abrupt completions of ToString(Symbol message) info: | SuppressedError ( error, suppressed, message ) ... 5. If message is not undefined, then a. Let msg be ? ToString(message). b. Perform ! CreateMethodProperty(O, "message", msg). 6. Return O. features: [explicit-resource-management, Symbol, Symbol.toPrimitive] --- 1238 -
message-tostring-abrupt.js --- esid: sec-suppressederror-constructor description: > Abrupt completions of ToString(message) info: | SuppressedError ( error, suppressed, message ) ... 5. If message is not undefined, then a. Let msg be ? ToString(message). b. Perform ! CreateMethodProperty(O, "message", msg). 6. Return O. features: [explicit-resource-management, Symbol.toPrimitive] --- 1581 -
message-undefined-no-prop.js --- esid: sec-suppressederror-constructor description: > If message is undefined, no property will be set to the new instance info: | SuppressedError ( error, suppressed, message ) ... 5. If message is not undefined, then a. Let msg be ? ToString(message). b. Perform ! CreateMethodProperty(O, "message", msg). 6. Return O. features: [explicit-resource-management] --- 1134 -
name.js --- esid: sec-properties-of-the-suppressederror-constructor description: SuppressedError.name property descriptor info: | Properties of the SuppressedError Constructor - has a name property whose value is the String value "SuppressedError". 17 ECMAScript Standard Built-in Objects Every built-in function object, including constructors, that is not identified as an anonymous function has a name property whose value is a String. Unless otherwise specified, this value is the name that is given to the function in this specification. For functions that are specified as properties of objects, the name value is the property name string used to access the function. [...] Unless otherwise specified, the name property of a built-in function object, if it exists, has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: true }. includes: [propertyHelper.js] features: [explicit-resource-management] --- 1529 -
newtarget-is-undefined.js --- esid: sec-suppressederror-constructor description: > NewTarget is undefined info: | SuppressedError ( error, suppressed, message ) 1. If NewTarget is undefined, let newTarget be the active function object, else let newTarget be NewTarget. features: [explicit-resource-management] --- 877 -
newtarget-proto-custom.js --- esid: sec-suppressederror-constructor description: > Use a custom NewTarget prototype info: | SuppressedError ( error, suppressed, message ) 1. If NewTarget is undefined, let newTarget be the active function object, else let newTarget be NewTarget. 2. Let O be ? OrdinaryCreateFromConstructor(newTarget, "%SuppressedError.prototype%", « [[ErrorData]], [[AggregateErrors]] »). ... 6. Return O. OrdinaryCreateFromConstructor ( constructor, intrinsicDefaultProto [ , internalSlotsList ] ) ... 2. Let proto be ? GetPrototypeFromConstructor(constructor, intrinsicDefaultProto). 3. Return ObjectCreate(proto, internalSlotsList). GetPrototypeFromConstructor ( constructor, intrinsicDefaultProto ) ... 3. Let proto be ? Get(constructor, "prototype"). 4. If Type(proto) is not Object, then a. Let realm be ? GetFunctionRealm(constructor). b. Set proto to realm's intrinsic object named intrinsicDefaultProto. Return proto. features: [explicit-resource-management, Reflect.construct] --- 1764 -
newtarget-proto-fallback.js --- esid: sec-suppressederror-constructor description: > Fallback to the NewTarget's [[Prototype]] if the prototype property is not an object info: | SuppressedError ( error, suppressed, message ) 1. If NewTarget is undefined, let newTarget be the active function object, else let newTarget be NewTarget. 2. Let O be ? OrdinaryCreateFromConstructor(newTarget, "%SuppressedError.prototype%", « [[ErrorData]], [[AggregateErrors]] »). ... 6. Return O. OrdinaryCreateFromConstructor ( constructor, intrinsicDefaultProto [ , internalSlotsList ] ) ... 2. Let proto be ? GetPrototypeFromConstructor(constructor, intrinsicDefaultProto). 3. Return ObjectCreate(proto, internalSlotsList). GetPrototypeFromConstructor ( constructor, intrinsicDefaultProto ) ... 3. Let proto be ? Get(constructor, "prototype"). 4. If Type(proto) is not Object, then a. Let realm be ? GetFunctionRealm(constructor). b. Set proto to realm's intrinsic object named intrinsicDefaultProto. Return proto. features: [explicit-resource-management, Symbol] --- 1997 -
newtarget-proto.js --- esid: sec-suppressederror-constructor description: > Default prototype is the %SuppressedError.prototype%" info: | SuppressedError ( error, suppressed, message ) 1. If NewTarget is undefined, let newTarget be the active function object, else let newTarget be NewTarget. 2. Let O be ? OrdinaryCreateFromConstructor(newTarget, "%SuppressedError.prototype%", « [[ErrorData]], [[AggregateErrors]] »). ... 6. Return O. OrdinaryCreateFromConstructor ( constructor, intrinsicDefaultProto [ , internalSlotsList ] ) ... 2. Let proto be ? GetPrototypeFromConstructor(constructor, intrinsicDefaultProto). 3. Return ObjectCreate(proto, internalSlotsList). GetPrototypeFromConstructor ( constructor, intrinsicDefaultProto ) ... 3. Let proto be ? Get(constructor, "prototype"). 4. If Type(proto) is not Object, then a. Let realm be ? GetFunctionRealm(constructor). b. Set proto to realm's intrinsic object named intrinsicDefaultProto. Return proto. features: [explicit-resource-management] --- 1574 -
order-of-args-evaluation.js --- esid: sec-suppressederror-constructor description: > Process arguments in superclass-then-subclass order info: | SuppressedError ( error, suppressed, message ) 3. If message is not undefined, then a. Let messageString be ? ToString(message). b. Perform CreateNonEnumerableDataPropertyOrThrow(O, "message", messageString). 4. Perform CreateNonEnumerableDataPropertyOrThrow(O, "error", error). 5. Perform CreateNonEnumerableDataPropertyOrThrow(O, "suppressed", suppressed). features: [explicit-resource-management, Symbol.iterator] --- 1809 -
prop-desc.js --- esid: sec-suppressederror-objects description: > Property descriptor of SuppressedError info: | SuppressedError Objects ECMAScript Standard Built-in Objects: Every other data property described in clauses 18 through 26 and in Annex B.2 has the attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified. includes: [propertyHelper.js] features: [explicit-resource-management] --- 1045 -
proto-from-ctor-realm.js --- esid: sec-suppressederror-constructor description: Default [[Prototype]] value derived from realm of the NewTarget. info: | SuppressedError ( error, suppressed, message ) 1. If NewTarget is undefined, let newTarget be the active function object, else let newTarget be NewTarget. 2. Let O be ? OrdinaryCreateFromConstructor(newTarget, "%SuppressedError.prototype%", « [[ErrorData]] »). ... 6. Return O. OrdinaryCreateFromConstructor ( constructor, intrinsicDefaultProto [ , internalSlotsList ] ) ... 2. Let proto be ? GetPrototypeFromConstructor(constructor, intrinsicDefaultProto). 3. Return ObjectCreate(proto, internalSlotsList). GetPrototypeFromConstructor ( constructor, intrinsicDefaultProto ) ... 3. Let proto be ? Get(constructor, 'prototype'). 4. If Type(proto) is not Object, then a. Let realm be ? GetFunctionRealm(constructor). b. Set proto to realm's intrinsic object named intrinsicDefaultProto. 5. Return proto. features: [explicit-resource-management, cross-realm, Reflect, Symbol] --- 2787 -
proto.js --- description: The prototype of SuppressedError constructor is Error esid: sec-properties-of-the-suppressederror-constructors info: | Properties of the SuppressedError Constructor - has a [[Prototype]] internal slot whose value is the intrinsic object %Error%. features: [explicit-resource-management] --- 836 -
prototype -
shell.js --- description: | Test if a given function is a constructor function. defines: [isConstructor] features: [Reflect.construct] --- 596 -