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

Issue 2366693006: Don't show dialogs from swapped out frames. (Closed)

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

Description

Don't show dialogs from swapped out frames. BUG=634108 TEST=as in bug CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/1e870b1fa5121d217751feb61d5aa30386a0a0d2 Cr-Commit-Position: refs/heads/master@{#421580}

Patch Set 1 #

Patch Set 2 : send reply #

Patch Set 3 : I can't believe it's a test! #

Total comments: 5

Patch Set 4 : fix test #

Patch Set 5 : now thread safe #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -3 lines) Patch
M content/browser/frame_host/navigation_controller_impl_browsertest.cc View 1 2 3 4 4 chunks +99 lines, -2 lines 4 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
A + content/test/data/navigation_controller/beforeunload_dialog.html View 1 2 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 44 (23 generated)
Avi (use Gerrit)
I'm still not entirely clear why the "suppress further dialogs" IPC isn't doing what we ...
4 years, 3 months ago (2016-09-24 01:09:23 UTC) #7
Avi (use Gerrit)
On 2016/09/24 01:09:23, Avi wrote: > I'm still not entirely clear why the "suppress further ...
4 years, 3 months ago (2016-09-24 01:10:41 UTC) #8
Avi (use Gerrit)
ptal
4 years, 2 months ago (2016-09-24 20:31:12 UTC) #11
Charlie Reis
Thanks! This fix looks good. I was trying to figure out why SuppressFurtherDialogs isn't working, ...
4 years, 2 months ago (2016-09-27 00:06:58 UTC) #14
Charlie Reis
On 2016/09/27 00:06:58, Charlie Reis (slow) wrote: > Thanks! This fix looks good. > > ...
4 years, 2 months ago (2016-09-27 00:41:18 UTC) #15
Avi (use Gerrit)
On 2016/09/27 00:41:18, Charlie Reis (slow) wrote: > On 2016/09/27 00:06:58, Charlie Reis (slow) wrote: ...
4 years, 2 months ago (2016-09-27 17:27:08 UTC) #16
nasko
On 2016/09/27 17:27:08, Avi wrote: > On 2016/09/27 00:41:18, Charlie Reis (slow) wrote: > > ...
4 years, 2 months ago (2016-09-27 18:25:53 UTC) #17
Charlie Reis
On 2016/09/27 17:27:08, Avi wrote: > On 2016/09/27 00:41:18, Charlie Reis (slow) wrote: > > ...
4 years, 2 months ago (2016-09-27 18:26:23 UTC) #18
Avi (use Gerrit)
On 2016/09/27 18:26:23, Charlie Reis (slow) wrote: > On 2016/09/27 17:27:08, Avi wrote: > > ...
4 years, 2 months ago (2016-09-27 19:52:08 UTC) #19
Charlie Reis
On 2016/09/27 19:52:08, Avi wrote: > On 2016/09/27 18:26:23, Charlie Reis (slow) wrote: > > ...
4 years, 2 months ago (2016-09-27 20:00:50 UTC) #20
Avi (use Gerrit)
On 2016/09/27 20:00:50, Charlie Reis (slow) wrote: > When the commit arrives, we call CancelActiveAndPendingDialogs() ...
4 years, 2 months ago (2016-09-27 20:05:13 UTC) #21
Avi (use Gerrit)
ptal
4 years, 2 months ago (2016-09-27 21:05:14 UTC) #24
Charlie Reis
Sure, that approach looks like it should work, too. LGTM with nits. https://codereview.chromium.org/2366693006/diff/40001/content/browser/frame_host/navigation_controller_impl_browsertest.cc File content/browser/frame_host/navigation_controller_impl_browsertest.cc ...
4 years, 2 months ago (2016-09-27 22:18:17 UTC) #27
nasko
https://codereview.chromium.org/2366693006/diff/40001/content/browser/frame_host/navigation_controller_impl_browsertest.cc File content/browser/frame_host/navigation_controller_impl_browsertest.cc (right): https://codereview.chromium.org/2366693006/diff/40001/content/browser/frame_host/navigation_controller_impl_browsertest.cc#newcode6161 content/browser/frame_host/navigation_controller_impl_browsertest.cc:6161: DCHECK_CURRENTLY_ON(BrowserThread::IO); On 2016/09/27 22:18:17, Charlie Reis wrote: > Looks ...
4 years, 2 months ago (2016-09-27 22:24:22 UTC) #29
Avi (use Gerrit)
https://codereview.chromium.org/2366693006/diff/40001/content/browser/frame_host/navigation_controller_impl_browsertest.cc File content/browser/frame_host/navigation_controller_impl_browsertest.cc (right): https://codereview.chromium.org/2366693006/diff/40001/content/browser/frame_host/navigation_controller_impl_browsertest.cc#newcode6161 content/browser/frame_host/navigation_controller_impl_browsertest.cc:6161: DCHECK_CURRENTLY_ON(BrowserThread::IO); On 2016/09/27 22:24:22, nasko (slow) wrote: > On ...
4 years, 2 months ago (2016-09-27 23:00:43 UTC) #30
Avi (use Gerrit)
All fixed; please take a look.
4 years, 2 months ago (2016-09-28 16:54:30 UTC) #37
Charlie Reis
Thanks! LGTM. https://codereview.chromium.org/2366693006/diff/80001/content/browser/frame_host/navigation_controller_impl_browsertest.cc File content/browser/frame_host/navigation_controller_impl_browsertest.cc (right): https://codereview.chromium.org/2366693006/diff/80001/content/browser/frame_host/navigation_controller_impl_browsertest.cc#newcode6181 content/browser/frame_host/navigation_controller_impl_browsertest.cc:6181: class : public WebContentsObserver { Wow, I ...
4 years, 2 months ago (2016-09-28 17:14:16 UTC) #38
Avi (use Gerrit)
https://codereview.chromium.org/2366693006/diff/80001/content/browser/frame_host/navigation_controller_impl_browsertest.cc File content/browser/frame_host/navigation_controller_impl_browsertest.cc (right): https://codereview.chromium.org/2366693006/diff/80001/content/browser/frame_host/navigation_controller_impl_browsertest.cc#newcode6181 content/browser/frame_host/navigation_controller_impl_browsertest.cc:6181: class : public WebContentsObserver { On 2016/09/28 17:14:16, Charlie ...
4 years, 2 months ago (2016-09-28 17:46:16 UTC) #39
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/2366693006/80001
4 years, 2 months ago (2016-09-28 18:20:18 UTC) #41
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-09-28 18:28:07 UTC) #42
commit-bot: I haz the power
4 years, 2 months ago (2016-09-28 18:31:14 UTC) #44
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/1e870b1fa5121d217751feb61d5aa30386a0a0d2
Cr-Commit-Position: refs/heads/master@{#421580}

Powered by Google App Engine
This is Rietveld 408576698