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

Issue 2630523002: Ensure the entire page is secure for PWAs. (Closed)

Created:
3 years, 11 months ago by dominickn
Modified:
3 years, 11 months ago
Reviewers:
pkotwicz, benwells
CC:
chromium-reviews, dominickn+watch_chromium.org, pkotwicz+watch_chromium.org, zpeng+watch_chromium.org, agrieve+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure the entire page is secure for PWAs. This CL changes app banners and WebAPKs to use SecurityTabHelper to check the entire page's security level, rather than just the top level origin. This makes the secure origin requirement more rigorous, and prevents sites with mixed content warnings from erroneously being permitted to display banners and install WebAPKs. Localhost is whitelisted to ensure local machine development is not blocked. BUG=657739 Review-Url: https://codereview.chromium.org/2630523002 Cr-Commit-Position: refs/heads/master@{#443979} Committed: https://chromium.googlesource.com/chromium/src/+/24f1eede17d4d2515fb0fb0d168f8a35cef9a851

Patch Set 1 #

Patch Set 2 : Whitelist localhost #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -4 lines) Patch
M chrome/browser/android/webapps/add_to_homescreen_manager.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/banners/app_banner_manager.cc View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/installable/installable_manager.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/installable/installable_manager.cc View 1 2 chunks +20 lines, -0 lines 2 comments Download

Messages

Total messages: 25 (17 generated)
dominickn
PTAL, thanks! pkotwicz: WebAPK sanity check benwells: OWNERS
3 years, 11 months ago (2017-01-12 08:44:26 UTC) #15
benwells
lgtm https://codereview.chromium.org/2630523002/diff/20001/chrome/browser/installable/installable_manager.cc File chrome/browser/installable/installable_manager.cc (right): https://codereview.chromium.org/2630523002/diff/20001/chrome/browser/installable/installable_manager.cc#newcode107 chrome/browser/installable/installable_manager.cc:107: if (net::IsLocalhost(web_contents->GetVisibleURL().HostNoBrackets())) Hmm, it's a bit unfortunate you ...
3 years, 11 months ago (2017-01-13 04:34:13 UTC) #16
dominickn
Thanks! https://codereview.chromium.org/2630523002/diff/20001/chrome/browser/installable/installable_manager.cc File chrome/browser/installable/installable_manager.cc (right): https://codereview.chromium.org/2630523002/diff/20001/chrome/browser/installable/installable_manager.cc#newcode107 chrome/browser/installable/installable_manager.cc:107: if (net::IsLocalhost(web_contents->GetVisibleURL().HostNoBrackets())) On 2017/01/13 04:34:13, benwells wrote: > ...
3 years, 11 months ago (2017-01-13 04:38:54 UTC) #17
dominickn
pkotwicz: ping.
3 years, 11 months ago (2017-01-16 21:21:13 UTC) #18
pkotwicz
LGTM Sorry for the delay. I did not realize that I was a reviewer =P ...
3 years, 11 months ago (2017-01-17 02:45:52 UTC) #19
dominickn
On 2017/01/17 02:45:52, pkotwicz wrote: > LGTM > > Sorry for the delay. I did ...
3 years, 11 months ago (2017-01-17 02:50:09 UTC) #20
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/2630523002/20001
3 years, 11 months ago (2017-01-17 02:50:37 UTC) #22
commit-bot: I haz the power
3 years, 11 months ago (2017-01-17 03:38:19 UTC) #25
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/24f1eede17d4d2515fb0fb0d168f...

Powered by Google App Engine
This is Rietveld 408576698