On Wed, 2016-06-15 at 19:50 -0400, Ben Boeckel wrote:
That works if you can deal with the result being asynchronous, but
if
your callback doesn't belong in the GUI thread…
Ah, I think this arose from the discussion about disabling/enabling
context menu items. [1] 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
process.
[
1]Â https://bugzilla.gnome.org/show_bug.cgi?id=765145