Version
6.0.1
Current Behavior
If you inject multiple content-script into a page with the first one declare onMessage('A) and the second one with no onMessage declaration. When you sendMessage from background. The background will throw an error "No handler registered in 'content-script' to accept messages with A".
However if you switch the first one and second one position in manifest. It works.
Expected Behavior
Both onMessage declared in content-script will work.
Steps To Reproduce
Just create two content-script and inject into the same page
Anything else?
No response
Version
6.0.1
Current Behavior
If you inject multiple content-script into a page with the first one declare onMessage('A) and the second one with no onMessage declaration. When you sendMessage from background. The background will throw an error "No handler registered in 'content-script' to accept messages with A".
However if you switch the first one and second one position in manifest. It works.
Expected Behavior
Both onMessage declared in content-script will work.
Steps To Reproduce
Just create two content-script and inject into the same page
Anything else?
No response