There are a number of synchronous IPC messages that can be sent from the UI to a WebContent process.
If WebContent is currently waiting for a response to a synchronous message in the other direction, we will now deadlock the browser.
We should get rid of all synchronous IPC in the direction from UI to WebContent. This is the only obvious choice, since synchronous calls compromise the responsiveness of the browser UI.
Here are the calls we need to make asynchronous:
get_window_handle() => (String handle)
dump_gc_graph() => (String json)
dump_layout_tree() => (ByteString dump)
dump_paint_tree() => (ByteString dump)
dump_text() => (ByteString dump)
get_selected_text() => (ByteString selection)
get_local_storage_entries() => (OrderedHashMap<String,String> entries)
get_session_storage_entries() => (OrderedHashMap<String,String> entries)
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too