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

Issue 50223002: Prevent modal dialogs when preparing to swap out. (Closed)

Created:
7 years, 1 month ago by Charlie Reis
Modified:
7 years, 1 month ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Prevent modal dialogs when preparing to swap out. This ensures that no PageGroupLoadDeferrers will be on the stack when processing ViewMsg_SwapOut, which would lead to an ASSERT. BUG=312490 TEST=Start a cross-process navigation and show a loop of alerts before commit. R=cdn@chromium.org, darin@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233371

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove TODO #

Patch Set 3 : Rebase after RVHM moved #

Total comments: 4

Patch Set 4 : Rebase #

Patch Set 5 : Simplify test #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -18 lines) Patch
M chrome/browser/ui/browser_browsertest.cc View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M content/browser/frame_host/render_view_host_manager.cc View 1 2 2 chunks +8 lines, -14 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 2 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 7 chunks +26 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Charlie Reis
Here's a followup CL that I could land after https://codereview.chromium.org/46403006/ bakes on Canary, assuming that ...
7 years, 1 month ago (2013-10-29 02:59:55 UTC) #1
Charlie Reis
Ok, now that https://codereview.chromium.org/46403006/ has landed, this CL should prevent issues in the renderer process ...
7 years, 1 month ago (2013-10-30 16:09:52 UTC) #2
darin (slow to review)
https://codereview.chromium.org/50223002/diff/90001/chrome/browser/ui/browser_browsertest.cc File chrome/browser/ui/browser_browsertest.cc (right): https://codereview.chromium.org/50223002/diff/90001/chrome/browser/ui/browser_browsertest.cc#newcode481 chrome/browser/ui/browser_browsertest.cc:481: ASCIIToUTF16("setInterval(\"alert('Dialog showing!');\", 0);")); This feels like such an imprecise ...
7 years, 1 month ago (2013-11-01 21:01:41 UTC) #3
Charlie Reis
Thanks-- PTAL. https://codereview.chromium.org/50223002/diff/90001/chrome/browser/ui/browser_browsertest.cc File chrome/browser/ui/browser_browsertest.cc (right): https://codereview.chromium.org/50223002/diff/90001/chrome/browser/ui/browser_browsertest.cc#newcode481 chrome/browser/ui/browser_browsertest.cc:481: ASCIIToUTF16("setInterval(\"alert('Dialog showing!');\", 0);")); On 2013/11/01 21:01:42, darin ...
7 years, 1 month ago (2013-11-04 19:32:49 UTC) #4
darin (slow to review)
OK, makes sense. LGTM.
7 years, 1 month ago (2013-11-05 20:12:08 UTC) #5
Charlie Reis
@cdn: Can you review view_messages.h for IPC owners?
7 years, 1 month ago (2013-11-05 20:26:06 UTC) #6
Cris Neckar
On 2013/11/05 20:26:06, creis wrote: > @cdn: Can you review view_messages.h for IPC owners? IPC ...
7 years, 1 month ago (2013-11-05 20:30:43 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/creis@chromium.org/50223002/290001
7 years, 1 month ago (2013-11-05 21:10:25 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=185481
7 years, 1 month ago (2013-11-05 23:12:32 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/creis@chromium.org/50223002/290001
7 years, 1 month ago (2013-11-06 00:10:55 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=94362
7 years, 1 month ago (2013-11-06 04:02:24 UTC) #11
Charlie Reis
7 years, 1 month ago (2013-11-06 21:22:21 UTC) #12
Message was sent while issue was closed.
Committed patchset #6 manually as r233371 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698