| Index: third_party/WebKit/Source/platform/weborigin/SecurityOriginTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/weborigin/SecurityOriginTest.cpp b/third_party/WebKit/Source/platform/weborigin/SecurityOriginTest.cpp
|
| index c04fd588b23c3ad4a3ebd75a33e80dac9768bbd8..c74840def21548f38e099e140e54c8d04e73d0d9 100644
|
| --- a/third_party/WebKit/Source/platform/weborigin/SecurityOriginTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/weborigin/SecurityOriginTest.cpp
|
| @@ -163,6 +163,11 @@ TEST_F(SecurityOriginTest, IsPotentiallyTrustworthy)
|
| // Unique origins are not considered secure.
|
| RefPtr<SecurityOrigin> uniqueOrigin = SecurityOrigin::createUnique();
|
| EXPECT_FALSE(uniqueOrigin->isPotentiallyTrustworthy());
|
| + // ... unless they are specially marked as such.
|
| + uniqueOrigin->setUniqueOriginIsPotentiallyTrustworthy(true);
|
| + EXPECT_TRUE(uniqueOrigin->isPotentiallyTrustworthy());
|
| + uniqueOrigin->setUniqueOriginIsPotentiallyTrustworthy(false);
|
| + EXPECT_FALSE(uniqueOrigin->isPotentiallyTrustworthy());
|
| }
|
|
|
| TEST_F(SecurityOriginTest, IsSecure)
|
|
|