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

Issue 56019: Fix crasher with SSL interstitial (Closed)

Created:
11 years, 9 months ago by jcampan
Modified:
9 years, 7 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

The URL in the bug triggers an SSL interstitial for a redirect that redirects to a bad SSL page. This happens because: - when proceeding on an interstitial, we wait for the navigation to commit before hiding the current interstitial - when showing an interstitial, if an interstitial is already showing we call DontProceed on it In the case of this bug, the interstitial has already been approved when the showing of the 2nd interstitial calls DontProceed on it, causing bad things to happen. The fix is easy: we shouldn't call DontProceed on an interstitial already "Proceeded". BUG=9286 TEST=See bug. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=12727

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -2 lines) Patch
M chrome/browser/tab_contents/interstitial_page.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/interstitial_page.cc View 1 1 chunk +7 lines, -2 lines 0 comments Download
M chrome/browser/tab_contents/web_contents_unittest.cc View 1 chunk +55 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
jcampan
11 years, 9 months ago (2009-03-27 20:26:15 UTC) #1
Charlie Reis
LGTM, unless you want to add an accessor method. Nice test. http://codereview.chromium.org/56019/diff/1/2 File chrome/browser/tab_contents/interstitial_page.cc (right): ...
11 years, 9 months ago (2009-03-27 22:47:04 UTC) #2
jcampan
http://codereview.chromium.org/56019/diff/1/2 File chrome/browser/tab_contents/interstitial_page.cc (right): http://codereview.chromium.org/56019/diff/1/2#newcode135 Line 135: // If an interstitial is already showing, close ...
11 years, 9 months ago (2009-03-27 23:06:10 UTC) #3
Charlie Reis
11 years, 9 months ago (2009-03-27 23:13:27 UTC) #4
Great.  LGTM.

Powered by Google App Engine
This is Rietveld 408576698