interface _ConnectConnectInfo {
    frameId?: number;
    name?: string;
}
Index
frameId?: number

Open a port to a specific frame identified by frameId instead of all frames in the tab.

name?: string

Will be passed into onConnect for content scripts that are listening for the connection event.