I'm building an extension and trying to do message passing between browser and webpage. I've an event that's emitted from my site `<
foo.com>`. The event is implemented something like this:
```javascript
window.postMessage('solar:message', ...)
```
I want to get that message and show it in panel.html i.e, the browser devtools tab similar to how you see the logging information under "Console" tab.
I've pretty much looked at all possible reasons for this issue and seems a bit unique scenario in my case or something very stupid. Everytime I refresh I get the following error: `Could not establish connection. Receiving end does not exist`
Here's the code sample if anyone likes to look into it.
https://gist.github.com/najamkhn/b58c7e3fce7861a92d4a7491be47ef30