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

Issue 2387173005: Lock down creation of "filesystem:chrome-extension://" URLs (Closed)

Created:
4 years, 2 months ago by ncarter (slow)
Modified:
4 years, 2 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, kinuko+fileapi, nhiroki, tzik
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disallow file api access from processes that lack permissions for the scheme of the origin. BUG=644966 Committed: https://crrev.com/e2e627390daf45140560b17c3e5f20fe73544a4f Cr-Commit-Position: refs/heads/master@{#423348}

Patch Set 1 #

Patch Set 2 : Revert [add request_from_iframe_sandbox_test] #

Patch Set 3 : Add test. #

Total comments: 8

Patch Set 4 : Review fixes. #

Patch Set 5 : Add a histogram. #

Total comments: 7

Patch Set 6 : Histograms fix. #

Patch Set 7 : Revert controversial test. #

Patch Set 8 : rparen #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -0 lines) Patch
M content/browser/child_process_security_policy_impl.cc View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 37 (25 generated)
ncarter (slow)
Charlie: this is the fix I'm testing. I'm working on adding a chrome_security_exploit_browsertest case for ...
4 years, 2 months ago (2016-10-04 18:51:41 UTC) #9
Charlie Reis
LGTM. Just publishing the comments that you and I discussed in person. https://codereview.chromium.org/2387173005/diff/40001/chrome/browser/chrome_security_exploit_browsertest.cc File chrome/browser/chrome_security_exploit_browsertest.cc ...
4 years, 2 months ago (2016-10-04 22:19:04 UTC) #14
ncarter (slow)
+isherman for histograms.xml (i might have screwed this up, never declared a boolean histogram before) ...
4 years, 2 months ago (2016-10-04 23:09:36 UTC) #18
Ilya Sherman
https://codereview.chromium.org/2387173005/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2387173005/diff/80001/tools/metrics/histograms/histograms.xml#newcode5537 tools/metrics/histograms/histograms.xml:5537: +<histogram name="ChildProcessSecurityPolicy.FileSystemCanCommitOrigin" It looks like you're declaring a new ...
4 years, 2 months ago (2016-10-05 00:50:40 UTC) #21
jam
https://codereview.chromium.org/2387173005/diff/80001/chrome/browser/chrome_security_exploit_browsertest.cc File chrome/browser/chrome_security_exploit_browsertest.cc (right): https://codereview.chromium.org/2387173005/diff/80001/chrome/browser/chrome_security_exploit_browsertest.cc#newcode16 chrome/browser/chrome_security_exploit_browsertest.cc:16: #include "content/common/fileapi/file_system_messages.h" please don't add dependencies to content internals ...
4 years, 2 months ago (2016-10-05 01:34:45 UTC) #23
ncarter (slow)
https://codereview.chromium.org/2387173005/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2387173005/diff/80001/tools/metrics/histograms/histograms.xml#newcode5537 tools/metrics/histograms/histograms.xml:5537: +<histogram name="ChildProcessSecurityPolicy.FileSystemCanCommitOrigin" On 2016/10/05 00:50:40, Ilya Sherman wrote: > ...
4 years, 2 months ago (2016-10-05 19:03:06 UTC) #24
ncarter (slow)
charlie: I've removed the controversial test, since we need this fix landed ASAP. PTAL
4 years, 2 months ago (2016-10-05 20:49:31 UTC) #25
Charlie Reis
LGTM. We can land the test after resolving the questions around DEPS with jam@. isherman@: ...
4 years, 2 months ago (2016-10-05 20:52:59 UTC) #26
Ilya Sherman
Metrics lgtm, thanks. https://codereview.chromium.org/2387173005/diff/80001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2387173005/diff/80001/tools/metrics/histograms/histograms.xml#newcode5537 tools/metrics/histograms/histograms.xml:5537: +<histogram name="ChildProcessSecurityPolicy.FileSystemCanCommitOrigin" On 2016/10/05 19:03:06, ncarter ...
4 years, 2 months ago (2016-10-05 22:37:09 UTC) #29
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/2387173005/140001
4 years, 2 months ago (2016-10-05 22:47:52 UTC) #33
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 2 months ago (2016-10-06 00:09:54 UTC) #35
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 00:13:13 UTC) #37
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/e2e627390daf45140560b17c3e5f20fe73544a4f
Cr-Commit-Position: refs/heads/master@{#423348}

Powered by Google App Engine
This is Rietveld 408576698