Index: chrome/browser/ssl/ssl_browser_tests.cc |
diff --git a/chrome/browser/ssl/ssl_browser_tests.cc b/chrome/browser/ssl/ssl_browser_tests.cc |
index 68405e7ac23441f6e9ff6804f8be9396d2d9aecd..328a32a7a68d4754b8f34a5d12c06191dbafdd41 100644 |
--- a/chrome/browser/ssl/ssl_browser_tests.cc |
+++ b/chrome/browser/ssl/ssl_browser_tests.cc |
@@ -1891,9 +1891,7 @@ IN_PROC_BROWSER_TEST_F(SSLUITest, TestCloseTabWithUnsafePopup) { |
// Since the popup is showing an interstitial, it shouldn't have a last |
// committed entry. |
EXPECT_FALSE(popup->GetController().GetLastCommittedEntry()); |
- ASSERT_TRUE(popup->GetController().GetVisibleEntry()); |
- EXPECT_EQ(https_server_expired_.GetURL("/ssl/bad_iframe.html"), |
- popup->GetController().GetVisibleEntry()->GetURL()); |
+ EXPECT_EQ(nullptr, popup->GetController().GetVisibleEntry()); |
content::WaitForInterstitialAttach(popup); |
EXPECT_TRUE(popup->ShowingInterstitialPage()); |