(type, eventInitDict)
| 14617 | } |
| 14618 | #eventInit; |
| 14619 | constructor(type, eventInitDict) { |
| 14620 | const prefix = "ErrorEvent constructor"; |
| 14621 | webidl.argumentLengthCheck(arguments, 1, prefix); |
| 14622 | super(type, eventInitDict); |
| 14623 | webidl.util.markAsUncloneable(this); |
| 14624 | type = webidl.converters.DOMString(type, prefix, "type"); |
| 14625 | eventInitDict = webidl.converters.ErrorEventInit(eventInitDict ?? {}); |
| 14626 | this.#eventInit = eventInitDict; |
| 14627 | } |
| 14628 | get message() { |
| 14629 | webidl.brandCheck(this, _ErrorEvent); |
| 14630 | return this.#eventInit.message; |
nothing calls this directly
no test coverage detected