Index: chrome/browser/extensions/permissions_apitest.cc |
diff --git a/chrome/browser/extensions/permissions_apitest.cc b/chrome/browser/extensions/permissions_apitest.cc |
index 5554f8227954e1748e142ea73e587ed91fdf8ff6..55be326b7c6fe3ea38fbb11aaaa01e98d7b4dabd 100644 |
--- a/chrome/browser/extensions/permissions_apitest.cc |
+++ b/chrome/browser/extensions/permissions_apitest.cc |
@@ -29,3 +29,11 @@ IN_PROC_BROWSER_TEST_F(ExperimentalApiTest, PermissionsSucceed) { |
ASSERT_TRUE(RunExtensionTest("permissions/enabled")) << message_; |
} |
+IN_PROC_BROWSER_TEST_F(ExtensionApiTest, ExperimentalPermissionsFail) { |
+ // At the time this test is being created, there is no experimental |
+ // function that will not be graduating soon, and does not require a |
+ // tab id as an argument. So, we need the tab permission to get |
+ // a tab id. |
+ ASSERT_TRUE(RunExtensionTest("permissions/experimental_disabled")) |
+ << message_; |
+} |