To reproduce the problem
- Load the EdgeExtensionTest folder as an extension in Edge browser
- Serve test.html page from a web server
- Click the button with Console on from developer tools and notice that content script receives the message
- Clear the console log, close the developer tools and click the button again. Now open the console and notice that onclick button message is not received by the content script.