1. BroadcastChannel

    BroadcastChannel allows scripts from the same origin but other browsing contexts (windows, workers) to send each other messages.

  2. Channel messaging

    Method for having two-way communication between browsing contexts (using MessageChannel)