initMessageEvent

fun initMessageEvent(    type: String,     bubbles: Boolean,     cancelable: Boolean,     data: Any?,     origin: String,     lastEventId: String,     source: UnionMessagePortOrWindowProxy?,     ports: Array<MessagePort>)