Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Issue 656293005: Fix control message handling for RenderFrameProxyHost::Send. (Closed)

Created:
6 years, 2 months ago by alexmos
Modified:
6 years, 2 months ago
Reviewers:
nasko
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix control message handling for RenderFrameProxyHost::Send. When IPC messages are sent via RenderFrameProxyHost::Send, the message's routing ID is reset to the RFPH's routing ID before the message is actually sent. This doesn't work for control messages, which are represented with a special routing ID. As a result, control messages were routed incorrectly in the renderer when ChildThread::OnMessageReceived checked for (msg.routing_id() == MSG_ROUTING_CONTROL). Currently, this only affects FrameMsg_NewFrameProxy, which is the only control message sent through RFPH. BUG=423538 Committed: https://crrev.com/b8d6a8a0025ee6d1a54be617e31064597903eb5a Cr-Commit-Position: refs/heads/master@{#300010}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add https:// for bug link #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M content/browser/frame_host/render_frame_proxy_host.cc View 1 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 8 (2 generated)
alexmos
Nasko, could you please review this fix as well? This needs to land after https://codereview.chromium.org/645363006/ ...
6 years, 2 months ago (2014-10-16 17:42:28 UTC) #2
nasko
LGTM https://codereview.chromium.org/656293005/diff/1/content/browser/frame_host/render_frame_proxy_host.cc File content/browser/frame_host/render_frame_proxy_host.cc (right): https://codereview.chromium.org/656293005/diff/1/content/browser/frame_host/render_frame_proxy_host.cc#newcode105 content/browser/frame_host/render_frame_proxy_host.cc:105: // Don't reset the routing ID for control ...
6 years, 2 months ago (2014-10-16 18:09:32 UTC) #3
alexmos
On 2014/10/16 18:09:32, nasko wrote: > LGTM > > https://codereview.chromium.org/656293005/diff/1/content/browser/frame_host/render_frame_proxy_host.cc > File content/browser/frame_host/render_frame_proxy_host.cc (right): > ...
6 years, 2 months ago (2014-10-16 18:48:41 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/656293005/20001
6 years, 2 months ago (2014-10-16 22:46:47 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 2 months ago (2014-10-16 23:38:34 UTC) #7
commit-bot: I haz the power
6 years, 2 months ago (2014-10-16 23:39:22 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b8d6a8a0025ee6d1a54be617e31064597903eb5a
Cr-Commit-Position: refs/heads/master@{#300010}

Powered by Google App Engine
This is Rietveld 408576698