Electrolysis/plugins: Difference between revisions

Jump to navigation Jump to search
Line 45: Line 45:
=== e10s mitigation ===
=== e10s mitigation ===


<pre>
chrome -> sync ipc | plugin
chrome -> sync ipc | plugin
</pre>
* can't happen
* can't happen


<pre>
chrome -> sync sendmessage -> plugin
chrome -> sync sendmessage -> plugin
</pre>
* happens while chrome is dispatching messages, no sync/rpc calls on the stack?
* happens while chrome is dispatching messages, no sync/rpc calls on the stack?
* content could be in a sync call to either when this happens
* content could be in a sync call to either when this happens


<pre>
chrome -> sync ipc -> content -> sync ipc -> plugin -> sync ipc | chrome
chrome -> sync ipc -> content -> sync ipc -> plugin -> sync ipc | chrome
</pre>
* can't happen
* can't happen


<pre>
chrome -> sync ipc -> content | sync ipc -> plugin -> sync sendmessage -> chrome
chrome -> sync ipc -> content | sync ipc -> plugin -> sync sendmessage -> chrome
</pre>
* can't happen?
* can't happen?


<pre>
content -> sync ipc -> plugin -> plugin never responds back but keep pumping messages
content -> sync ipc -> plugin -> plugin never responds back but keep pumping messages
</pre>
* content hang?
* content hang?


Confirmed users
1,983

edits

Navigation menu