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

Issue 1816563002: PlzNavigate: fix SecurityExploitBrowserTest.MismatchedOriginOnCommit (Closed)

Created:
4 years, 9 months ago by clamy
Modified:
4 years, 9 months ago
Reviewers:
nasko
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: fix SecurityExploitBrowserTest.MismatchedOriginOnCommit This CL fixes SecurityExploitBrowserTest.MismatchedOriginOnCommit. Due to a difference in how teh main resource request are made, a network request was still present when the test is destroyed. This request finishes and try to access teh StallDelegate which has already been destroyed. Resetting the ResourceDispatcherHostDelegate before destroying the test fixes that. BUG=475027 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/eeb96fdeecafcd7f6c88a87bfd2bfa8b7f12c94c Cr-Commit-Position: refs/heads/master@{#382833}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase #

Patch Set 3 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M content/browser/security_exploit_browsertest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M testing/buildbot/filters/browser-side-navigation.linux.content_browsertests.filter View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 13 (6 generated)
clamy
@nasko:PTAL
4 years, 9 months ago (2016-03-18 14:26:12 UTC) #4
nasko
https://codereview.chromium.org/1816563002/diff/1/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/1816563002/diff/1/content/browser/frame_host/render_frame_host_impl.cc#newcode1018 content/browser/frame_host/render_frame_host_impl.cc:1018: stream_handle_.reset(); Instead of putting these in all cases where ...
4 years, 9 months ago (2016-03-18 20:41:14 UTC) #5
clamy
Thanks! https://codereview.chromium.org/1816563002/diff/1/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/1816563002/diff/1/content/browser/frame_host/render_frame_host_impl.cc#newcode1018 content/browser/frame_host/render_frame_host_impl.cc:1018: stream_handle_.reset(); On 2016/03/18 20:41:14, nasko (slow) wrote: > ...
4 years, 9 months ago (2016-03-22 16:46:56 UTC) #6
nasko
LGTM
4 years, 9 months ago (2016-03-22 23:04:15 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1816563002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1816563002/40001
4 years, 9 months ago (2016-03-23 10:58:42 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-23 12:31:55 UTC) #11
commit-bot: I haz the power
4 years, 9 months ago (2016-03-23 12:33:20 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/eeb96fdeecafcd7f6c88a87bfd2bfa8b7f12c94c
Cr-Commit-Position: refs/heads/master@{#382833}

Powered by Google App Engine
This is Rietveld 408576698