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

Issue 3121003: Allow chrome:// pages to load extension resources (Closed)

Created:
10 years, 4 months ago by Aaron Boodman
Modified:
9 years, 6 months ago
CC:
chromium-reviews, Erik does not do reviews, pam+watch_chromium.org, ben+cc_chromium.org, Cris Neckar, caseq, Aaron Boodman, Paweł Hajdan Jr.
Base URL:
git://codf21.jail/chromium.git
Visibility:
Public.

Description

Allow chrome:// pages to load extension resources. Also, lock down access from chrome-extension:// pages to the origin of the resource being requested. BUG=51702 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=55656

Patch Set 1 #

Total comments: 1

Patch Set 2 : Allow extensions to load each others resources. Some extensions were already doing this. #

Patch Set 3 : fyi, added test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -6 lines) Patch
M chrome/browser/extensions/extension_browsertests_misc.cc View 3 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_protocols.cc View 1 1 chunk +15 lines, -6 lines 0 comments Download
A chrome/test/data/extensions/origin_privileges/extension2/index.html View 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/origin_privileges/extension2/manifest.json View 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/origin_privileges/extension2/test.png View Binary file 0 comments Download

Messages

Total messages: 8 (0 generated)
Aaron Boodman
10 years, 4 months ago (2010-08-10 19:07:11 UTC) #1
Aaron Boodman
See also http://codereview.chromium.org/3064050. This patch is logically a modification of that one, but it hasn't ...
10 years, 4 months ago (2010-08-10 19:07:42 UTC) #2
Erik does not do reviews
http://codereview.chromium.org/3121003/diff/1/2 File chrome/browser/extensions/extension_protocols.cc (right): http://codereview.chromium.org/3121003/diff/1/2#newcode92 chrome/browser/extensions/extension_protocols.cc:92: return new URLRequestErrorJob(request, net::ERR_ADDRESS_UNREACHABLE); This test seems like a ...
10 years, 4 months ago (2010-08-10 19:42:02 UTC) #3
Aaron Boodman
On 2010/08/10 19:42:02, Erik Kay wrote: > http://codereview.chromium.org/3121003/diff/1/2 > File chrome/browser/extensions/extension_protocols.cc (right): > > http://codereview.chromium.org/3121003/diff/1/2#newcode92 ...
10 years, 4 months ago (2010-08-10 19:51:15 UTC) #4
cdn1
+dmazzoni On Tue, Aug 10, 2010 at 12:51 PM, <aa@chromium.org> wrote: > On 2010/08/10 19:42:02, ...
10 years, 4 months ago (2010-08-10 19:59:28 UTC) #5
Aaron Boodman
On 2010/08/10 19:51:15, Aaron Boodman wrote: > On 2010/08/10 19:42:02, Erik Kay wrote: > > ...
10 years, 4 months ago (2010-08-10 20:36:26 UTC) #6
Aaron Boodman
ptal
10 years, 4 months ago (2010-08-10 20:40:25 UTC) #7
Erik does not do reviews
10 years, 4 months ago (2010-08-10 21:05:38 UTC) #8
LGTM

However, given the potential for regression here, we should also add an explicit
test to verify the legacy cases that we need to continue to support.

Potentially related, see bug 51702.  The way that bug is written, it looks like
we may already have a similar regression.

Powered by Google App Engine
This is Rietveld 408576698