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

Unified Diff: chrome/browser/content_settings/tab_specific_content_settings_unittest.cc

Issue 2536993002: Remove support for the keygen tag (Closed)
Patch Set: Rebased Created 4 years 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/content_settings/tab_specific_content_settings_unittest.cc
diff --git a/chrome/browser/content_settings/tab_specific_content_settings_unittest.cc b/chrome/browser/content_settings/tab_specific_content_settings_unittest.cc
index 50b1488c28735650caab62f74ffd9ce008bffece..9f161cb0db28224b8d7db392a77faa010d62a755 100644
--- a/chrome/browser/content_settings/tab_specific_content_settings_unittest.cc
+++ b/chrome/browser/content_settings/tab_specific_content_settings_unittest.cc
@@ -67,8 +67,6 @@ TEST_F(TabSpecificContentSettingsTest, BlockedContent) {
CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC));
EXPECT_FALSE(content_settings->IsContentBlocked(
CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA));
- EXPECT_FALSE(
- content_settings->IsContentBlocked(CONTENT_SETTINGS_TYPE_KEYGEN));
// Set a cookie, block access to images, block mediastream access and block a
// popup.
@@ -109,8 +107,6 @@ TEST_F(TabSpecificContentSettingsTest, BlockedContent) {
CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC));
EXPECT_TRUE(content_settings->IsContentBlocked(
CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA));
- EXPECT_FALSE(
- content_settings->IsContentBlocked(CONTENT_SETTINGS_TYPE_KEYGEN));
content_settings->OnCookieChanged(GURL("http://google.com"),
GURL("http://google.com"),
"A=B",
@@ -151,8 +147,6 @@ TEST_F(TabSpecificContentSettingsTest, BlockedContent) {
CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC));
EXPECT_FALSE(content_settings->IsContentBlocked(
CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA));
- EXPECT_FALSE(
- content_settings->IsContentBlocked(CONTENT_SETTINGS_TYPE_KEYGEN));
content_settings->ClearNavigationRelatedContentSettings();
#if !defined(OS_ANDROID)
@@ -171,8 +165,6 @@ TEST_F(TabSpecificContentSettingsTest, BlockedContent) {
CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC));
EXPECT_FALSE(content_settings->IsContentBlocked(
CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA));
- EXPECT_FALSE(
- content_settings->IsContentBlocked(CONTENT_SETTINGS_TYPE_KEYGEN));
}
TEST_F(TabSpecificContentSettingsTest, BlockedFileSystems) {

Powered by Google App Engine
This is Rietveld 408576698