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 3eacb11029a6917f5e0fc72ac83c796ebc3e05e2..94de426343f6f076237efef739fafe906515244e 100644 |
--- a/chrome/test/data/extensions/api_test/stubs/content_script.js |
+++ b/chrome/test/data/extensions/api_test/stubs/content_script.js |
@@ -18,6 +18,10 @@ chrome.extension.sendRequest("getApi", function(apis) { |
var privilegedPaths = []; |
var unprivilegedPaths = []; |
apis.forEach(function(module) { |
+ // TODO(aa): Remove this whole test when all the APIs have been converted to |
+ // the feature system. |
+ if (module.uses_feature_system) |
+ return; |
var namespace = module.namespace; |
["functions", "events"].forEach(function(section) { |
@@ -86,7 +90,7 @@ function testPath(path, expectError) { |
return false; |
} |
var str = err.toString(); |
- if (str.search("can only be used in extension processes.") != -1) { |
+ if (str.search("cannot be used in this context.") != -1) { |
return true; |
} else { |
logToConsoleAndStdout( |