Index: chrome/test/data/extensions/api_test/stubs/content_script.js |
diff --git a/chrome/test/data/extensions/api_test/stubs/content_script.js b/chrome/test/data/extensions/api_test/stubs/content_script.js |
index 1b3f2ebc9e695ccdb2179b1c11d37915c43a22cc..6139d446b61706fec4ec2369194c30a4010d0439 100644 |
--- a/chrome/test/data/extensions/api_test/stubs/content_script.js |
+++ b/chrome/test/data/extensions/api_test/stubs/content_script.js |
@@ -31,7 +31,11 @@ chrome.extension.sendRequest("getApi", function(apis) { |
} |
var path = namespace + "." + entry.name; |
- if (module.unprivileged || entry.unprivileged) { |
+ // 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') { |
unprivilegedPaths.push(path); |
} else { |
privilegedPaths.push(path); |