DOMException-custom-bindings.any.html

PASSExpected15 of 15 subtests pass499 ms

Details

Test
/webidl/ecmascript-binding/es-exceptions/DOMException-custom-bindings.any.html
Harness
OK

Subtests

StatusSubtestMessage
PASSCannot construct without new
PASSinherits from Error: prototype-side
PASSdoes not inherit from Error: class-side
PASSmessage property descriptor
PASSmessage getter performs brand checks (i.e. is not [LegacyLenientThis])
PASSname property descriptor
PASSname getter performs brand checks (i.e. is not [LegacyLenientThis])
PASScode property descriptor
PASScode getter performs brand checks (i.e. is not [LegacyLenientThis])
PASScode property is not affected by shadowing the name property
PASSObject.prototype.toString behavior is like other interfaces
PASSInherits its toString() from Error.prototype
PASStoString() behavior from Error.prototype applies as expected
PASSDOMException.prototype.toString() applied to DOMException.prototype throws because of name/message brand checks
PASSIf the implementation has a stack property on normal errors, it also does on DOMExceptions