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

Issue 2012933002: Enable sending frame-specific messages to the correct input router. (Closed)

Created:
4 years, 7 months ago by wjmaclean
Modified:
4 years, 3 months ago
Reviewers:
Charlie Reis
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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable sending frame-specific messages to the correct input router. Presently RenderFrameHostImpl::Send() does not use its own widget's input router when sending message, meaning messages to subframes could be sent to the wrong frame. This was discovered while trying to make InputMsg_SelectRange/InputHostMsg_SelectRange_Ack work properly for messages sent to an out-of-process iframe. BUG=470662 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/7a22bf01ea55475b295e40f5bbfd1add2bc73649 Cr-Commit-Position: refs/heads/master@{#396044}

Patch Set 1 #

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

Messages

Total messages: 23 (10 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2012933002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2012933002/1
4 years, 7 months ago (2016-05-25 21:40:47 UTC) #3
wjmaclean
Tiny CL, please take a look? (This is part of the TouchSelection for OOPIF work.)
4 years, 7 months ago (2016-05-25 23:15:56 UTC) #6
Charlie Reis
Yeah, that was definitely broken. Fix LGTM. Can we add a test for this, or ...
4 years, 7 months ago (2016-05-25 23:33:10 UTC) #7
Charlie Reis
[+site-isolation-reviews]
4 years, 7 months ago (2016-05-25 23:33:37 UTC) #8
wjmaclean
On 2016/05/25 23:33:37, Charlie Reis wrote: > [+site-isolation-reviews] Yes, there will be tests with oopif ...
4 years, 7 months ago (2016-05-25 23:40:45 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-25 23:41:31 UTC) #11
commit-bot: I haz the power
Dry run: None
4 years, 7 months ago (2016-05-25 23:41:53 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2012933002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2012933002/1
4 years, 7 months ago (2016-05-25 23:43:37 UTC) #15
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-25 23:49:59 UTC) #17
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/7a22bf01ea55475b295e40f5bbfd1add2bc73649 Cr-Commit-Position: refs/heads/master@{#396044}
4 years, 7 months ago (2016-05-25 23:51:41 UTC) #19
Charlie Reis
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/2006423005/ by creis@chromium.org. ...
4 years, 7 months ago (2016-05-26 16:55:31 UTC) #20
wjmaclean
On 2016/05/26 16:55:31, Charlie Reis wrote: > A revert of this CL (patchset #1 id:1) ...
4 years, 3 months ago (2016-09-08 17:47:33 UTC) #22
Charlie Reis
4 years, 3 months ago (2016-09-09 00:01:09 UTC) #23
Message was sent while issue was closed.
On 2016/09/08 17:47:33, wjmaclean wrote:
> On 2016/05/26 16:55:31, Charlie Reis wrote:
> > A revert of this CL (patchset #1 id:1) has been created in
> > https://codereview.chromium.org/2006423005/ by mailto:creis@chromium.org.
> > 
> > The reason for reverting is: Caused crashes because
RFH::GetRenderWidgetHost()
> > returns null unless the frame owns its own widget.  See
> > https://crbug.com/614952..
> 
> creis@ - This is needed for the TouchSelection work, and since kenrb@'s fix
for
> the null return value from GetRenderWidgetHost() has landed (see
> https://codereview.chromium.org/2023453003), is it OK if I rebase this and try
> to land it again?

Yes, let's reland!

Powered by Google App Engine
This is Rietveld 408576698