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

Issue 1192003006: Cache Storage: restrict access to secure origins (Chromium-side) (Closed)

Created:
5 years, 6 months ago by jsbell
Modified:
5 years, 4 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, jkarlin+watch_chromium.org, nhiroki, dmurph, pfeldman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cache Storage: restrict access to secure origins (Chromium-side) Follow-up to https://codereview.chromium.org/1177983007/ to terminate renderers that send bogus cache storage access requests. BUG=501380 R=falken@chromium.org,mkwst@chromium.org,asvitkine@chromium.org, Committed: https://crrev.com/4c4749245f912e6e87950508b34483f2d80deba8 Cr-Commit-Position: refs/heads/master@{#342657}

Patch Set 1 #

Patch Set 2 : Updated histograms #

Total comments: 4

Patch Set 3 : Review feedback #

Patch Set 4 : Actually try building #

Total comments: 2

Patch Set 5 : Add chrome-search scheme to secure scheme list #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -1 line) Patch
M chrome/common/chrome_content_client.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/bad_message.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/cache_storage/cache_storage_dispatcher_host.cc View 1 2 3 4 7 chunks +25 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 34 (12 generated)
jsbell
This should land after the blink side CL: https://codereview.chromium.org/1181973004 please take a look? Note that ...
5 years, 6 months ago (2015-06-18 19:15:57 UTC) #2
Mike West
LGTM, but I think you can drop the TODO comment. https://codereview.chromium.org/1192003006/diff/20001/content/browser/cache_storage/cache_storage_dispatcher_host.cc File content/browser/cache_storage/cache_storage_dispatcher_host.cc (right): https://codereview.chromium.org/1192003006/diff/20001/content/browser/cache_storage/cache_storage_dispatcher_host.cc#newcode48 ...
5 years, 6 months ago (2015-06-18 19:57:14 UTC) #3
jsbell
https://codereview.chromium.org/1192003006/diff/20001/content/browser/cache_storage/cache_storage_dispatcher_host.cc File content/browser/cache_storage/cache_storage_dispatcher_host.cc (right): https://codereview.chromium.org/1192003006/diff/20001/content/browser/cache_storage/cache_storage_dispatcher_host.cc#newcode48 content/browser/cache_storage/cache_storage_dispatcher_host.cc:48: // TODO(jsbell): Further restrict to HTTPS, like Service Workers? ...
5 years, 6 months ago (2015-06-18 20:00:04 UTC) #4
Alexei Svitkine (slow)
https://codereview.chromium.org/1192003006/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1192003006/diff/20001/tools/metrics/histograms/histograms.xml#newcode49964 tools/metrics/histograms/histograms.xml:49964: + <int value="90" label="CSDH_INVALID_ORIGIN"/> Since this list is increasing, ...
5 years, 6 months ago (2015-06-18 20:31:34 UTC) #5
jsbell
TODO dropped, and... https://codereview.chromium.org/1192003006/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1192003006/diff/20001/tools/metrics/histograms/histograms.xml#newcode49964 tools/metrics/histograms/histograms.xml:49964: + <int value="90" label="CSDH_INVALID_ORIGIN"/> On 2015/06/18 ...
5 years, 6 months ago (2015-06-18 21:27:19 UTC) #6
Alexei Svitkine (slow)
lgtm
5 years, 6 months ago (2015-06-18 21:28:12 UTC) #7
jsbell
+palmer for thoughts on aligning the Blink/Chromium-side checks. https://codereview.chromium.org/1192003006/diff/60001/content/browser/cache_storage/cache_storage_dispatcher_host.cc File content/browser/cache_storage/cache_storage_dispatcher_host.cc (right): https://codereview.chromium.org/1192003006/diff/60001/content/browser/cache_storage/cache_storage_dispatcher_host.cc#newcode48 content/browser/cache_storage/cache_storage_dispatcher_host.cc:48: return ...
5 years, 6 months ago (2015-06-19 20:29:13 UTC) #9
jsbell
ping palmer and/or mkwst for any suggestions here (see comment thread)
5 years, 6 months ago (2015-06-24 22:50:31 UTC) #10
palmer
LGTM. Thanks! https://codereview.chromium.org/1192003006/diff/60001/content/browser/cache_storage/cache_storage_dispatcher_host.cc File content/browser/cache_storage/cache_storage_dispatcher_host.cc (right): https://codereview.chromium.org/1192003006/diff/60001/content/browser/cache_storage/cache_storage_dispatcher_host.cc#newcode48 content/browser/cache_storage/cache_storage_dispatcher_host.cc:48: return IsOriginSecure(url); On 2015/06/19 20:29:12, jsbell wrote: ...
5 years, 6 months ago (2015-06-26 20:57:29 UTC) #11
falken
lgtm
5 years, 5 months ago (2015-06-29 03:29:38 UTC) #12
jsbell
palmer@ and I tracked down the reason the NTP was failing - the chrome-search scheme ...
5 years, 4 months ago (2015-07-28 22:39:04 UTC) #13
jsbell
Latest PS factors out the access check; despite being a trivial trampoline, I think this ...
5 years, 4 months ago (2015-07-28 22:42:05 UTC) #16
dmurph
Hm.... I imagine we get the error in C++. We can do either: * Tell ...
5 years, 4 months ago (2015-07-30 17:19:05 UTC) #18
pfeldman
On 2015/07/30 17:19:05, dmurph wrote: > Hm.... I imagine we get the error in C++. ...
5 years, 4 months ago (2015-07-30 21:36:01 UTC) #19
jsbell
Thanks, all. And sorry for the confusion pfeldman@ and dmurph@ - I meant to ping ...
5 years, 4 months ago (2015-08-03 23:17:45 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1192003006/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1192003006/80001
5 years, 4 months ago (2015-08-08 20:06:53 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/86590)
5 years, 4 months ago (2015-08-08 20:14:55 UTC) #27
jsbell
jam@ - can you review as / OWNER, specifically these two: chrome/common/chrome_content_client.cc (per palmer@) content/browser/bad_message.h ...
5 years, 4 months ago (2015-08-10 16:53:26 UTC) #29
jam
lgtm
5 years, 4 months ago (2015-08-10 17:40:40 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1192003006/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1192003006/80001
5 years, 4 months ago (2015-08-10 17:42:07 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 4 months ago (2015-08-10 18:55:56 UTC) #33
commit-bot: I haz the power
5 years, 4 months ago (2015-08-10 18:56:55 UTC) #34
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4c4749245f912e6e87950508b34483f2d80deba8
Cr-Commit-Position: refs/heads/master@{#342657}

Powered by Google App Engine
This is Rietveld 408576698