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

Issue 7826036: Don't crash if DontProceed is chosen on the SSL interstitial page after Proceed is chosen. (Closed)

Created:
9 years, 3 months ago by cbentzel
Modified:
9 years, 3 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Don't crash if DontProceed is chosen on the SSL interstitial page after Proceed is chosen. A common place where this happens is when the user navigates to an https:// URL with a bad certificate, and the content is a download. The user chooses to proceed, but the SSL interstitial is never hidden because there is never a page to be committed. The user presses the back button, which does a DontProceed, and this would crash. Note that "back to safety" and "proceed" within the SSL page are filtered out after an action is taken, so these are no-ops currently. This sequence will still treat the SSL certificate as accepted for future navigations. BUG=90864, 93605 TEST=Start run_testserver --https-cert=expired. Navigate to a normal page like www.google.com. Navigate to the testserver at https://localhost:<port>/files/downloads/dangerous/dangerous.exe. See the interstitial and click proceed. Press the back button on the browser, and you should see the normal page again, instead of a crash. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99542

Patch Set 1 #

Patch Set 2 : Add a browser test #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -1 line) Patch
M chrome/browser/ssl/ssl_blocking_page.cc View 1 chunk +5 lines, -1 line 1 comment Download
M chrome/browser/ssl/ssl_browser_tests.cc View 1 2 chunks +43 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
cbentzel
wtc: Does the general SSL policy make sense? jam: You touched this region last. I'm ...
9 years, 3 months ago (2011-09-02 18:21:00 UTC) #1
cbentzel
Also - I think there's some other changes we might want to make here [potentially ...
9 years, 3 months ago (2011-09-02 18:23:03 UTC) #2
cbentzel
The newest patch adds a browser test. This test crashed with the old code, works ...
9 years, 3 months ago (2011-09-02 19:41:16 UTC) #3
cbentzel
+jcivelli: Feel free to pass on this review, but you wrote most of the SSL ...
9 years, 3 months ago (2011-09-02 20:41:19 UTC) #4
wtc
LGTM, but I have a question: You said: > A common place where this happens ...
9 years, 3 months ago (2011-09-02 20:43:15 UTC) #5
cbentzel
On Fri, Sep 2, 2011 at 4:43 PM, <wtc@chromium.org> wrote: > LGTM, but I have ...
9 years, 3 months ago (2011-09-02 20:50:17 UTC) #6
jam
On 2011/09/02 18:21:00, cbentzel wrote: > wtc: Does the general SSL policy make sense? > ...
9 years, 3 months ago (2011-09-03 00:00:36 UTC) #7
cbentzel
-jam+jcivelli
9 years, 3 months ago (2011-09-03 00:27:17 UTC) #8
commit-bot: I haz the power
9 years, 3 months ago (2011-09-03 05:03:28 UTC) #9
Change committed as 99542

Powered by Google App Engine
This is Rietveld 408576698