Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1639)

Unified Diff: content/browser/site_per_process_browsertest.cc

Issue 2226523002: Add separate plumbing for subresources with certificate errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/security_state/security_state_model.cc ('k') | content/browser/ssl/ssl_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/site_per_process_browsertest.cc
diff --git a/content/browser/site_per_process_browsertest.cc b/content/browser/site_per_process_browsertest.cc
index 84f83ea179c5b4dee2059c3d158bc940047b1919..4d93e03bb00488b0445b6ec962ca72b4402bb61d 100644
--- a/content/browser/site_per_process_browsertest.cc
+++ b/content/browser/site_per_process_browsertest.cc
@@ -6410,7 +6410,7 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessIgnoreCertErrorsBrowserTest,
// they were redundant with the main resource, so the page should not
// be marked as displaying insecure content.
EXPECT_FALSE(entry->GetSSL().content_status &
- SSLStatus::DISPLAYED_INSECURE_CONTENT);
+ SSLStatus::DISPLAYED_CONTENT_WITH_CERTIFICATE_ERRORS);
}
// Test that subresources with certificate errors that are NOT redundant
@@ -6444,7 +6444,7 @@ IN_PROC_BROWSER_TEST_F(SitePerProcessIgnoreCertErrorsBrowserTest,
// resource, so the page should be marked as having displayed insecure
// content.
EXPECT_TRUE(entry->GetSSL().content_status &
- SSLStatus::DISPLAYED_INSECURE_CONTENT);
+ SSLStatus::DISPLAYED_CONTENT_WITH_CERTIFICATE_ERRORS);
}
// Test setting a cross-origin iframe to display: none.
« no previous file with comments | « components/security_state/security_state_model.cc ('k') | content/browser/ssl/ssl_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698