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

Issue 2727483003: Fix broken copy-paste operations on Interstitial pages. (Closed)

Created:
3 years, 9 months ago by avallee
Modified:
3 years, 9 months ago
Reviewers:
alexmos, estark
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix broken copy-paste operations on Interstitial pages. The RenderFrameHostDelegate::SetFocusedFrame function was added to keep track of inner web contents but the base implementation in the delegate that is a no-op broken interstitial pages which also need to keep track of the focused frame. BUG=635656 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2727483003 Cr-Commit-Position: refs/heads/master@{#454038} Committed: https://chromium.googlesource.com/chromium/src/+/0ae3030718bc7e0673868ae81b33a3cccd663e62

Patch Set 1 #

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

Dependent Patchsets:

Messages

Total messages: 16 (5 generated)
avallee
3 years, 9 months ago (2017-03-01 19:33:59 UTC) #2
alexmos
LGTM, thanks for fixing! It'd be nice to have a test for this (fine for ...
3 years, 9 months ago (2017-03-01 19:40:19 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2727483003/1
3 years, 9 months ago (2017-03-01 20:21:21 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/0ae3030718bc7e0673868ae81b33a3cccd663e62
3 years, 9 months ago (2017-03-01 21:28:26 UTC) #8
estark
Random drive-by question, do either of you understand why InterstitialPageImplTest.Copy didn't catch this regression? I ...
3 years, 9 months ago (2017-03-01 22:59:24 UTC) #10
alexmos
On 2017/03/01 22:59:24, estark wrote: > Random drive-by question, do either of you understand why ...
3 years, 9 months ago (2017-03-01 23:02:58 UTC) #11
estark
On 2017/03/01 23:02:58, alexmos wrote: > On 2017/03/01 22:59:24, estark wrote: > > Random drive-by ...
3 years, 9 months ago (2017-03-01 23:04:07 UTC) #12
nasko
On 2017/03/01 22:59:24, estark wrote: > Random drive-by question, do either of you understand why ...
3 years, 9 months ago (2017-03-01 23:05:00 UTC) #13
avallee
On 2017/03/01 23:05:00, nasko (slow) wrote: > On 2017/03/01 22:59:24, estark wrote: > > Random ...
3 years, 9 months ago (2017-03-02 15:42:31 UTC) #14
nasko
On 2017/03/02 15:42:31, avallee wrote: > On 2017/03/01 23:05:00, nasko (slow) wrote: > > On ...
3 years, 9 months ago (2017-03-03 21:27:23 UTC) #15
avallee
3 years, 9 months ago (2017-03-03 21:38:59 UTC) #16
Message was sent while issue was closed.
Thanks for the heads up.

On Fri, Mar 3, 2017, 4:27 PM <nasko@chromium.org> wrote:

> On 2017/03/02 15:42:31, avallee wrote:
> > On 2017/03/01 23:05:00, nasko (slow) wrote:
> > > On 2017/03/01 22:59:24, estark wrote:
> > > > Random drive-by question, do either of you understand why
> > > > InterstitialPageImplTest.Copy didn't catch this regression? I wonder
> if
> that
> > > > test might be broken or not testing what it's supposed to be testing?
> > >
> > > My guess will be that the SetUpInterstitialPage code explicitly sets
> the
> > focused
> > > frame, which likely doesn't happen in reality.
> > >
> >
>
>
https://cs.chromium.org/chromium/src/content/browser/frame_host/interstitial_...
> .
> > > It might be worthwhile removing that line of code and seeing if it
> still
> works
> > > and verifying whether it would've caught the issue without this
> particular
> > fix.
> >
> > Worth noting that InterstitialPage seems to be used quite differently on
> MacOS
> > compared to all the other platforms. Is this worth unifying in order to
> avoid
> > this type of bug?
>
> I don't think so. We have a plan for completely redoing how interstitial
> pages
> work, so any effort invested in making the current code consistent is time
> that
> can be used towards actually fixing it right.
>
> https://codereview.chromium.org/2727483003/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698