onDidReceiveMessage
Fired when the webview content posts a message.
Webview content can post strings or json serializable objects back to an extension. They cannot post Blob
, File
, ImageData
and other DOM specific objects since the extension that receives the message does not run in a browser environment.