Closed aklinker1 closed 1 year ago
Alright, I think everything is done, just need to do some final testing in a real extension to make sure my unit tests are valid.
Alright, I've manually tested both window and custom event messaging, it seems to be working in a real extension.
I had to remove the default namespace of browser.runtime.id
because you can't import browser.runtime.id
in scripts injected onto the page, they're not running in the extension's context. So it's now required.
Overview
Was originally done alongside #28, but I've separated the refactor from the new features.
This closes #27
Todo
defineCustomEventMessaging
defineWindowMessaging