Skip to content

MessageChannel

Generated from idl/messaging.webidl when the site was built at 7aa23e2.

MessageChannel is an interface in idl/messaging.webidl, exposed in Window, Worker. What it does is on MDN; this page says what niso has of it.

The web features its members belong to, each with its Baseline status on the web and how much of the feature’s WPT suite passes in niso (see Web platform support).

Feature On the web In niso Members
Channel messaging Widely available Partial 88% 340 of 385 subtests pass 4
constructor
constructor();
int32_t niso_message_channel_new(niso_dom* dom, niso_handle* out);
attribute
readonly attribute MessagePort port1;
int32_t niso_message_channel_get_port1(niso_dom* dom, niso_handle self, niso_handle* out);
attribute
readonly attribute MessagePort port2;
int32_t niso_message_channel_get_port2(niso_dom* dom, niso_handle self, niso_handle* out);