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

Unified Diff: chrome/browser/notifications/platform_notification_service_interactive_uitest.cc

Issue 2803303002: Disable the image notification property on MacOS (Closed)
Patch Set: review Created 3 years, 8 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 | « no previous file | content/child/runtime_features.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/platform_notification_service_interactive_uitest.cc
diff --git a/chrome/browser/notifications/platform_notification_service_interactive_uitest.cc b/chrome/browser/notifications/platform_notification_service_interactive_uitest.cc
index b454f6d9febbb992222e770c156cee8aee7854eb..dae163b3b44ad133d99abe80ca53b944d4a848bf 100644
--- a/chrome/browser/notifications/platform_notification_service_interactive_uitest.cc
+++ b/chrome/browser/notifications/platform_notification_service_interactive_uitest.cc
@@ -351,9 +351,11 @@ IN_PROC_BROWSER_TEST_F(PlatformNotificationServiceBrowserTest,
EXPECT_EQ("Title", base::UTF16ToUTF8(all_options_notification.title()));
EXPECT_EQ("Contents", base::UTF16ToUTF8(all_options_notification.message()));
EXPECT_EQ("replace-id", all_options_notification.tag());
+#if !defined(OS_MACOSX)
EXPECT_FALSE(all_options_notification.image().IsEmpty());
EXPECT_EQ(kIconWidth, all_options_notification.image().Width());
EXPECT_EQ(kIconHeight, all_options_notification.image().Height());
+#endif
EXPECT_FALSE(all_options_notification.icon().IsEmpty());
EXPECT_EQ(kIconWidth, all_options_notification.icon().Width());
EXPECT_EQ(kIconHeight, all_options_notification.icon().Height());
« no previous file with comments | « no previous file | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698