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

Issue 2597133002: Do not navigate on loading iframes in StaticHTMLViewController. (Closed)

Created:
4 years ago by Olivier
Modified:
3 years, 11 months ago
CC:
chromium-reviews, jam, pkl (ping after 24h if needed), darin-cc_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not navigate on loading iframes in StaticHTMLViewController. If the static HTML contains iframes, a call to decidePolicyForNavigationAction is done with a navigationType other. This should not trigger a navigation to URLLoader. BUG=676575 Committed: https://crrev.com/99d86ffdb2de89d7c7ee0d74a9ba92157ece5e4d Cr-Commit-Position: refs/heads/master@{#440859}

Patch Set 1 #

Patch Set 2 : typo #

Total comments: 7

Patch Set 3 : feedback #

Total comments: 1

Patch Set 4 : isMainFrame #

Total comments: 2

Patch Set 5 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -8 lines) Patch
M ios/chrome/browser/ui/static_content/static_html_view_controller.mm View 1 2 3 4 3 chunks +15 lines, -8 lines 0 comments Download

Messages

Total messages: 18 (8 generated)
Olivier
4 years ago (2016-12-22 09:31:59 UTC) #2
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2597133002/diff/20001/ios/chrome/browser/ui/static_content/static_html_view_controller.mm File ios/chrome/browser/ui/static_content/static_html_view_controller.mm (right): https://codereview.chromium.org/2597133002/diff/20001/ios/chrome/browser/ui/static_content/static_html_view_controller.mm#newcode90 ios/chrome/browser/ui/static_content/static_html_view_controller.mm:90: type:(WKNavigationType)type; nit: s/type/navigationType: https://codereview.chromium.org/2597133002/diff/20001/ios/chrome/browser/ui/static_content/static_html_view_controller.mm#newcode235 ios/chrome/browser/ui/static_content/static_html_view_controller.mm:235: // All other navigation ...
4 years ago (2016-12-22 16:21:56 UTC) #3
Olivier
https://codereview.chromium.org/2597133002/diff/20001/ios/chrome/browser/ui/static_content/static_html_view_controller.mm File ios/chrome/browser/ui/static_content/static_html_view_controller.mm (right): https://codereview.chromium.org/2597133002/diff/20001/ios/chrome/browser/ui/static_content/static_html_view_controller.mm#newcode90 ios/chrome/browser/ui/static_content/static_html_view_controller.mm:90: type:(WKNavigationType)type; On 2016/12/22 16:21:56, Eugene But wrote: > nit: ...
4 years ago (2016-12-22 16:42:59 UTC) #5
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2597133002/diff/20001/ios/chrome/browser/ui/static_content/static_html_view_controller.mm File ios/chrome/browser/ui/static_content/static_html_view_controller.mm (right): https://codereview.chromium.org/2597133002/diff/20001/ios/chrome/browser/ui/static_content/static_html_view_controller.mm#newcode90 ios/chrome/browser/ui/static_content/static_html_view_controller.mm:90: type:(WKNavigationType)type; On 2016/12/22 16:42:59, Olivier Robin wrote: > On ...
4 years ago (2016-12-22 17:37:51 UTC) #6
Olivier
4 years ago (2016-12-22 17:40:08 UTC) #7
Olivier
Ping
3 years, 11 months ago (2016-12-28 10:34:43 UTC) #8
Eugene But (OOO till 7-30)
lgtm. Sorry I did not know that you updated CL and was expecting review. https://codereview.chromium.org/2597133002/diff/60001/ios/chrome/browser/ui/static_content/static_html_view_controller.mm ...
3 years, 11 months ago (2016-12-28 16:41:05 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/2597133002/100001
3 years, 11 months ago (2016-12-28 17:10:26 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:100001)
3 years, 11 months ago (2016-12-28 17:19:38 UTC) #16
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 15:49:19 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/99d86ffdb2de89d7c7ee0d74a9ba92157ece5e4d
Cr-Commit-Position: refs/heads/master@{#440859}

Powered by Google App Engine
This is Rietveld 408576698