I am getting this error in background page when responding to request from content script. Does anyone know what can be causing this error?
Full stack trace:
In my case, however, I needed to provide the sendResponse function to the chrome.runtime.sendMessage(msg, responseCallbackMissingHere), which will give you the "Attempting to use a disconnected port object" error.