DescriptionHold messages in message port service when a message port is
being transferred.
This CL addresses a long standing TODO for addressing message queuing.
When Message ports are in flight, race conditions that lead to dropped
messages, or ghost messages (messages arriving for already transferred
ports can occur). To prevent this, messages are queued at the
message port service during transfer.
Note that this CL also restricts transferring message ports from
Java to JS under certain circumstances. Basically, message ports
that are already used for communication from Java to JS
are not allowed to be transferred at the time. This
restriction can be relaxed later.
BUG=463269
Committed: https://crrev.com/79815049c8dcde0c59aba4e3ee1dd85048c734f0
Cr-Commit-Position: refs/heads/master@{#319943}
Patch Set 1 #
Total comments: 3
Patch Set 2 : address hush nit #Messages
Total messages: 12 (3 generated)
|