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

Issue 2366773003: [DevTools] Avoid current_ and pending_ being the same host in RenderFrameDevToolsAgentHost. (Closed)

Created:
4 years, 3 months ago by dgozman
Modified:
4 years, 2 months ago
Reviewers:
Charlie Reis, pfeldman
CC:
chromium-reviews, jam, darin-cc_chromium.org, pfeldman, devtools-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Avoid current_ and pending_ being the same host in RenderFrameDevToolsAgentHost. This happens when we resue RenderFrameHost after crash. The fix is to commit immediately to avoid pending. This is safe because we don't even have two RenderFrameHosts. BUG=644963 Committed: https://crrev.com/f07d611e4c7c7e0b38521119c42166b6104bba1b Cr-Commit-Position: refs/heads/master@{#421697}

Patch Set 1 #

Total comments: 5

Patch Set 2 : with test and checks #

Patch Set 3 : browser-side navigation similar fix #

Patch Set 4 : rebased, win failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -6 lines) Patch
M content/browser/devtools/protocol/devtools_protocol_browsertest.cc View 1 2 3 2 chunks +22 lines, -1 line 0 comments Download
M content/browser/devtools/render_frame_devtools_agent_host.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/devtools/render_frame_devtools_agent_host.cc View 1 2 3 14 chunks +49 lines, -5 lines 0 comments Download

Messages

Total messages: 24 (16 generated)
dgozman
Could you please take a look? I have a problem writing test, because scenario requires ...
4 years, 3 months ago (2016-09-23 17:38:23 UTC) #2
pfeldman
lgtm
4 years, 3 months ago (2016-09-23 17:46:21 UTC) #3
Charlie Reis
On 2016/09/23 17:38:23, dgozman wrote: > Could you please take a look? Thanks for the ...
4 years, 3 months ago (2016-09-23 18:26:16 UTC) #4
dgozman
Please take another look. I've added DCHECKs and test. I will upgrade some DCHECKs to ...
4 years, 2 months ago (2016-09-24 01:44:04 UTC) #5
Charlie Reis
Thanks! LGTM, though it looks like the new test (and some existing tests) are failing ...
4 years, 2 months ago (2016-09-26 16:49:02 UTC) #10
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/2366773003/60001
4 years, 2 months ago (2016-09-29 00:43:23 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-09-29 00:48:55 UTC) #22
commit-bot: I haz the power
4 years, 2 months ago (2016-09-29 00:53:51 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f07d611e4c7c7e0b38521119c42166b6104bba1b
Cr-Commit-Position: refs/heads/master@{#421697}

Powered by Google App Engine
This is Rietveld 408576698