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

Issue 524057: Fix a bug of unnecessary "Confirm form resubmission" dialog.... (Closed)

Created:
10 years, 11 months ago by tkent
Modified:
9 years, 7 months ago
Reviewers:
brettw
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, ben+cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Fix a bug of unnecessary "Confirm form resubmission" dialog. If a URL is requested by the POST method and then the page is redirected to another URL, NavigationEntry::has_post_data_ is not cleared correctly with the prior code. So "Confirm form resubmission" dialog is shown when a user asks reloading the redirected page. TEST=Add a unit test BUG=21245 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=35770

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -0 lines) Patch
M chrome/browser/tab_contents/navigation_controller.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/navigation_controller_unittest.cc View 1 chunk +56 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
tkent
10 years, 11 months ago (2010-01-07 10:26:54 UTC) #1
brettw
10 years, 11 months ago (2010-01-07 20:43:26 UTC) #2
Very nice, thanks for the good test. LGTM

Powered by Google App Engine
This is Rietveld 408576698