Index: content/browser/loader/mime_type_resource_handler_unittest.cc |
diff --git a/content/browser/loader/mime_type_resource_handler_unittest.cc b/content/browser/loader/mime_type_resource_handler_unittest.cc |
index 1b4004adc58952c29fc42d77a506127d8b5108f3..1ce415663d035415e6938aef22d40abdf55e0a7d 100644 |
--- a/content/browser/loader/mime_type_resource_handler_unittest.cc |
+++ b/content/browser/loader/mime_type_resource_handler_unittest.cc |
@@ -318,6 +318,14 @@ TEST_F(MimeTypeResourceHandlerTest, StreamHandling) { |
EXPECT_FALSE( |
TestStreamIsIntercepted(allow_download, must_download, resource_type)); |
+ // PLugin resource request with download not allowed. Stream shouldn't be |
Charlie Reis
2015/12/14 20:53:23
nit: Plugin
robwu
2015/12/15 13:17:25
Done.
|
+ // intercepted. |
+ allow_download = false; |
+ must_download = false; |
+ resource_type = RESOURCE_TYPE_PLUGIN_RESOURCE; |
+ EXPECT_FALSE( |
+ TestStreamIsIntercepted(allow_download, must_download, resource_type)); |
+ |
// Object request with download not allowed. Stream should be intercepted. |
allow_download = false; |
must_download = false; |