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

Issue 2694623013: Fixed navigation for displayed SSL interstitials. (Closed)

Created:
3 years, 10 months ago by Eugene But (OOO till 7-30)
Modified:
3 years, 10 months ago
Reviewers:
CC:
chromium-reviews
Target Ref:
refs/pending/branch-heads/2987
Project:
chromium
Visibility:
Public.

Description

Fixed navigation for displayed SSL interstitials. Navigation did not work for interstitials for 2 reasons which are fixed in this CL: 1.) |WebInterstitialImpl::DontProceed| should not reload. Reloading stops pending navigation and reloads last committed item, which is not always correct target item. On other platforms InterstitialPageImpl::DontProceed does not reload. 2.) |clearTransientContentView| removes pending item, so it should be called before pending navigation is initiated. So next |clearTransientContentView| call will be no-op. This CL changes the behavior, so when user taps "BACK TO SAFETY" the page is not reloaded. This is fine, but in order to update omnibox URL, tab should subscribe to webStateDidDismissInterstitial: callback and update the toolbar. BUG=677193, 677190, 688009 TBR=kkhorimoto@chromium.org NOTRY=true NOPRESUBMIT=true Review-Url: https://codereview.chromium.org/2687343003 Cr-Commit-Position: refs/heads/master@{#450220} (cherry picked from commit b2517f141263ee8913024a3a96cd909423ad7214) Review-Url: https://codereview.chromium.org/2694623013 Cr-Commit-Position: refs/branch-heads/2987@{#537} Cr-Branched-From: ad51088c0e8776e8dcd963dbe752c4035ba6dab6-refs/heads/master@{#444943} Committed: https://chromium.googlesource.com/chromium/src/+/9674693c37dc34ad55e2f21f19050ed2938d6d1c

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -5 lines) Patch
M ios/chrome/browser/tabs/tab.mm View 1 chunk +12 lines, -0 lines 0 comments Download
M ios/web/interstitials/web_interstitial_impl.mm View 1 chunk +5 lines, -2 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2694623013/1
3 years, 10 months ago (2017-02-16 01:12:20 UTC) #2
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
3 years, 10 months ago (2017-02-16 01:12:22 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2694623013/1
3 years, 10 months ago (2017-02-16 01:15:35 UTC) #7
commit-bot: I haz the power
CLs for remote refs other than refs/heads/master must contain NOTRY=true and NOPRESUBMIT=true in order for ...
3 years, 10 months ago (2017-02-16 01:15:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2694623013/1
3 years, 10 months ago (2017-02-16 01:18:45 UTC) #12
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 01:37:22 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/9674693c37dc34ad55e2f21f1905...

Powered by Google App Engine
This is Rietveld 408576698