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

Issue 2862093002: Remove DCHECK that crashes.

Created:
3 years, 7 months ago by Avi (use Gerrit)
Modified:
3 years, 7 months ago
Reviewers:
Charlie Reis, nasko
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org, mlamouri+watch-content_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove DCHECK that crashes. BUG=718570 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -17 lines) Patch
M content/browser/frame_host/render_frame_host_impl.h View 1 chunk +1 line, -3 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M content/common/frame_messages.h View 1 chunk +4 lines, -5 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 chunk +2 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (7 generated)
Avi (use Gerrit)
3 years, 7 months ago (2017-05-04 23:14:36 UTC) #7
Charlie Reis
Ah, great, you have repro steps on the bug! Please add a test for that ...
3 years, 7 months ago (2017-05-04 23:26:18 UTC) #9
Avi (use Gerrit)
On 2017/05/04 23:26:18, Charlie Reis wrote: > Ah, great, you have repro steps on the ...
3 years, 7 months ago (2017-05-04 23:29:35 UTC) #10
Charlie Reis
On 2017/05/04 23:29:35, Avi (ping after 24h) wrote: > On 2017/05/04 23:26:18, Charlie Reis wrote: ...
3 years, 7 months ago (2017-05-04 23:31:09 UTC) #11
Avi (use Gerrit)
On 2017/05/04 23:31:09, Charlie Reis wrote: > On 2017/05/04 23:29:35, Avi (ping after 24h) wrote: ...
3 years, 7 months ago (2017-05-04 23:34:22 UTC) #12
Charlie Reis
On 2017/05/04 23:34:22, Avi (ping after 24h) wrote: > On 2017/05/04 23:31:09, Charlie Reis wrote: ...
3 years, 7 months ago (2017-05-04 23:44:25 UTC) #13
Avi (use Gerrit)
On 2017/05/04 23:44:25, Charlie Reis wrote: > It's there for a good reason: we > ...
3 years, 7 months ago (2017-05-04 23:56:27 UTC) #14
Charlie Reis
On 2017/05/04 23:56:27, Avi (ping after 24h) wrote: > On 2017/05/04 23:44:25, Charlie Reis wrote: ...
3 years, 7 months ago (2017-05-05 00:00:52 UTC) #15
Avi (use Gerrit)
On 2017/05/05 00:00:52, Charlie Reis wrote: > On 2017/05/04 23:56:27, Avi (ping after 24h) wrote: ...
3 years, 7 months ago (2017-05-05 00:04:08 UTC) #16
Charlie Reis
On 2017/05/05 00:04:08, Avi (ping after 24h) wrote: > On 2017/05/05 00:00:52, Charlie Reis wrote: ...
3 years, 7 months ago (2017-05-05 00:08:21 UTC) #17
Avi (use Gerrit)
3 years, 7 months ago (2017-05-05 00:09:38 UTC) #18
On 2017/05/05 00:08:21, Charlie Reis wrote:
> On 2017/05/05 00:04:08, Avi (ping after 24h) wrote:
> > On 2017/05/05 00:00:52, Charlie Reis wrote:
> > > On 2017/05/04 23:56:27, Avi (ping after 24h) wrote:
> > > > On 2017/05/04 23:44:25, Charlie Reis wrote:
> > > > > It's there for a good reason: we
> > > > > assume that the RenderFrameHost has an accurate representation of what
> > page
> > > is
> > > > > loaded in the RenderFrameImpl stored in last_committed_url_.
> > > > 
> > > > Yes and no.
> > > > 
> > > > Yes, we assume that last_committed_url_ is valid. No, it wasn't added
for
> > > that.
> > > > Nasko ran across the fact that the url was being sent via IPC, thought
it
> > was
> > > > weird, and added the DCHECK a week ago.
> > > > https://codereview.chromium.org/2846983002
> > > 
> > > Thanks for the context-- I didn't realize that part.
> > > 
> > > > > Either way, I think we should have a test for the case that caused it
to
> > > fail
> > > > 
> > > > Step one is yes, understanding what's going on here. Beyond that I don't
> > know.
> > > 
> > > We agree on step one-- let's understand it.
> > > 
> > > I don't understand your objection to the test, though.  If we'd had the
test
> > > last week, then Nasko's CL to add the DCHECK wouldn't have made it through
> the
> > > try jobs, and we would have understood why.  I want to prevent making the
> same
> > > mistake in the future.
> > 
> > I'm slightly cranky. This DCHECK firing is directly in the way of my
> > beforeunload patch, which I was revving for your final approval but is now
> > blocked on this issue. Whee.
> > 
> > I'll be looking into this bug because it's directly blocking me now.
> 
> I see.  If you want to remove the DCHECK and add the test without fully
> investigating why it's happening, I'm ok with following up on the
investigation
> later, to unblock your other CL.

I'll take a quick look to see if there's an easy answer.

Powered by Google App Engine
This is Rietveld 408576698