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

Issue 8771017: chromeos: Fix closing issues with WebUI form-repost dialog. (Closed)

Created:
9 years ago by Daniel Erat
Modified:
9 years ago
Reviewers:
Bernhard Bauer
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

chromeos: Fix closing issues with WebUI form-repost dialog. The WebUI form-repost warning dialog wasn't getting closed when you reloaded the page or navigated away from it. bauerb pointed out that this was because the dialog's ConstrainedWindow wasn't getting registered in the RepostFormWarningController. This change also updates RepostFormWarningTest.TestDoubleReload from ui_tests to check that we don't open multiple dialogs and that we close the dialog when navigating away. BUG=105546 TEST=manual: checked that old dialogs are closed on reload and when hitting the back button Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112639

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -2 lines) Patch
M chrome/browser/repost_form_warning_uitest.cc View 1 chunk +9 lines, -0 lines 2 comments Download
M chrome/browser/ui/webui/repost_form_warning_ui.cc View 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Daniel Erat
http://codereview.chromium.org/8771017/diff/1/chrome/browser/repost_form_warning_uitest.cc File chrome/browser/repost_form_warning_uitest.cc (right): http://codereview.chromium.org/8771017/diff/1/chrome/browser/repost_form_warning_uitest.cc#newcode53 chrome/browser/repost_form_warning_uitest.cc:53: ASSERT_TRUE(tab->GetConstrainedWindowCount(&num_constrained_windows)); Do you happen to know if it's safe ...
9 years ago (2011-12-01 23:44:49 UTC) #1
Bernhard Bauer
LGTM, thanks! http://codereview.chromium.org/8771017/diff/1/chrome/browser/repost_form_warning_uitest.cc File chrome/browser/repost_form_warning_uitest.cc (right): http://codereview.chromium.org/8771017/diff/1/chrome/browser/repost_form_warning_uitest.cc#newcode53 chrome/browser/repost_form_warning_uitest.cc:53: ASSERT_TRUE(tab->GetConstrainedWindowCount(&num_constrained_windows)); On 2011/12/01 23:44:49, Daniel Erat wrote: ...
9 years ago (2011-12-01 23:54:53 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/8771017/1
9 years ago (2011-12-02 01:38:41 UTC) #3
commit-bot: I haz the power
9 years ago (2011-12-02 04:50:30 UTC) #4
Change committed as 112639

Powered by Google App Engine
This is Rietveld 408576698