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

Unified Diff: chrome/browser/ui/webui/interstitials/interstitial_ui_browsertest.cc

Issue 2957953002: Add pinned cert interstitial to chrome://interstitials (Closed)
Patch Set: Address CL comments Created 3 years, 6 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
Index: chrome/browser/ui/webui/interstitials/interstitial_ui_browsertest.cc
diff --git a/chrome/browser/ui/webui/interstitials/interstitial_ui_browsertest.cc b/chrome/browser/ui/webui/interstitials/interstitial_ui_browsertest.cc
index 87e4fcd4ffe8918f3004b8556c352eec502ec19e..9147c8dfb89e0f33cf32de7a37e7efca627c81a7 100644
--- a/chrome/browser/ui/webui/interstitials/interstitial_ui_browsertest.cc
+++ b/chrome/browser/ui/webui/interstitials/interstitial_ui_browsertest.cc
@@ -52,6 +52,11 @@ IN_PROC_BROWSER_TEST_F(InterstitialUITest, SSLInterstitial) {
"Privacy error");
}
+IN_PROC_BROWSER_TEST_F(InterstitialUITest, PinnedCertInterstitial) {
+ TestInterstitial(GURL("chrome://interstitials/ssl?type=hpkp_failure"),
+ "Privacy error");
+}
+
IN_PROC_BROWSER_TEST_F(InterstitialUITest, MalwareInterstitial) {
TestInterstitial(
GURL("chrome://interstitials/safebrowsing?type=malware"),

Powered by Google App Engine
This is Rietveld 408576698