WebSQL: Cleanup unused switch
This change removes a unused switch to disable WebSQL. WebSQL is also already deprecated as of Oct 2023 so this should no longer enable WebSQL anyway. Bug: 395838064 Change-Id: I6e31872dcd1fccfcf632db9c342e7b900759ae8f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6265825 Commit-Queue: Ayu Ishii <ayui@chromium.org> Reviewed-by: Avi Drissman <avi@chromium.org> Cr-Commit-Position: refs/heads/main@{#1427832}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
8df2390bb3
commit
a79bb5c663
content
browser
child
public
@ -3367,7 +3367,6 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
|
||||
switches::kDisableBackgroundTimerThrottling,
|
||||
switches::kDisableBestEffortTasks,
|
||||
switches::kDisableBreakpad,
|
||||
switches::kDisableDatabases,
|
||||
switches::kDisableFileSystem,
|
||||
switches::kDisableFrameRateLimit,
|
||||
switches::kDisableGpuMemoryBufferVideoFrames,
|
||||
@ -3545,12 +3544,6 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
|
||||
renderer_cmd);
|
||||
}
|
||||
|
||||
// Disable databases in incognito mode.
|
||||
if (GetBrowserContext()->IsOffTheRecord() &&
|
||||
!browser_cmd.HasSwitch(switches::kDisableDatabases)) {
|
||||
renderer_cmd->AppendSwitch(switches::kDisableDatabases);
|
||||
}
|
||||
|
||||
#if BUILDFLAG(IS_ANDROID)
|
||||
if (browser_cmd.HasSwitch(switches::kDisableGpuCompositing)) {
|
||||
renderer_cmd->AppendSwitch(switches::kDisableGpuCompositing);
|
||||
|
@ -3401,8 +3401,6 @@ const blink::web_pref::WebPreferences WebContentsImpl::ComputeWebPreferences(
|
||||
!command_line.HasSwitch(switches::kDisableRemoteFonts);
|
||||
prefs.local_storage_enabled =
|
||||
!command_line.HasSwitch(switches::kDisableLocalStorage);
|
||||
prefs.databases_enabled =
|
||||
!command_line.HasSwitch(switches::kDisableDatabases);
|
||||
|
||||
prefs.webgl1_enabled = !command_line.HasSwitch(switches::kDisable3DAPIs) &&
|
||||
!command_line.HasSwitch(switches::kDisableWebGL);
|
||||
|
@ -451,7 +451,6 @@ void SetRuntimeFeaturesFromCommandLine(const base::CommandLine& command_line) {
|
||||
{wrf::EnableAutomationControlled, switches::kEnableAutomation, true},
|
||||
{wrf::EnableAutomationControlled, switches::kHeadless, true},
|
||||
{wrf::EnableAutomationControlled, switches::kRemoteDebuggingPipe, true},
|
||||
{wrf::EnableDatabase, switches::kDisableDatabases, false},
|
||||
{wrf::EnableFileSystem, switches::kDisableFileSystem, false},
|
||||
{wrf::EnableNetInfoDownlinkMax,
|
||||
switches::kEnableNetworkInformationDownlinkMax, true},
|
||||
|
@ -112,9 +112,6 @@ const char kDisableBackForwardCache[] = "disable-back-forward-cache";
|
||||
// features.
|
||||
const char kDisableBlinkFeatures[] = "disable-blink-features";
|
||||
|
||||
// Disables HTML5 DB support.
|
||||
const char kDisableDatabases[] = "disable-databases";
|
||||
|
||||
// Disable the per-domain blocking for 3D APIs after GPU reset.
|
||||
// This switch is intended only for tests.
|
||||
const char kDisableDomainBlockingFor3DAPIs[] =
|
||||
|
@ -43,7 +43,6 @@ CONTENT_EXPORT extern const char
|
||||
CONTENT_EXPORT extern const char kDisableBackgroundTimerThrottling[];
|
||||
CONTENT_EXPORT extern const char kDisableBackForwardCache[];
|
||||
CONTENT_EXPORT extern const char kDisableBlinkFeatures[];
|
||||
CONTENT_EXPORT extern const char kDisableDatabases[];
|
||||
CONTENT_EXPORT extern const char kDisableDisplayList2dCanvas[];
|
||||
extern const char kDisableDomainBlockingFor3DAPIs[];
|
||||
CONTENT_EXPORT extern const char kDisableInProcessStackTraces[];
|
||||
|
Reference in New Issue
Block a user