Port.postMessage:
{
"subject": "|string|",
"data": "|any+optional|"
}
chrome.runtime.sendMessage, chrome.tabs.sendMessage request:
{
"subject": "|string|",
"data": "|any+optional|"
}
chrome.runtime.sendMessage, chrome.tabs.sendMessage successful response:
{
"data": "|any+optional|"
}
chrome.runtime.sendMessage, chrome.tabs.sendMessage failing response:
{
"error": "|string|",
"data": "|any+optional|"
}