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

Issue 10073011: Fix the optional permissions API. (Closed)

Created:
8 years, 8 months ago by jstritar
Modified:
8 years, 8 months ago
Reviewers:
Aaron Boodman
CC:
chromium-reviews, Aaron Boodman, mihaip+watch_chromium.org
Visibility:
Public.

Description

Fix the optional permissions API. Make sure the Extension copies in the renderers have the active permissions and not just those defined in the manifest. BUG=123250 TEST=ExtensionApiTest.ContentScriptPermissionsApi Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=132289

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -2 lines) Patch
M chrome/browser/extensions/content_script_apitest.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_messages.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_messages.cc View 1 4 chunks +15 lines, -2 lines 0 comments Download
A chrome/test/data/extensions/api_test/content_scripts/permissions/background.js View 1 chunk +112 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/content_scripts/permissions/manifest.json View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jstritar
Aaron, can you take a look? This regressed a little while ago (http://codereview.chromium.org/8976003/) due to ...
8 years, 8 months ago (2012-04-13 16:28:15 UTC) #1
Aaron Boodman
LGTM, thanks for the quick turnaround. I wonder if there is any other computed state ...
8 years, 8 months ago (2012-04-13 18:01:01 UTC) #2
jstritar
I can't think of anything else... the other state would be computed within Extension::Create. http://codereview.chromium.org/10073011/diff/1/chrome/common/extensions/extension_messages.cc ...
8 years, 8 months ago (2012-04-13 18:31:37 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jstritar@chromium.org/10073011/4001
8 years, 8 months ago (2012-04-13 21:03:43 UTC) #4
commit-bot: I haz the power
8 years, 8 months ago (2012-04-13 23:06:54 UTC) #5
Change committed as 132289

Powered by Google App Engine
This is Rietveld 408576698