DescriptionCleanup swapped out RenderViewHosts when the process goes away.
Currently swapped out RVHs are not cleaned up for a given WebContents if the renderer hosting the associated RVs crashes. During webview postMessage, when sending a message from the embedder to the guest after recovering from a crash, we use the routing ID of the existing swapped out RVH which does not have a corresponding RV in the new renderer process. This produces a null e.source contentWindow and so the new guest has no way to communicate back to the embedder.
BUG=258993
Test=RenderViewHostManagerTest.CleanUpSwappedOutRVHOnProcessCrash
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=210919
Patch Set 1 #Patch Set 2 : Added test and added Nasko's suggestion #Patch Set 3 : Fixed whitespace #
Total comments: 8
Patch Set 4 : Updated #
Total comments: 2
Messages
Total messages: 8 (0 generated)
|