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

Issue 7574017: Make extension file URL access opt-in. (Closed)

Created:
9 years, 4 months ago by jstritar
Modified:
9 years, 4 months ago
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, mihaip+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Make extension file URL access opt-in. This corrects an issue causing file URL access to default on for <all_urls> and file:/// permissions. We also revert all extension's "allow file access" flags to false since we can't distinguish between extensions that were installed with the bug present and those where the user clicked allow file access. BUG=91577 TEST=ExtensionServiceTest.DefaultFileAccess Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96041

Patch Set 1 #

Total comments: 4

Patch Set 2 : nit #

Patch Set 3 : fix browser tests #

Patch Set 4 : fix more browsertests #

Patch Set 5 : fix unit tests #

Patch Set 6 : back out a couple changes to unit tests #

Patch Set 7 : keep LOAD the same #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -3 lines) Patch
M chrome/browser/extensions/extension_prefs.cc View 1 2 3 4 5 6 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/good/Preferences View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A chrome/test/data/extensions/permissions/files/manifest.json View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jstritar
9 years, 4 months ago (2011-08-04 20:41:32 UTC) #1
asargent_no_longer_on_chrome
LGTM http://codereview.chromium.org/7574017/diff/1/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (left): http://codereview.chromium.org/7574017/diff/1/chrome/browser/extensions/extension_service.cc#oldcode2212 chrome/browser/extensions/extension_service.cc:2212: extension_prefs_->SetAllowFileAccess(id, true); Ah, I guess this is the ...
9 years, 4 months ago (2011-08-04 21:56:02 UTC) #2
jstritar
http://codereview.chromium.org/7574017/diff/1/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (left): http://codereview.chromium.org/7574017/diff/1/chrome/browser/extensions/extension_service.cc#oldcode2212 chrome/browser/extensions/extension_service.cc:2212: extension_prefs_->SetAllowFileAccess(id, true); On 2011/08/04 21:56:03, Antony Sargent wrote: > ...
9 years, 4 months ago (2011-08-05 15:13:28 UTC) #3
jstritar
I landed this today but reverted after realizing a subtle issue. Extensions are configured with ...
9 years, 4 months ago (2011-08-08 21:55:12 UTC) #4
jstritar
I backed out the changes to how unpacked extensions work so this only fixes the ...
9 years, 4 months ago (2011-08-09 13:53:39 UTC) #5
asargent_no_longer_on_chrome
On 2011/08/09 13:53:39, jstritar wrote: > I backed out the changes to how unpacked extensions ...
9 years, 4 months ago (2011-08-09 18:11:23 UTC) #6
commit-bot: I haz the power
9 years, 4 months ago (2011-08-09 19:49:20 UTC) #7
Change committed as 96041

Powered by Google App Engine
This is Rietveld 408576698