On Wed, 2016-06-15 at 19:50 -0400, Ben Boeckel wrote:
That works if you can deal with the result being asynchronous, but
your callback doesn't belong in the GUI thread…
Ah, I think this arose from the discussion about disabling/enabling
context menu items.  is related.
The reason we don't offer a sync API is that it could cause your
application to hang during IPC between the browser process and the web