| Index: Source/core/fetch/ResourceFetcherTest.cpp
|
| diff --git a/Source/core/fetch/ResourceFetcherTest.cpp b/Source/core/fetch/ResourceFetcherTest.cpp
|
| index f6b3a8f220fb7fb100d3ac4b0cdd84ccf942da7d..9f99afa7d141f77737684395f71a017805136f38 100644
|
| --- a/Source/core/fetch/ResourceFetcherTest.cpp
|
| +++ b/Source/core/fetch/ResourceFetcherTest.cpp
|
| @@ -194,24 +194,6 @@ TEST_F(ResourceFetcherUpgradeTest, DoNotUpgradeInsecureResourceRequests)
|
| expectUpgrade("ftp://example.test:1212/image.png", "ftp://example.test:1212/image.png");
|
| }
|
|
|
| -TEST_F(ResourceFetcherUpgradeTest, MonitorInsecureResourceRequests)
|
| -{
|
| - document->setSecurityOrigin(secureOrigin);
|
| - document->setInsecureContentPolicy(SecurityContext::InsecureContentMonitor);
|
| -
|
| - expectUpgrade("http://example.test/image.png", "http://example.test/image.png");
|
| - expectUpgrade("http://example.test:80/image.png", "http://example.test:80/image.png");
|
| - expectUpgrade("http://example.test:1212/image.png", "http://example.test:1212/image.png");
|
| -
|
| - expectUpgrade("https://example.test/image.png", "https://example.test/image.png");
|
| - expectUpgrade("https://example.test:80/image.png", "https://example.test:80/image.png");
|
| - expectUpgrade("https://example.test:1212/image.png", "https://example.test:1212/image.png");
|
| -
|
| - expectUpgrade("ftp://example.test/image.png", "ftp://example.test/image.png");
|
| - expectUpgrade("ftp://example.test:21/image.png", "ftp://example.test:21/image.png");
|
| - expectUpgrade("ftp://example.test:1212/image.png", "ftp://example.test:1212/image.png");
|
| -}
|
| -
|
| TEST_F(ResourceFetcherUpgradeTest, SendPreferHeader)
|
| {
|
| struct TestCase {
|
| @@ -235,9 +217,6 @@ TEST_F(ResourceFetcherUpgradeTest, SendPreferHeader)
|
|
|
| document->setInsecureContentPolicy(SecurityContext::InsecureContentUpgrade);
|
| expectPreferHeader(test.toRequest, test.frameType, test.shouldPrefer);
|
| -
|
| - document->setInsecureContentPolicy(SecurityContext::InsecureContentMonitor);
|
| - expectPreferHeader(test.toRequest, test.frameType, test.shouldPrefer);
|
| }
|
| }
|
|
|
|
|