DescriptionIgnore DevTools messages from the old inspected RVH after navigation
DevToolsAgent and DevToolsClient now use main RenderFrame for
exchanging messages with their hosts. This way we always have source
RenderFrameHost when dispatching DevTools message on the browser side and can detect that the message was sent by old renderer after DevTools client already attached to the new renderer after navigation. Messages from old main renderer are ignored just like it had been before crrev.com/288297. This also allows to use RFH instead of RVH in many places on the browser side.
BUG=435025
Committed: https://crrev.com/65e008fd79d83908525452783452e69af8e7299c
Cr-Commit-Position: refs/heads/master@{#305619}
Patch Set 1 #Patch Set 2 : #
Total comments: 7
Patch Set 3 : Rebase #Patch Set 4 : Send DevTools messages using main render frame instead of render view #Patch Set 5 : Use WebContents instead of RVH when creating DTFH #
Total comments: 10
Patch Set 6 : #Patch Set 7 : Addressed comments #
Total comments: 2
Patch Set 8 : Addressed comment #Messages
Total messages: 24 (5 generated)
|