| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
Thanks, Richard! LGTM, but let's maybe wait 'til the comments on the doc are resolved to land this, if we want to bundle comms together.
LOG(WARNING) << "--disable-extensions-except is not allowed in Google "nit: maybe either add:
// Must be --disable-extensions-except, per the CHECK above.
or
DCHECK_EQ(switch_name, switches::kDisableExtensionsExcept);
(The DCHECK basically just serves as documentation, not any additional validation)
#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && !BUILDFLAG(IS_CHROMEOS)do we need the !chromeos flag for this one? (I know we did for load-extension, but wasn't sure if there was usage of this switch)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Thanks, Richard! LGTM, but let's maybe wait 'til the comments on the doc are resolved to land this, if we want to bundle comms together.
SGTM
LOG(WARNING) << "--disable-extensions-except is not allowed in Google "nit: maybe either add:
// Must be --disable-extensions-except, per the CHECK above.
or
DCHECK_EQ(switch_name, switches::kDisableExtensionsExcept);
(The DCHECK basically just serves as documentation, not any additional validation)
Done. thanks for the suggestion!
#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && !BUILDFLAG(IS_CHROMEOS)do we need the !chromeos flag for this one? (I know we did for load-extension, but wasn't sure if there was usage of this switch)
I saw some internal usages but [UMA](https://screenshot.googleplex.com/7GkPq6dqNqk5bNt) shows no usages on ChromeOS so I agree with also restricting on ChromeOs
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Remove `--disable-extensions-except` switch on Chrome builds
Part of an on-going effort to reduce harm from the malicious
command-line extensions, this CL removes the exploited switch
only on Chrome builds.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |