Lines Matching refs:BroadcastChannel
420 return value?.[kType] === 'BroadcastChannel';
423 class BroadcastChannel extends EventTarget {
431 this[kType] = 'BroadcastChannel';
443 throw new ERR_INVALID_THIS('BroadcastChannel');
445 return 'BroadcastChannel';
452 return `BroadcastChannel ${inspect({
463 throw new ERR_INVALID_THIS('BroadcastChannel');
472 throw new ERR_INVALID_THIS('BroadcastChannel');
490 throw new ERR_INVALID_THIS('BroadcastChannel');
494 throw new DOMException('BroadcastChannel is closed.');
500 // BroadcastChannel API definition. Typically we shouldn't extend Web
504 * @returns {BroadcastChannel}
508 throw new ERR_INVALID_THIS('BroadcastChannel');
515 // BroadcastChannel API definition. Typically we shouldn't extend Web
519 * @returns {BroadcastChannel}
523 throw new ERR_INVALID_THIS('BroadcastChannel');
530 ObjectDefineProperties(BroadcastChannel.prototype, {
536 defineEventHandler(BroadcastChannel.prototype, 'message');
537 defineEventHandler(BroadcastChannel.prototype, 'messageerror');
555 BroadcastChannel,