code: function (visibilityState) {
      for (const guestInstanceId in guestInstances) {
        const guestInstance = guestInstances[guestInstanceId]
        guestInstance.visibilityState = visibilityState
        if (guestInstance.embedder === embedder) {
          guestInstance.guest._sendInternal('ELECTRON_GUEST_INSTANCE_VISIBILITY_CHANGE', visibilityState)
        }
      }
    }
docs: Forward embedder window visiblity change events to guest