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

Unified Diff: trunk/src/chrome/test/data/extensions/api_test/stubs/content_script.js

Issue 13852042: Revert 195143 "Prevent chrome.app JSON schema from loading on ev..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/chrome/renderer/extensions/dispatcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/test/data/extensions/api_test/stubs/content_script.js
===================================================================
--- trunk/src/chrome/test/data/extensions/api_test/stubs/content_script.js (revision 195229)
+++ trunk/src/chrome/test/data/extensions/api_test/stubs/content_script.js (working copy)
@@ -31,11 +31,7 @@
}
var path = namespace + "." + entry.name;
- // TODO(cduvall): Make this inspect _api_features.json.
- // http://crbug.com/232247
- // Manually add chrome.app to the unprivileged APIs since it uses the
- // feature system now.
- if (module.unprivileged || entry.unprivileged || namespace == 'app') {
+ if (module.unprivileged || entry.unprivileged) {
unprivilegedPaths.push(path);
} else {
privilegedPaths.push(path);
« no previous file with comments | « trunk/src/chrome/renderer/extensions/dispatcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698