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

Issue 1128363006: Switch Fizzy //components to use SchemeIsCryptographic() instead of SchemeIsSecure(). (Closed)

Created:
5 years, 7 months ago by lgarron
Modified:
5 years, 7 months ago
CC:
chromium-reviews, browser-components-watch_chromium.org, jam, darin-cc_chromium.org, estade+watch_chromium.org, markusheintz_, rouslan+autofillwatch_chromium.org, palmer
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Switch Fizzy //components to use SchemeIsCryptographic() instead of SchemeIsSecure(). We recently introduced SchemeIsCryptographic() and IsOriginSecure(), which are meant to replace SchemeIsSecure(). IsOriginSecure() roughly means "do we trust this content not to be tampered with before it reaches the user?" [1] This is a higher-level definition that corresponds to the new "privileged contexts" spec. [2] SchemeIsCryptographic() [3] is close to the old definition of SchemeIsSecure(), and literally just checks if the scheme is a cryptographic scheme (HTTPS or WSS as of right now). The difference is that SchemeIsCryptographic() will not consider filesystem URLs secure. [1] https://code.google.com/p/chromium/codesearch#chromium/src/content/public/common/origin_util.h&sq=package:chromium&type=cs&l=19&rcl=143099866 [2] https://www.chromium.org/Home/chromium-security/prefer-secure-origins-for-powerful-new-features and https://w3c.github.io/webappsec/specs/powerfulfeatures/ [3] https://code.google.com/p/chromium/codesearch#chromium/src/url/gurl.h&sq=package:chromium&type=cs&l=250&rcl=1430998666 BUG=362214 Committed: https://crrev.com/fe50e76fa445ff8e6fc3d18bb4b8d3a6b1408730 Cr-Commit-Position: refs/heads/master@{#329269}

Patch Set 1 : #

Total comments: 1

Patch Set 2 : Remove stray import. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M components/autofill/content/browser/wallet/wallet_service_url_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/content_settings/core/browser/host_content_settings_map.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (5 generated)
lgarron
Would you mind reviewing the following? dbeam@: wallet_service_url_unittest.cc bauerb@: host_content_settings_map.cc (Updated based on https://codereview.chromium.org/1099453005/patch/160001/170013 I ...
5 years, 7 months ago (2015-05-08 23:52:29 UTC) #3
Dan Beam
please fix the CL description as neither instance you're changing in //components is actually using ...
5 years, 7 months ago (2015-05-08 23:57:05 UTC) #4
lgarron
Thanks for catching those! (I thought I had fixed them, but I made a mistake.)
5 years, 7 months ago (2015-05-09 00:32:54 UTC) #5
Dan Beam
lgtm
5 years, 7 months ago (2015-05-09 01:01:19 UTC) #6
Bernhard Bauer
lgtm
5 years, 7 months ago (2015-05-11 07:48:15 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1128363006/40001
5 years, 7 months ago (2015-05-11 19:46:02 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/87485)
5 years, 7 months ago (2015-05-11 19:53:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1128363006/40001
5 years, 7 months ago (2015-05-11 22:41:26 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 7 months ago (2015-05-11 23:14:40 UTC) #14
commit-bot: I haz the power
5 years, 7 months ago (2015-05-11 23:15:35 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fe50e76fa445ff8e6fc3d18bb4b8d3a6b1408730
Cr-Commit-Position: refs/heads/master@{#329269}

Powered by Google App Engine
This is Rietveld 408576698