|
|
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. |
DescriptionEnable 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 #
Messages
Total messages: 23 (10 generated)
Description was changed from ========== 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=none ========== to ========== 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=none CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation ==========
The CQ bit was checked by wjmaclean@chromium.org to run a CQ dry run
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
Description was changed from ========== 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=none CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation ========== to ========== 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=none CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation ==========
wjmaclean@chromium.org changed reviewers: + creis@chromium.org
Tiny CL, please take a look? (This is part of the TouchSelection for OOPIF work.)
Yeah, that was definitely broken. Fix LGTM. Can we add a test for this, or will there be tests coming with the touch selection work? Also, please list a bug for this CL. Seems like it falls under 470662?
[+site-isolation-reviews]
On 2016/05/25 23:33:37, Charlie Reis wrote: > [+site-isolation-reviews] Yes, there will be tests with oopif touch selection that will definitely pick up on this if it breaks.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Dry run: None
Description was changed from ========== 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=none CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation ========== to ========== 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 ==========
The CQ bit was checked by wjmaclean@chromium.org
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
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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 ==========
Message was sent while issue was closed.
Committed patchset #1 (id:1)
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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} ==========
Message was sent while issue was closed.
Patchset 1 (id:??) landed as https://crrev.com/7a22bf01ea55475b295e40f5bbfd1add2bc73649 Cr-Commit-Position: refs/heads/master@{#396044}
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/2006423005/ by 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..
Message was sent while issue was closed.
Patchset #2 (id:20001) has been deleted
Message was sent while issue was closed.
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?
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! |