WebExtensions: Properly implement runtime.sendMessage()
This fixes argument parsing, emitting onMessage, and handling replies.
TODO: Content Scripts don't support this API as they should.
Edited by Patrick Griffis
This fixes argument parsing, emitting onMessage, and handling replies.
TODO: Content Scripts don't support this API as they should.