The lifecycle the document that opened the connection is in at the time
the port was created. Note that the lifecycle state of the document may
have changed since port creation.
The origin of the page or frame that opened the connection. It can vary
from the url property (e.g., about:blank) or can be opaque (e.g.,
sandboxed iframes). This is useful for identifying if the origin can be
trusted if we can't immediately tell from the URL.
The tabs.Tab which opened the connection, if any. This property will
only be present when the connection was opened from a tab (including
content scripts), and only if the receiver is an extension, not an app.
The URL of the page or frame that opened the connection. If the sender is
in an iframe, it will be iframe's URL not the URL of the page which hosts
it.