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

Issue 8931006: WebRequest API should warn when a developer attempts to filter URLs without proper permissions (Closed)

Created:
9 years ago by battre
Modified:
9 years ago
Reviewers:
Matt Perry
CC:
chromium-reviews, jstritar+watch_chromium.org, Aaron Boodman, mihaip+watch_chromium.org, Mike West
Visibility:
Public.

Description

WebRequest API should warn when a developer attempts to filter URLs without proper permissions Warn user if he attempts to register a web request filter without having any host permissions for the extension. We don't try a full subsumption test (you may register for a broader set of URLs than you have host permissions). This is just a simple check that you have any host permissions at all, which should help a careless developer to see his problem. BUG=104435 TEST=no Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114289

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -3 lines) Patch
M chrome/browser/extensions/extension_webrequest_api.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_webrequest_api_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_webrequest_api_constants.cc View 1 chunk +6 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
battre
Please review. Thx.
9 years ago (2011-12-13 17:07:41 UTC) #1
Matt Perry
lgtm
9 years ago (2011-12-13 20:27:49 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/battre@chromium.org/8931006/1
9 years ago (2011-12-13 20:35:00 UTC) #3
commit-bot: I haz the power
9 years ago (2011-12-13 22:20:10 UTC) #4
Change committed as 114289

Powered by Google App Engine
This is Rietveld 408576698