chore: bump chromium to 131.0.6750.0 (main) (#44066)
* chore: bump chromium in DEPS to 131.0.6750.0 * Clean up stale base::Feature "RestrictFileURLNavigation" Xref:5891262
* chore: update mas_avoid_private_macos_api_usage.patch Comment out some new private macOS API use. Xref:5837702
Xref: https://electronhq.slack.com/archives/C5VT8SQ8K/p1727807285899389 * chore: e patches all --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
parent
f4ffd018e6
commit
1fc2064f6a
32 changed files with 110 additions and 101 deletions
|
@ -578,9 +578,7 @@ base::expected<GURL, std::string> PrepareURLForNavigation(
|
|||
// Don't let the extension navigate directly to file scheme pages, unless
|
||||
// they have file access.
|
||||
if (url.SchemeIsFile() &&
|
||||
!AllowFileAccess(extension->id(), browser_context) &&
|
||||
base::FeatureList::IsEnabled(
|
||||
extensions_features::kRestrictFileURLNavigation)) {
|
||||
!AllowFileAccess(extension->id(), browser_context)) {
|
||||
const char kFileUrlsNotAllowedInExtensionNavigations[] =
|
||||
"Cannot navigate to a file URL without local file access.";
|
||||
return base::unexpected(kFileUrlsNotAllowedInExtensionNavigations);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue