aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-components_safe__browsing_content_common_file__type__policies__unittest.cc
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2022-03-02 09:32:47 +0000
committerRene Ladan <rene@FreeBSD.org>2022-03-02 09:32:47 +0000
commitbfedd5f1f016c174f3fe18cd38c8517ece7b1e9b (patch)
tree1d6f8dd03169ed2d788d910cce625af1608e74d0 /www/chromium/files/patch-components_safe__browsing_content_common_file__type__policies__unittest.cc
parente18a8c4a1f1a85473f7d25dadf958405f131c81b (diff)
downloadports-bfedd5f1f016c174f3fe18cd38c8517ece7b1e9b.tar.gz
ports-bfedd5f1f016c174f3fe18cd38c8517ece7b1e9b.zip
www/chromium: update to 99.0.4844.51
On the port side, this update brings: - libvulkan enabled by default - more unit tests enabled - no longer dependent on Python 2.7 Security: https://vuxml.freebsd.org/freebsd/e0914087-9a09-11ec-9e61-3065ec8fd3ec.html
Diffstat (limited to 'www/chromium/files/patch-components_safe__browsing_content_common_file__type__policies__unittest.cc')
-rw-r--r--www/chromium/files/patch-components_safe__browsing_content_common_file__type__policies__unittest.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-components_safe__browsing_content_common_file__type__policies__unittest.cc b/www/chromium/files/patch-components_safe__browsing_content_common_file__type__policies__unittest.cc
new file mode 100644
index 000000000000..99528878ff75
--- /dev/null
+++ b/www/chromium/files/patch-components_safe__browsing_content_common_file__type__policies__unittest.cc
@@ -0,0 +1,11 @@
+--- components/safe_browsing/content/common/file_type_policies_unittest.cc.orig 2022-02-28 16:54:41 UTC
++++ components/safe_browsing/content/common/file_type_policies_unittest.cc
+@@ -137,7 +137,7 @@ TEST_F(FileTypePoliciesTest, UnpackResourceBundle) {
+ EXPECT_EQ(DownloadFileType::FULL_PING, file_type.ping_setting());
+ // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // of lacros-chrome is complete.
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ EXPECT_EQ(DownloadFileType::ALLOW_ON_USER_GESTURE,
+ file_type.platform_settings(0).danger_level());
+ EXPECT_EQ(DownloadFileType::DISALLOW_AUTO_OPEN,