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

Issue 2365433002: (re-land) Disallow navigations to blob URLs with non-canonical origins. (Closed)

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

Description

(re-land) Disallow navigations to blob URLs with non-canonical origins. Re-landing this with a fix for xhr-to-blob-in-isolated-world.html BUG=646278 TEST=content_browsertests, included Committed: https://crrev.com/a76cc407d8a8530f05b03ece9a831b72f568aef1 Cr-Commit-Position: refs/heads/master@{#420436}

Patch Set 1 #

Patch Set 2 : Add blobinternal:// support #

Patch Set 3 : Rejigger comment #

Patch Set 4 : Remove newline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+277 lines, -2 lines) Patch
A content/browser/blob_storage/blob_url_browsertest.cc View 1 chunk +188 lines, -0 lines 0 comments Download
M content/browser/child_process_security_policy_impl.cc View 1 2 3 3 chunks +31 lines, -0 lines 0 comments Download
M content/browser/child_process_security_policy_unittest.cc View 1 1 chunk +52 lines, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xhr-to-blob-in-isolated-world.html View 1 chunk +5 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (9 generated)
ncarter (slow)
nate: please review the layouttest charlie: the only change is the layouttest, but I wanted ...
4 years, 3 months ago (2016-09-21 22:44:01 UTC) #2
Nate Chapin
k. lgtm
4 years, 3 months ago (2016-09-21 22:44:59 UTC) #3
Charlie Reis
On 2016/09/21 22:44:01, ncarter wrote: > nate: please review the layouttest > > charlie: the ...
4 years, 3 months ago (2016-09-21 23:19:44 UTC) #4
ncarter (slow)
Added blobinternal:// support. PTAL
4 years, 3 months ago (2016-09-22 18:22:06 UTC) #6
Charlie Reis
Yeah, probably safer this way. Thanks for the extra unit test to cover it. LGTM.
4 years, 3 months ago (2016-09-22 18:29:22 UTC) #10
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/2365433002/60001
4 years, 3 months ago (2016-09-22 18:36:17 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-22 20:03:25 UTC) #15
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 20:18:10 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a76cc407d8a8530f05b03ece9a831b72f568aef1
Cr-Commit-Position: refs/heads/master@{#420436}

Powered by Google App Engine
This is Rietveld 408576698