(type, eventInitDict = {})
| 14590 | } |
| 14591 | #eventInit; |
| 14592 | constructor(type, eventInitDict = {}) { |
| 14593 | const prefix = "CloseEvent constructor"; |
| 14594 | webidl.argumentLengthCheck(arguments, 1, prefix); |
| 14595 | type = webidl.converters.DOMString(type, prefix, "type"); |
| 14596 | eventInitDict = webidl.converters.CloseEventInit(eventInitDict); |
| 14597 | super(type, eventInitDict); |
| 14598 | this.#eventInit = eventInitDict; |
| 14599 | webidl.util.markAsUncloneable(this); |
| 14600 | } |
| 14601 | get wasClean() { |
| 14602 | webidl.brandCheck(this, _CloseEvent); |
| 14603 | return this.#eventInit.wasClean; |
nothing calls this directly
no test coverage detected