Index: chrome/browser/extensions/extension_resource_request_policy_apitest.cc |
=================================================================== |
--- chrome/browser/extensions/extension_resource_request_policy_apitest.cc (revision 113054) |
+++ chrome/browser/extensions/extension_resource_request_policy_apitest.cc (working copy) |
@@ -116,3 +116,19 @@ |
"extension_resource_request_policy/extension2", |
"video.html")); |
} |
+ |
+IN_PROC_BROWSER_TEST_F(ExtensionResourceRequestPolicyTest, |
+ WebAccessibleResources) { |
+ EXPECT_TRUE(RunExtensionSubtest( |
+ "extension_resource_request_policy/web_accessible", |
+ "accessible_resource.html")); |
+ |
+ EXPECT_TRUE(RunExtensionSubtest( |
+ "extension_resource_request_policy/web_accessible", |
+ "nonaccessible_resource.html")); |
+ |
+ EXPECT_TRUE(RunExtensionSubtest( |
+ "extension_resource_request_policy/web_accessible", |
+ "nonexistent_resource.html")); |
+} |
+ |