| Index: third_party/WebKit/Source/core/loader/MixedContentCheckerTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/MixedContentCheckerTest.cpp b/third_party/WebKit/Source/core/loader/MixedContentCheckerTest.cpp
|
| index 5d5928217bd498b3180f285e34a1944d2c68c25f..291c92f4a160b7302ea61452dbb5df5a6bff4b64 100644
|
| --- a/third_party/WebKit/Source/core/loader/MixedContentCheckerTest.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/MixedContentCheckerTest.cpp
|
| @@ -27,12 +27,19 @@ TEST(MixedContentCheckerTest, IsMixedContent)
|
| } cases[] = {
|
| {"http://example.com/foo", "http://example.com/foo", false},
|
| {"http://example.com/foo", "https://example.com/foo", false},
|
| + {"http://example.com/foo", "data:text/html,<p>Hi!</p>", false},
|
| {"https://example.com/foo", "https://example.com/foo", false},
|
| {"https://example.com/foo", "wss://example.com/foo", false},
|
| + {"https://example.com/foo", "data:text/html,<p>Hi!</p>", false},
|
| + {"https://example.com/foo", "http://127.0.0.1/", false},
|
| + {"https://example.com/foo", "http://[::1]/", false},
|
| +
|
| {"https://example.com/foo", "http://example.com/foo", true},
|
| {"https://example.com/foo", "http://google.com/foo", true},
|
| {"https://example.com/foo", "ws://example.com/foo", true},
|
| {"https://example.com/foo", "ws://google.com/foo", true},
|
| + {"https://example.com/foo", "http://192.168.1.1/", true},
|
| + {"https://example.com/foo", "http://localhost/", true},
|
| };
|
|
|
| for (size_t i = 0; i < WTF_ARRAY_LENGTH(cases); ++i) {
|
|
|