chore: bump chromium to 117.0.5913.0 (main) (#39172)
* chore: bump chromium in DEPS to 117.0.5899.0 * 4686653: webui: Filter out non-chrome scheme URLs in WebUIConfigMap4686653
* 4696355: Remove deprecated version of base::CommandLine::CopySwitchesFrom()4696355
* chore: fixup patch indices * 4603888: Reland "Enable raw_ref check on linux"4603888
* chore: bump chromium in DEPS to 117.0.5901.0 * chore: update patches * chore: bump chromium in DEPS to 117.0.5903.0 * chore: bump chromium in DEPS to 117.0.5903.2 * chore: bump chromium in DEPS to 117.0.5905.0 * 4706792: Printing: Add debug code for a DispatchBeforePrintEvent() failure4706792
* 4704786: Refactor libunwind build rules/flags4704786
* 4701710: [Linux Ui] Set toolkit dark preference based on FDO dark preference4701710
* chore: fixup patch indices * chore: bump chromium in DEPS to 117.0.5907.0 * chore: bump chromium in DEPS to 117.0.5909.2 * chore: update patches * chore: bump chromium in DEPS to 117.0.5911.0 * chore: update patches * chore: build-what-we-include * fix: set allowFileAccess on devtools extensions correctly Ref:4714725
* 4670615: Reland "[iterator-helpers] Shipping iterator helpers"4670615
--------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com> Co-authored-by: Samuel Attard <marshallofsound@electronjs.org>
This commit is contained in:
parent
8e5bb4949b
commit
cfc0826b65
68 changed files with 248 additions and 220 deletions
|
@ -530,8 +530,7 @@ void ElectronBrowserClient::AppendExtraCommandLineSwitches(
|
|||
switches::kCORSSchemes, switches::kFetchSchemes,
|
||||
switches::kServiceWorkerSchemes, switches::kStreamingSchemes};
|
||||
command_line->CopySwitchesFrom(*base::CommandLine::ForCurrentProcess(),
|
||||
kCommonSwitchNames,
|
||||
std::size(kCommonSwitchNames));
|
||||
kCommonSwitchNames);
|
||||
if (process_type == ::switches::kUtilityProcess ||
|
||||
content::RenderProcessHost::FromID(process_id)) {
|
||||
MaybeAppendSecureOriginsAllowlistSwitch(command_line);
|
||||
|
|
|
@ -809,8 +809,8 @@ void ProxyingURLLoaderFactory::CreateLoaderAndStart(
|
|||
bool bypass_custom_protocol_handlers =
|
||||
options & kBypassCustomProtocolHandlers;
|
||||
if (!bypass_custom_protocol_handlers) {
|
||||
auto it = intercepted_handlers_.find(request.url.scheme());
|
||||
if (it != intercepted_handlers_.end()) {
|
||||
auto it = intercepted_handlers_->find(request.url.scheme());
|
||||
if (it != intercepted_handlers_->end()) {
|
||||
mojo::PendingRemote<network::mojom::URLLoaderFactory> loader_remote;
|
||||
this->Clone(loader_remote.InitWithNewPipeAndPassReceiver());
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include <vector>
|
||||
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "base/memory/raw_ref.h"
|
||||
#include "base/memory/weak_ptr.h"
|
||||
#include "content/public/browser/content_browser_client.h"
|
||||
#include "content/public/browser/render_frame_host.h"
|
||||
|
@ -257,7 +258,7 @@ class ProxyingURLLoaderFactory
|
|||
// reference is guaranteed to be valid.
|
||||
//
|
||||
// In this way we can avoid using code from api namespace in this file.
|
||||
const HandlersMap& intercepted_handlers_;
|
||||
const raw_ref<const HandlersMap> intercepted_handlers_;
|
||||
|
||||
const int render_process_id_;
|
||||
const int frame_routing_id_;
|
||||
|
|
|
@ -4,13 +4,14 @@
|
|||
|
||||
#include "shell/browser/ui/accelerator_util.h"
|
||||
|
||||
#include "base/memory/raw_ref.h"
|
||||
#include "testing/gtest/include/gtest/gtest.h"
|
||||
|
||||
namespace accelerator_util {
|
||||
|
||||
TEST(AcceleratorUtilTest, StringToAccelerator) {
|
||||
struct {
|
||||
const std::string& description;
|
||||
const std::string description;
|
||||
bool expected_success;
|
||||
} keys[] = {
|
||||
{"♫♫♫♫♫♫♫", false}, {"Cmd+Plus", true}, {"Ctrl+Space", true},
|
||||
|
|
|
@ -616,6 +616,9 @@ void InspectableWebContents::AddDevToolsExtensionsToClient() {
|
|||
extension_info.Set("exposeExperimentalAPIs",
|
||||
extension->permissions_data()->HasAPIPermission(
|
||||
extensions::mojom::APIPermissionID::kExperimental));
|
||||
extension_info.Set("allowFileAccess",
|
||||
(extension->creation_flags() &
|
||||
extensions::Extension::ALLOW_FILE_ACCESS) != 0);
|
||||
results.Append(std::move(extension_info));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue