chrome chromium 啟動 指令行 開關 參數 switches command line flags
線上及時更新的開關參數 Last automated update occurred on 2020-08-12.
out\Default\chrome1.exe --enable-skia-benchmarking --enable-gpu-benchmarking --no-sandbox --process-per-site --remote-debugging-port=9222 --enable-logging --disable-gpu-rasterization --disable-gpu
rem --ui-show-composited-layer-borders --ui-show-layer-animation-bounds --ui-show-paint-rects --ui-show-screenspace-rects
rem http://localhost:8080/a.html
rem --remote-debugging-port=9222
rem --enable-logging --v=1 --disable-gpu-vsync --vmodule=layer_tree_host=3 --ui-show-composited-layer-borders
rem --vmodule=metrics=2,image_animation_controller=2,layer_tree_host_impl=2 --v=0 --trace-startup=cc
rem --show-composited-layer-borders --show-screenspace-rects
1,常用參數
- 軟渲染與gpu渲染切換:
--disable-gpu-rasterization --disable-gpu
- 啟動時指定使用者資料的存放目錄
--user-data-dir=UserDataDir

View Code
源碼存放:
chrome / common / chrome_switches.cc
base/base_switches.h

// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/base_switches.h"
#include "build/build_config.h"
namespace switches {
// Delays execution of TaskPriority::BEST_EFFORT tasks until shutdown.
const char kDisableBestEffortTasks[] = "disable-best-effort-tasks";
// Disables the crash reporting.
const char kDisableBreakpad[] = "disable-breakpad";
// Comma-separated list of feature names to disable. See also kEnableFeatures.
const char kDisableFeatures[] = "disable-features";
// Force disabling of low-end device mode when set.
const char kDisableLowEndDeviceMode[] = "disable-low-end-device-mode";
// Indicates that crash reporting should be enabled. On platforms where helper
// processes cannot access to files needed to make this decision, this flag is
// generated internally.
const char kEnableCrashReporter[] = "enable-crash-reporter";
// Comma-separated list of feature names to enable. See also kDisableFeatures.
const char kEnableFeatures[] = "enable-features";
// Force low-end device mode when set.
const char kEnableLowEndDeviceMode[] = "enable-low-end-device-mode";
// This option can be used to force field trials when testing changes locally.
// The argument is a list of name and value pairs, separated by slashes. If a
// trial name is prefixed with an asterisk, that trial will start activated.
// For example, the following argument defines two trials, with the second one
// activated: "GoogleNow/Enable/*MaterialDesignNTP/Default/" This option can
// also be used by the browser process to send the list of trials to a
// non-browser process, using the same format. See
// FieldTrialList::CreateTrialsFromString() in field_trial.h for details.
const char kForceFieldTrials[] = "force-fieldtrials";
// Generates full memory crash dump.
const char kFullMemoryCrashReport[] = "full-memory-crash-report";
// Logs information about all tasks posted with TaskPriority::BEST_EFFORT. Use
// this to diagnose issues that are thought to be caused by
// TaskPriority::BEST_EFFORT execution fences. Note: Tasks posted to a
// non-BEST_EFFORT UpdateableSequencedTaskRunner whose priority is later lowered
// to BEST_EFFORT are not logged.
const char kLogBestEffortTasks[] = "log-best-effort-tasks";
// Suppresses all error dialogs when present.
const char kNoErrorDialogs[] = "noerrdialogs";
// Starts the sampling based profiler for the browser process at startup. This
// will only work if chrome has been built with the gn arg enable_profiling =
// true. The output will go to the value of kProfilingFile.
const char kProfilingAtStart[] = "profiling-at-start";
// Specifies a location for profiling output. This will only work if chrome has
// been built with the gyp variable profiling=1 or gn arg enable_profiling=true.
//
// {pid} if present will be replaced by the pid of the process.
// {count} if present will be incremented each time a profile is generated
// for this process.
// The default is chrome-profile-{pid} for the browser and test-profile-{pid}
// for tests.
const char kProfilingFile[] = "profiling-file";
// Controls whether profile data is periodically flushed to a file. Normally
// the data gets written on exit but cases exist where chromium doesn't exit
// cleanly (especially when using single-process). A time in seconds can be
// specified.
const char kProfilingFlush[] = "profiling-flush";
// When running certain tests that spawn child processes, this switch indicates
// to the test framework that the current process is a child process.
const char kTestChildProcess[] = "test-child-process";
// When running certain tests that spawn child processes, this switch indicates
// to the test framework that the current process should not initialize ICU to
// avoid creating any scoped handles too early in startup.
const char kTestDoNotInitializeIcu[] = "test-do-not-initialize-icu";
// Sends trace events from these categories to a file.
// --trace-to-file on its own sends to default categories.
const char kTraceToFile[] = "trace-to-file";
// Specifies the file name for --trace-to-file. If unspecified, it will
// go to a default file name.
const char kTraceToFileName[] = "trace-to-file-name";
// Gives the default maximal active V-logging level; 0 is the default.
// Normally positive values are used for V-logging levels.
const char kV[] = "v";
// Gives the per-module maximal V-logging levels to override the value
// given by --v. E.g. "my_module=2,foo*=3" would change the logging
// level for all code in source files "my_module.*" and "foo*.*"
// ("-inl" suffixes are also disregarded for this matching).
//
// Any pattern containing a forward or backward slash will be tested
// against the whole pathname and not just the module. E.g.,
// "*/foo/bar/*=2" would change the logging level for all code in
// source files under a "foo/bar" directory.
const char kVModule[] = "vmodule";
// Will wait for 60 seconds for a debugger to come to attach to the process.
const char kWaitForDebugger[] = "wait-for-debugger";
#if defined(OS_WIN)
// Disable high-resolution timer on Windows.
const char kDisableHighResTimer[] = "disable-highres-timer";
// Disables the USB keyboard detection for blocking the OSK on Win8+.
const char kDisableUsbKeyboardDetect[] = "disable-usb-keyboard-detect";
#endif
#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
// The /dev/shm partition is too small in certain VM environments, causing
// Chrome to fail or crash (see http://crbug.com/715363). Use this flag to
// work-around this issue (a temporary directory will always be used to create
// anonymous shared memory files).
const char kDisableDevShmUsage[] = "disable-dev-shm-usage";
#endif
#if defined(OS_POSIX)
// Used for turning on Breakpad crash reporting in a debug environment where
// crash reporting is typically compiled but disabled.
const char kEnableCrashReporterForTesting[] =
"enable-crash-reporter-for-testing";
#endif
#if defined(OS_ANDROID)
// Enables the reached code profiler that samples all threads in all processes
// to determine which functions are almost never executed.
const char kEnableReachedCodeProfiler[] = "enable-reached-code-profiler";
#endif
#if defined(OS_LINUX)
// Controls whether or not retired instruction counts are surfaced for threads
// in trace events on Linux.
//
// This flag requires the BPF sandbox to be disabled.
const char kEnableThreadInstructionCount[] = "enable-thread-instruction-count";
#endif
} // namespace switches
\content\public\common\content_switches.cc

// Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/public/common/content_switches.h"
#include "build/build_config.h"
#include "media/media_buildflags.h"
namespace switches {
// The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
// have an effect. 0 disables MSAA.
const char kAcceleratedCanvas2dMSAASampleCount[] = "canvas-msaa-sample-count";
// Allows processing of input before a frame has been committed.
// TODO(schenney): Remove when crbug.com/987626 is fixed.
const char kAllowPreCommitInput[] = "allow-pre-commit-input";
// By default, file:// URIs cannot read other file:// URIs. This is an
// override for developers who need the old behavior for testing.
const char kAllowFileAccessFromFiles[] = "allow-file-access-from-files";
// Enables TLS/SSL errors on localhost to be ignored (no interstitial,
// no blocking of requests).
const char kAllowInsecureLocalhost[] = "allow-insecure-localhost";
// Allows loopback interface to be added in network list for peer connection.
const char kAllowLoopbackInPeerConnection[] =
"allow-loopback-in-peer-connection";
// Allow a page to show popups during its unloading.
// TODO(https://crbug.com/937569): Remove this in Chrome 82.
const char kAllowPopupsDuringPageUnload[] = "allow-popups-during-page-unload";
// Allow a page to send synchronus XHR during its unloading.
// TODO(https://crbug.com/1003101): Remove this in Chrome 82.
const char kAllowSyncXHRInPageDismissal[] = "allow-sync-xhr-in-page-dimissal";
// Uses the android SkFontManager on linux. The specified directory should
// include the configuration xml file with the name "fonts.xml".
// This is used in blimp to emulate android fonts on linux.
const char kAndroidFontsPath[] = "android-fonts-path";
// Set blink settings. Format is <name>[=<value],<name>[=<value>],...
// The names are declared in Settings.json5. For boolean type, use "true",
// "false", or omit '=<value>' part to set to true. For enum type, use the int
// value of the enum value. Applied after other command line flags and prefs.
const char kBlinkSettings[] = "blink-settings";
// Causes the browser process to crash on startup.
const char kBrowserCrashTest[] = "crash-test";
// Causes the browser process to display a dialog on launch.
const char kBrowserStartupDialog[] = "browser-startup-dialog";
// Path to the exe to run for the renderer and plugin subprocesses.
const char kBrowserSubprocessPath[] = "browser-subprocess-path";
// Tells whether the code is running browser tests (this changes the startup URL
// used by the content shell and also disables features that can make tests
// flaky [like monitoring of memory pressure]).
const char kBrowserTest[] = "browser-test";
// Sets the tile size used by composited layers.
const char kDefaultTileWidth[] = "default-tile-width";
const char kDefaultTileHeight[] = "default-tile-height";
// Disable antialiasing on 2d canvas.
const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa";
// Disables Canvas2D rendering into a scanout buffer for overlay support.
const char kDisable2dCanvasImageChromium[] = "disable-2d-canvas-image-chromium";
// Disables client-visible 3D APIs, in particular WebGL and Pepper 3D.
// This is controlled by policy and is kept separate from the other
// enable/disable switches to avoid accidentally regressing the policy
// support for controlling access to these APIs.
const char kDisable3DAPIs[] = "disable-3d-apis";
// Disable gpu-accelerated 2d canvas.
const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas";
// Disables hardware acceleration of video decode, where available.
const char kDisableAcceleratedVideoDecode[] =
"disable-accelerated-video-decode";
// Disables hardware acceleration of video encode, where available.
const char kDisableAcceleratedVideoEncode[] =
"disable-accelerated-video-encode";
// Disable limits on the number of backing stores. Can prevent blinking for
// users with many windows/tabs and lots of memory.
const char kDisableBackingStoreLimit[] = "disable-backing-store-limit";
// Disable backgrounding renders for occluded windows. Done for tests to avoid
// nondeterministic behavior.
const char kDisableBackgroundingOccludedWindowsForTesting[] =
"disable-backgrounding-occluded-windows";
// Disable task throttling of timer tasks from background pages.
const char kDisableBackgroundTimerThrottling[] =
"disable-background-timer-throttling";
// Disable one or more Blink runtime-enabled features.
// Use names from runtime_enabled_features.json5, separated by commas.
// Applied after kEnableBlinkFeatures, and after other flags that change these
// features.
const char kDisableBlinkFeatures[] = "disable-blink-features";
// Enable Web Bluetooth Scanning
// This switch enables Web Bluetooth Scanning without any
// permission prompt for testing.
const char kEnableWebBluetoothScanning[] = "enable-web-bluetooth-scanning";
// 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[] =
"disable-domain-blocking-for-3d-apis";
// Disable all versions of WebGL.
const char kDisableWebGL[] = "disable-webgl";
// Disable WebGL2.
const char kDisableWebGL2[] = "disable-webgl2";
// Disable FileSystem API.
const char kDisableFileSystem[] = "disable-file-system";
// Disable 3D inside of flapper.
const char kDisableFlash3d[] = "disable-flash-3d";
// Disable Stage3D inside of flapper.
const char kDisableFlashStage3d[] = "disable-flash-stage3d";
// Disable user gesture requirement for presentation.
const char kDisableGestureRequirementForPresentation[] =
"disable-gesture-requirement-for-presentation";
// Disables GPU hardware acceleration. If software renderer is not in place,
// then the GPU process won't launch.
const char kDisableGpu[] = "disable-gpu";
// Prevent the compositor from using its GPU implementation.
const char kDisableGpuCompositing[] = "disable-gpu-compositing";
// Disable proactive early init of GPU process.
const char kDisableGpuEarlyInit[] = "disable-gpu-early-init";
// Do not force that all compositor resources be backed by GPU memory buffers.
const char kDisableGpuMemoryBufferCompositorResources[] =
"disable-gpu-memory-buffer-compositor-resources";
// Disable GpuMemoryBuffer backed VideoFrames.
const char kDisableGpuMemoryBufferVideoFrames[] =
"disable-gpu-memory-buffer-video-frames";
// For tests, to disable the limit on the number of times the GPU process may be
// restarted.
const char kDisableGpuProcessCrashLimit[] = "disable-gpu-process-crash-limit";
// For tests, to disable falling back to software compositing if the GPU Process
// has crashed, and reached the GPU Process crash limit.
const char kDisableSoftwareCompositingFallback[] =
"disable-software-compositing-fallback";
// When using CPU rasterizing disable low resolution tiling. This uses
// less power, particularly during animations, but more white may be seen
// during fast scrolling especially on slower devices.
const char kDisableLowResTiling[] = "disable-low-res-tiling";
// Disable the thread that crashes the GPU process if it stops responding to
// messages.
const char kDisableGpuWatchdog[] = "disable-gpu-watchdog";
// Disallow image animations to be reset to the beginning to avoid skipping
// many frames. Only effective if compositor image animations are enabled.
const char kDisableImageAnimationResync[] = "disable-image-animation-resync";
// Disables the IPC flooding protection.
// It is activated by default. Some javascript functions can be used to flood
// the browser process with IPC. This protection limits the rate at which they
// can be used.
const char kDisableIpcFloodingProtection[] = "disable-ipc-flooding-protection";
// Suppresses hang monitor dialogs in renderer processes. This may allow slow
// unload handlers on a page to prevent the tab from closing, but the Task
// Manager can be used to terminate the offending process in this case.
const char kDisableHangMonitor[] = "disable-hang-monitor";
// Disable the RenderThread's HistogramCustomizer.
const char kDisableHistogramCustomizer[] = "disable-histogram-customizer";
// Don't kill a child process when it sends a bad IPC message. Apart
// from testing, it is a bad idea from a security perspective to enable
// this switch.
const char kDisableKillAfterBadIPC[] = "disable-kill-after-bad-ipc";
// Disables LCD text.
const char kDisableLCDText[] = "disable-lcd-text";
// Disable LocalStorage.
const char kDisableLocalStorage[] = "disable-local-storage";
// Force logging to be disabled. Logging is enabled by default in debug
// builds.
const char kDisableLogging[] = "disable-logging";
// Disables using CODECAPI_AVLowLatencyMode when creating DXVA decoders.
const char kDisableLowLatencyDxva[] = "disable-low-latency-dxva";
// Disables clearing the rendering output of a renderer when it didn't commit
// new output for a while after a top-frame navigation.
const char kDisableNewContentRenderingTimeout[] =
"disable-new-content-rendering-timeout";
// Disables the Web Notification and the Push APIs.
const char kDisableNotifications[] = "disable-notifications";
// Disable partial raster in the renderer. Disabling this switch also disables
// the use of persistent gpu memory buffers.
const char kDisablePartialRaster[] = "disable-partial-raster";
// Disable Pepper3D.
const char kDisablePepper3d[] = "disable-pepper-3d";
// Disables the Permissions API.
const char kDisablePermissionsAPI[] = "disable-permissions-api";
// Disable Image Chromium for Pepper 3d.
const char kDisablePepper3DImageChromium[] = "disable-pepper-3d-image-chromium";
// Disables compositor-accelerated touch-screen pinch gestures.
const char kDisablePinch[] = "disable-pinch";
// Disable the creation of compositing layers when it would prevent LCD text.
const char kDisablePreferCompositingToLCDText[] =
"disable-prefer-compositing-to-lcd-text";
// Disables the Presentation API.
const char kDisablePresentationAPI[] = "disable-presentation-api";
// Disables throttling of history.pushState/replaceState calls.
const char kDisablePushStateThrottle[] = "disable-pushstate-throttle";
// Disables RGBA_4444 textures.
const char kDisableRGBA4444Textures[] = "disable-rgba-4444-textures";
// Taints all <canvas> elements, regardless of origin.
const char kDisableReadingFromCanvas[] = "disable-reading-from-canvas";
// Disables remote web font support. SVG font should always work whether this
// option is specified or not.
const char kDisableRemoteFonts[] = "disable-remote-fonts";
// Disables the RemotePlayback API.
const char kDisableRemotePlaybackAPI[] = "disable-remote-playback-api";
// Turns off the accessibility in the renderer.
const char kDisableRendererAccessibility[] = "disable-renderer-accessibility";
// Prevent renderer process backgrounding when set.
const char kDisableRendererBackgrounding[] = "disable-renderer-backgrounding";
// Whether the ResourceScheduler is disabled. Note this is only useful for C++
// Headless embedders who need to implement their own resource scheduling.
const char kDisableResourceScheduler[] = "disable-resource-scheduler";
// Disable shared workers.
const char kDisableSharedWorkers[] = "disable-shared-workers";
// Do not use runtime-detected high-end CPU optimizations in Skia. This is
// useful for forcing a baseline code path for e.g. web tests.
const char kDisableSkiaRuntimeOpts[] = "disable-skia-runtime-opts";
// Disable smooth scrolling for testing.
const char kDisableSmoothScrolling[] = "disable-smooth-scrolling";
// Disables the use of a 3D software rasterizer.
const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer";
// Disables the Web Speech API (both speech recognition and synthesis).
const char kDisableSpeechAPI[] = "disable-speech-api";
// Disables the speech synthesis part of Web Speech API.
const char kDisableSpeechSynthesisAPI[] = "disable-speech-synthesis-api";
// Disables adding the test certs in the network process.
const char kDisableTestCerts[] = "disable-test-root-certs";
// Disable multithreaded GPU compositing of web content.
const char kDisableThreadedCompositing[] = "disable-threaded-compositing";
// Disable multithreaded, compositor scrolling of web content.
const char kDisableThreadedScrolling[] = "disable-threaded-scrolling";
// Disable V8 idle tasks.
const char kDisableV8IdleTasks[] = "disable-v8-idle-tasks";
// Disables WebGL rendering into a scanout buffer for overlay support.
const char kDisableWebGLImageChromium[] = "disable-webgl-image-chromium";
// Don't enforce the same-origin policy. (Used by people testing their sites.)
const char kDisableWebSecurity[] = "disable-web-security";
// Disable rasterizer that writes directly to GPU memory associated with tiles.
const char kDisableZeroCopy[] = "disable-zero-copy";
// Disable the video decoder from drawing directly to a texture.
const char kDisableZeroCopyDxgiVideo[] = "disable-zero-copy-dxgi-video";
// Specifies if the |DOMAutomationController| needs to be bound in the
// renderer. This binding happens on per-frame basis and hence can potentially
// be a performance bottleneck. One should only enable it when automating dom
// based tests.
const char kDomAutomationController[] = "dom-automation";
// Disable antialiasing on 2d canvas clips
const char kDisable2dCanvasClipAntialiasing[] = "disable-2d-canvas-clip-aa";
// Disable YUV image decoding for those formats and cases where it's supported.
// Has no effect unless GPU rasterization is enabled.
const char kDisableYUVImageDecoding[] = "disable-yuv-image-decoding";
// Logs Runtime Call Stats for Blink. --single-process also needs to be
// used along with this for the stats to be logged.
const char kDumpBlinkRuntimeCallStats[] = "dump-blink-runtime-call-stats";
// Enables LCD text.
const char kEnableLCDText[] = "enable-lcd-text";
// Enable the creation of compositing layers when it would prevent LCD text.
const char kEnablePreferCompositingToLCDText[] =
"enable-prefer-compositing-to-lcd-text";
// Enable one or more Blink runtime-enabled features.
// Use names from runtime_enabled_features.json5, separated by commas.
// Applied before kDisableBlinkFeatures, and after other flags that change these
// features.
const char kEnableBlinkFeatures[] = "enable-blink-features";
// Enables Canvas 2D overlays for Windows.
const char kEnableCanvas2dSwapChain[] = "enable-canvas2d-swap-chain";
// Enable native caret browsing, in which a moveable cursor is placed on a web
// page, allowing a user to select and navigate through non-editable text using
// just a keyboard. See https://crbug.com/977390 for links to i2i.
const char kEnableCaretBrowsing[] = "enable-caret-browsing";
// Enables experimental WebAssembly features.
const char kEnableExperimentalWebAssemblyFeatures[] =
"enable-experimental-webassembly-features";
// Enables Web Platform features that are in development.
const char kEnableExperimentalWebPlatformFeatures[] =
"enable-experimental-web-platform-features";
// Disables all RuntimeEnabledFeatures that can be enabled via OriginTrials.
const char kDisableOriginTrialControlledBlinkFeatures[] =
"disable-origin-trial-controlled-blink-features";
// Specify that all compositor resources should be backed by GPU memory buffers.
const char kEnableGpuMemoryBufferCompositorResources[] =
"enable-gpu-memory-buffer-compositor-resources";
// Enable GpuMemoryBuffer backed VideoFrames.
const char kEnableGpuMemoryBufferVideoFrames[] =
"enable-gpu-memory-buffer-video-frames";
// When using CPU rasterizing generate low resolution tiling. Low res
// tiles may be displayed during fast scrolls especially on slower devices.
const char kEnableLowResTiling[] = "enable-low-res-tiling";
// Force logging to be enabled. Logging is disabled by default in release
// builds.
const char kEnableLogging[] = "enable-logging";
// Enables the type, downlinkMax attributes of the NetInfo API. Also, enables
// triggering of change attribute of the NetInfo API when there is a change in
// the connection type.
const char kEnableNetworkInformationDownlinkMax[] =
"enable-network-information-downlink-max";
// Disables the video decoder from drawing to an NV12 textures instead of ARGB.
const char kDisableNv12DxgiVideo[] = "disable-nv12-dxgi-video";
// Enables testing features of the Plugin Placeholder. For internal use only.
const char kEnablePluginPlaceholderTesting[] =
"enable-plugin-placeholder-testing";
// Make the values returned to window.performance.memory more granular and more
// up to date in shared worker. Without this flag, the memory information is
// still available, but it is bucketized and updated less frequently. This flag
// also applys to workers.
const char kEnablePreciseMemoryInfo[] = "enable-precise-memory-info";
// Enables PrintBrowser mode, in which everything renders as though printed.
const char kEnablePrintBrowser[] = "enable-print-browser";
// Enables RGBA_4444 textures.
const char kEnableRGBA4444Textures[] = "enable-rgba-4444-textures";
// Set options to cache V8 data. (off, preparse data, or code)
const char kV8CacheOptions[] = "v8-cache-options";
// If true the ServiceProcessLauncher is used to launch services. This allows
// for service binaries to be loaded rather than using the utility process. This
// is only useful for tests.
const char kEnableServiceBinaryLauncher[] = "enable-service-binary-launcher";
// Enables the Skia benchmarking extension
const char kEnableSkiaBenchmarking[] = "enable-skia-benchmarking";
// On platforms that support it, enables smooth scroll animation.
const char kEnableSmoothScrolling[] = "enable-smooth-scrolling";
// Enable spatial navigation
const char kEnableSpatialNavigation[] = "enable-spatial-navigation";
// Blocks all insecure requests from secure contexts, and prevents the user
// from overriding that decision.
const char kEnableStrictMixedContentChecking[] =
"enable-strict-mixed-content-checking";
// Blocks insecure usage of a number of powerful features (device orientation,
// for example) that we haven't yet deprecated for the web at large.
const char kEnableStrictPowerfulFeatureRestrictions[] =
"enable-strict-powerful-feature-restrictions";
// Feature flag to enable HTTPS subresource internal redirects to compressed
// versions.
const char kEnableSubresourceRedirect[] = "enable-subresource-redirect";
// Enabled threaded compositing for web tests.
const char kEnableThreadedCompositing[] = "enable-threaded-compositing";
// Enable tracing during the execution of browser tests.
const char kEnableTracing[] = "enable-tracing";
// The filename to write the output of the test tracing to.
const char kEnableTracingOutput[] = "enable-tracing-output";
// Enable screen capturing support for MediaStream API.
const char kEnableUserMediaScreenCapturing[] =
"enable-usermedia-screen-capturing";
// Enable the mode that uses zooming to implment device scale factor behavior.
const char kEnableUseZoomForDSF[] = "enable-use-zoom-for-dsf";
// Enables the use of the @viewport CSS rule, which allows
// pages to control aspects of their own layout. This also turns on touch-screen
// pinch gestures.
const char kEnableViewport[] = "enable-viewport";
// Enable the Vtune profiler support.
const char kEnableVtune[] = "enable-vtune-support";
// Enable the Web Authentication Testing API.
// https://w3c.github.io/webauthn
const char kEnableWebAuthTestingAPI[] = "enable-web-authentication-testing-api";
// Enable WebGL2 Compute context.
const char kEnableWebGL2ComputeContext[] = "enable-webgl2-compute-context";
// Enables WebGL extensions not yet approved by the community.
const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions";
// Enables WebGL rendering into a scanout buffer for overlay support.
const char kEnableWebGLImageChromium[] = "enable-webgl-image-chromium";
// Enables interaction with virtual reality devices.
const char kEnableWebVR[] = "enable-webvr";
// Enable rasterizer that writes directly to GPU memory associated with tiles.
const char kEnableZeroCopy[] = "enable-zero-copy";
// Handle to the shared memory segment containing field trial state that is to
// be shared between processes. The argument to this switch is the handle id
// (pointer on Windows) as a string, followed by a comma, then the size of the
// shared memory segment as a string.
const char kFieldTrialHandle[] = "field-trial-handle";
// Define an alias root directory which is replaced with the replacement string
// in file URLs. The format is "/alias=/replacement", which would turn
// file:///alias/some/path.html into file:///replacement/some/path.html.
const char kFileUrlPathAlias[] = "file-url-path-alias";
// Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU
// accelerated compositing + impl-side painting. Overrides the
// kEnableGpuRasterization flag.
const char kForceGpuRasterization[] = "force-gpu-rasterization";
// Disables OOP rasterization. Takes precedence over the enable flag.
const char kDisableOopRasterization[] = "disable-oop-rasterization";
// Turns on out of process raster for the renderer whenever gpu raster
// would have been used. Enables the chromium_raster_transport extension.
const char kEnableOopRasterization[] = "enable-oop-rasterization";
// Turns on skia deferred display list for out of process raster.
const char kEnableOopRasterizationDDL[] = "enable-oop-rasterization-ddl";
// Enables WebGL overlays for Windows.
const char kEnableWebGLSwapChain[] = "enable-webgl-swap-chain";
// The number of multisample antialiasing samples for GPU rasterization.
// Requires MSAA support on GPU to have an effect. 0 disables MSAA.
const char kGpuRasterizationMSAASampleCount[] =
"gpu-rasterization-msaa-sample-count";
// Forces use of hardware overlay for fullscreen video playback. Useful for
// testing the Android overlay fullscreen functionality on other platforms.
const char kForceOverlayFullscreenVideo[] = "force-overlay-fullscreen-video";
// This forces pages to be loaded as presentation receivers. Useful for testing
// behavior specific to presentation receivers.
// Spec: https://www.w3.org/TR/presentation-api/#interface-presentationreceiver
const char kForcePresentationReceiverForTesting[] =
"force-presentation-receiver-for-testing";
// Force renderer accessibility to be on instead of enabling it on demand when
// a screen reader is detected. The disable-renderer-accessibility switch
// overrides this if present.
const char kForceRendererAccessibility[] = "force-renderer-accessibility";
// For development / testing only. When running content_browsertests,
// saves output of failing accessibility tests to their expectations files in
// content/test/data/accessibility/, overwriting existing file content.
const char kGenerateAccessibilityTestExpectations[] =
"generate-accessibility-test-expectations";
// Extra command line options for launching the GPU process (normally used
// for debugging). Use like renderer-cmd-prefix.
const char kGpuLauncher[] = "gpu-launcher";
// Makes this process a GPU sub-process.
const char kGpuProcess[] = "gpu-process";
// Starts the GPU sandbox before creating a GL context.
const char kGpuSandboxStartEarly[] = "gpu-sandbox-start-early";
// Causes the GPU process to display a dialog on launch.
const char kGpuStartupDialog[] = "gpu-startup-dialog";
// Start the renderer with an initial virtual time override specified in
// seconds since the epoch.
const char kInitialVirtualTime[] = "initial-virtual-time";
// Run the GPU process as a thread in the browser process.
const char kInProcessGPU[] = "in-process-gpu";
// Overrides the timeout, in seconds, that a child process waits for a
// connection from the browser before killing itself.
const char kIPCConnectionTimeout[] = "ipc-connection-timeout";
// Require dedicated processes for a set of origins, specified as a
// comma-separated list. For example:
// --isolate-origins=https://www.foo.com,https://www.bar.com
const char kIsolateOrigins[] = "isolate-origins";
// Disable latest shipping ECMAScript 6 features.
const char kDisableJavaScriptHarmonyShipping[] =
"disable-javascript-harmony-shipping";
// Enables experimental Harmony (ECMAScript 6) features.
const char kJavaScriptHarmony[] = "javascript-harmony";
// Specifies the flags passed to JS engine
const char kJavaScriptFlags[] = "js-flags";
// Overrides the Lite Page Subresource host.
const char kLitePagesServerSubresourceHost[] =
"litepage-server-subresource-host";
// Logs GPU control list decisions when enforcing blacklist rules.
const char kLogGpuControlListDecisions[] = "log-gpu-control-list-decisions";
// Sets the minimum log level. Valid values are from 0 to 3:
// INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3.
const char kLoggingLevel[] = "log-level";
// Overrides the default file name to use for general-purpose logging (does not
// affect which events are logged).
const char kLogFile[] = "log-file";
// Resizes of the main frame are caused by changing between landscape and
// portrait mode (i.e. Android) so the page should be rescaled to fit.
const char kMainFrameResizesAreOrientationChanges[] =
"main-frame-resizes-are-orientation-changes";
// Allows user to override maximum number of active WebGL contexts per
// renderer process.
const char kMaxActiveWebGLContexts[] = "max-active-webgl-contexts";
// Sets the maximium decoded image size limitation.
const char kMaxDecodedImageSizeMb[] = "max-decoded-image-size-mb";
// Sets the width and height above which a composited layer will get tiled.
const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
// Indicates the utility process should run with a message loop type of UI.
const char kMessageLoopTypeUi[] = "message-loop-type-ui";
// Set the default result for MockCertVerifier. This only works in test code.
const char kMockCertVerifierDefaultResultForTesting[] =
"mock-cert-verifier-default-result-for-testing";
// Use a Mojo-based LocalStorage implementation.
const char kMojoLocalStorage[] = "mojo-local-storage";
// Sets the timeout seconds of the network-quiet timers in IdlenessDetector.
// Used by embedders who want to change the timeout time in order to run web
// contents on various embedded devices and changeable network bandwidths in
// different regions. For example, it's useful when using FirstMeaningfulPaint
// signal to dismiss a splash screen.
const char kNetworkQuietTimeout[] = "network-quiet-timeout";
// Disables the use of a zygote process for forking child processes. Instead,
// child processes will be forked and exec'd directly. Note that --no-sandbox
// should also be used together with this flag because the sandbox needs the
// zygote to work.
const char kNoZygote[] = "no-zygote";
// Disables V8 mitigations for executing untrusted code.
const char kNoV8UntrustedCodeMitigations[] = "no-v8-untrusted-code-mitigations";
// Number of worker threads used to rasterize content.
const char kNumRasterThreads[] = "num-raster-threads";
// Override the behavior of plugin throttling for testing.
// By default the throttler is only enabled for a hard-coded list of plugins.
// Set the value to 'always' to always throttle every plugin instance. Set the
// value to 'never' to disable throttling.
const char kOverridePluginPowerSaverForTesting[] =
"override-plugin-power-saver-for-testing";
// Override the default value for the 'passive' field in javascript
// addEventListener calls. Values are defined as:
// 'documentonlytrue' to set the default be true only for document level nodes.
// 'true' to set the default to be true on all nodes (when not specified).
// 'forcealltrue' to force the value on all nodes.
const char kPassiveListenersDefault[] = "passive-listeners-default";
// Argument to the process type that indicates a PPAPI broker process type.
const char kPpapiBrokerProcess[] = "ppapi-broker";
// "Command-line" arguments for the PPAPI Flash; used for debugging options.
const char kPpapiFlashArgs[] = "ppapi-flash-args";
// Runs PPAPI (Pepper) plugins in-process.
const char kPpapiInProcess[] = "ppapi-in-process";
// Specifies a command that should be used to launch the ppapi plugin process.
// Useful for running the plugin process through purify or quantify. Ex:
// --ppapi-plugin-launcher="path\to\purify /Run=yes"
const char kPpapiPluginLauncher[] = "ppapi-plugin-launcher";
// Argument to the process type that indicates a PPAPI plugin process type.
const char kPpapiPluginProcess[] = "ppapi";
// Causes the PPAPI sub process to display a dialog on launch. Be sure to use
// --no-sandbox as well or the sandbox won't allow the dialog to display.
const char kPpapiStartupDialog[] = "ppapi-startup-dialog";
// Enable the "Process Per Site" process model for all domains. This mode
// consolidates same-site pages so that they share a single process.
//
// More details here:
// - https://www.chromium.org/developers/design-documents/process-models
// - The class comment in site_instance.h, listing the supported process models.
//
// IMPORTANT: This isn't to be confused with --site-per-process (which is about
// isolation, not consolidation). You probably want the other one.
const char kProcessPerSite[] = "process-per-site";
// Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own
// renderer process. We default to using a renderer process for each
// site instance (i.e., group of pages from the same registered domain with
// script connections to each other).
// TODO(creis): This flag is currently a no-op. We should refactor it to avoid
// "unnecessary" process swaps for cross-site navigations but still swap when
// needed for security (e.g., isolated origins).
const char kProcessPerTab[] = "process-per-tab";
// The value of this switch determines whether the process is started as a
// renderer or plugin host. If it's empty, it's the browser.
const char kProcessType[] = "type";
// Uses a specified proxy server, overrides system settings. This switch only
// affects HTTP and HTTPS requests. ARC-apps use only HTTP proxy server with the
// highest priority.
// TODO(yzshen): Move this switch back to chrome/common/chrome_switches.{h,cc},
// once the network service is able to access the corresponding setting via the
// pref service.
const char kProxyServer[] = "proxy-server";
// Enables or disables pull-to-refresh gesture in response to vertical
// overscroll.
// Set the value to '0' to disable the feature, set to '1' to enable it for both
// touchpad and touchscreen, and set to '2' to enable it only for touchscreen.
// Defaults to disabled.
const char kPullToRefresh[] = "pull-to-refresh";
// Register Pepper plugins (see pepper_plugin_list.cc for its format).
const char kRegisterPepperPlugins[] = "register-pepper-plugins";
// Enables remote debug over stdio pipes [in=3, out=4].
// Optionally, specifies the format for the protocol messages, can be either
// "JSON" (the default) or "CBOR".
const char kRemoteDebuggingPipe[] = "remote-debugging-pipe";
// Enables remote debug over HTTP on the specified port.
const char kRemoteDebuggingPort[] = "remote-debugging-port";
const char kRendererClientId[] = "renderer-client-id";
// The contents of this flag are prepended to the renderer command line.
// Useful values might be "valgrind" or "xterm -e gdb --args".
const char kRendererCmdPrefix[] = "renderer-cmd-prefix";
// Causes the process to run as renderer instead of as browser.
const char kRendererProcess[] = "renderer";
// Overrides the default/calculated limit to the number of renderer processes.
// Very high values for this setting can lead to high memory/resource usage
// or instability.
const char kRendererProcessLimit[] = "renderer-process-limit";
// Causes the renderer process to display a dialog on launch. Passing this flag
// also adds service_manager::kNoSandbox on Windows non-official builds, since
// that's needed to show a dialog.
const char kRendererStartupDialog[] = "renderer-startup-dialog";
// Manual tests only run when --run-manual is specified. This allows writing
// tests that don't run automatically but are still in the same test binary.
// This is useful so that a team that wants to run a few tests doesn't have to
// add a new binary that must be compiled on all builds.
const char kRunManualTestsFlag[] = "run-manual";
// Causes the process to run as a sandbox IPC subprocess.
const char kSandboxIPCProcess[] = "sandbox-ipc";
// Visibly render a border around layout shift rects in the web page to help
// debug and study layout shifts.
const char kShowLayoutShiftRegions[] = "show-layout-shift-regions";
// Visibly render a border around paint rects in the web page to help debug
// and study painting behavior.
const char kShowPaintRects[] = "show-paint-rects";
// Runs the renderer and plugins in the same process as the browser
const char kSingleProcess[] = "single-process";
// Enforces a one-site-per-process security policy:
// * Each renderer process, for its whole lifetime, is dedicated to rendering
// pages for just one site.
// * Thus, pages from different sites are never in the same process.
// * A renderer process's access rights are restricted based on its site.
// * All cross-site navigations force process swaps.
// * <iframe>s are rendered out-of-process whenever the src= is cross-site.
//
// More details here:
// - https://www.chromium.org/developers/design-documents/site-isolation
// - https://www.chromium.org/developers/design-documents/process-models
// - The class comment in site_instance.h, listing the supported process models.
//
// IMPORTANT: this isn't to be confused with --process-per-site (which is about
// process consolidation, not isolation). You probably want this one.
const char kSitePerProcess[] = "site-per-process";
// Disables site isolation.
//
// Note that the opt-in (to site-per-process, isolate-origins, etc.) via
// enterprise policy and/or cmdline takes precedence over the
// kDisableSiteIsolation switch (i.e. the opt-in takes effect despite potential
// presence of kDisableSiteIsolation switch).
//
// Note that for historic reasons the name of the switch misleadingly mentions
// "trials", but the switch also disables the default site isolation that ships
// on desktop since M67. The name of the switch is preserved for
// backcompatibility of chrome://flags.
const char kDisableSiteIsolation[] = "disable-site-isolation-trials";
// Specifies if the browser should start in fullscreen mode, like if the user
// had pressed F11 right after startup.
const char kStartFullscreen[] = "start-fullscreen";
// Specifies if the |StatsCollectionController| needs to be bound in the
// renderer. This binding happens on per-frame basis and hence can potentially
// be a performance bottleneck. One should only enable it when running a test
// that needs to access the provided statistics.
const char kStatsCollectionController[] =
"enable-stats-collection-bindings";
// Specifies the max number of bytes that should be used by the skia font cache.
// If the cache needs to allocate more, skia will purge previous entries.
const char kSkiaFontCacheLimitMb[] = "skia-font-cache-limit-mb";
// Specifies the max number of bytes that should be used by the skia resource
// cache. The previous entries are purged from the cache when the memory useage
// exceeds this limit.
const char kSkiaResourceCacheLimitMb[] = "skia-resource-cache-limit-mb";
// Type of the current test harness ("browser" or "ui").
const char kTestType[] = "test-type";
// Enable support for touch event feature detection.
const char kTouchEventFeatureDetection[] = "touch-events";
// The values the kTouchEventFeatureDetection switch may have, as in
// --touch-events=disabled.
// auto: enabled at startup when an attached touchscreen is present.
const char kTouchEventFeatureDetectionAuto[] = "auto";
// enabled: touch events always enabled.
const char kTouchEventFeatureDetectionEnabled[] = "enabled";
// disabled: touch events are disabled.
const char kTouchEventFeatureDetectionDisabled[] = "disabled";
// Controls how text selection granularity changes when touch text selection
// handles are dragged. Should be "character" or "direction". If not specified,
// the platform default is used.
const char kTouchTextSelectionStrategy[] = "touch-selection-strategy";
// Accepts specified file as a trustable BundledExchanges file. This flag should
// be used only for testing purpose.
const char kTrustableBundledExchangesFile[] =
"trustable-bundled-exchanges-file";
// Replaces the existing codecs supported in peer connection with a single fake
// codec entry that create a fake video encoder and decoder.
const char kUseFakeCodecForPeerConnection[] =
"use-fake-codec-for-peer-connection";
// Bypass the media stream infobar by selecting the default device for media
// streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream.
const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream";
// Texture target for CHROMIUM_image backed video frame textures.
const char kVideoImageTextureTarget[] = "video-image-texture-target";
// Set when Chromium should use a mobile user agent.
const char kUseMobileUserAgent[] = "use-mobile-user-agent";
// Use the MockCertVerifier. This only works in test code.
const char kUseMockCertVerifierForTesting[] =
"use-mock-cert-verifier-for-testing";
// The contents of this flag are prepended to the utility process command line.
// Useful values might be "valgrind" or "xterm -e gdb --args".
const char kUtilityCmdPrefix[] = "utility-cmd-prefix";
// Causes the process to run as a utility subprocess.
const char kUtilityProcess[] = "utility";
// Causes the utility process to display a dialog on launch.
const char kUtilityStartupDialog[] = "utility-startup-dialog";
// In debug builds, asserts that the stream of input events is valid.
const char kValidateInputEventStream[] = "validate-input-event-stream";
// Will add kWaitForDebugger to every child processes. If a value is passed, it
// will be used as a filter to determine if the child process should have the
// kWaitForDebugger flag passed on or not.
const char kWaitForDebuggerChildren[] = "wait-for-debugger-children";
// Set the antialiasing method used for webgl. (none, explicit, implicit, or
// screenspace)
const char kWebglAntialiasingMode[] = "webgl-antialiasing-mode";
// Set a default sample count for webgl if msaa is enabled.
const char kWebglMSAASampleCount[] = "webgl-msaa-sample-count";
// Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it
// ignores this switch on its stable and beta channels.
const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption";
// Disables HW decode acceleration for WebRTC.
const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding";
// Disables HW encode acceleration for WebRTC.
const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding";
// Enables negotiation of GCM cipher suites from RFC 7714 for SRTP in WebRTC.
// See https://tools.ietf.org/html/rfc7714 for further information.
const char kEnableWebRtcSrtpAesGcm[] = "enable-webrtc-srtp-aes-gcm";
// Enables negotiation of encrypted header extensions from RFC 6904 for SRTP
// in WebRTC.
// See https://tools.ietf.org/html/rfc6904 for further information.
// TODO(https://crbug.com/954201): Remove this.
const char kEnableWebRtcSrtpEncryptedHeaders[] =
"enable-webrtc-srtp-encrypted-headers";
// Enables Origin header in Stun messages for WebRTC.
const char kEnableWebRtcStunOrigin[] = "enable-webrtc-stun-origin";
// Enforce IP Permission check. TODO(guoweis): Remove this once the feature is
// not under finch and becomes the default.
const char kEnforceWebRtcIPPermissionCheck[] =
"enforce-webrtc-ip-permission-check";
// Override WebRTC IP handling policy to mimic the behavior when WebRTC IP
// handling policy is specified in Preferences.
const char kForceWebRtcIPHandlingPolicy[] = "force-webrtc-ip-handling-policy";
// Override the maximum framerate as can be specified in calls to getUserMedia.
// This flag expects a value. Example: --max-gum-fps=17.5
const char kWebRtcMaxCaptureFramerate[] = "max-gum-fps";
// Configure the maximum CPU time percentage of a single core that can be
// consumed for desktop capturing. Default is 50. Set 100 to disable the
// throttling of the capture.
const char kWebRtcMaxCpuConsumptionPercentage[] =
"webrtc-max-cpu-consumption-percentage";
// Renderer process parameter for WebRTC Stun probe trial to determine the
// interval. Please see SetupStunProbeTrial in
// chrome_browser_field_trials_desktop.cc for more detail.
const char kWebRtcStunProbeTrialParameter[] = "webrtc-stun-probe-trial";
// Enable capture and local storage of WebRTC event logs without visiting
// chrome://webrtc-internals. This is useful for automated testing. It accepts
// the path to which the local logs would be stored. Disabling is not possible
// without restarting the browser and relaunching without this flag.
const char kWebRtcLocalEventLogging[] = "webrtc-event-logging";
#if defined(OS_ANDROID)
// Disable Media Session API
const char kDisableMediaSessionAPI[] = "disable-media-session-api";
// Disable overscroll edge effects like those found in Android views.
const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect";
// Disable the pull-to-refresh effect when vertically overscrolling content.
const char kDisablePullToRefreshEffect[] = "disable-pull-to-refresh-effect";
// Disable the locking feature of the screen orientation API.
const char kDisableScreenOrientationLock[] = "disable-screen-orientation-lock";
// Just like kDisableSiteIsolation, but doesn't show the "stability and security
// will suffer" butter bar warning.
const char kDisableSiteIsolationForPolicy[] =
"disable-site-isolation-for-policy";
// Disable timeouts that may cause the browser to die when running slowly. This
// is useful if running with profiling (such as debug malloc).
const char kDisableTimeoutsForProfiling[] = "disable-timeouts-for-profiling";
// Enable inverting of selection handles so that they are not clipped by the
// viewport boundaries.
const char kEnableAdaptiveSelectionHandleOrientation[] =
"enable-adaptive-selection-handle-orientation";
// Enable drag manipulation of longpress-triggered text selections.
const char kEnableLongpressDragSelection[] = "enable-longpress-drag-selection";
// The telephony region (ISO country code) to use in phone number detection.
const char kNetworkCountryIso[] = "network-country-iso";
// Enables remote debug over HTTP on the specified socket name.
const char kRemoteDebuggingSocketName[] = "remote-debugging-socket-name";
// Block ChildProcessMain thread of the renderer's ChildProcessService until a
// Java debugger is attached.
const char kRendererWaitForJavaDebugger[] = "renderer-wait-for-java-debugger";
#endif
// Enable the experimental Accessibility Object Model APIs in development.
const char kEnableAccessibilityObjectModel[] =
"enable-accessibility-object-model";
// Enable the aggressive flushing of DOM Storage to minimize data loss.
const char kEnableAggressiveDOMStorageFlushing[] =
"enable-aggressive-domstorage-flushing";
// Enable indication that browser is controlled by automation.
const char kEnableAutomation[] = "enable-automation";
#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
// Allows sending text-to-speech requests to speech-dispatcher, a common
// Linux speech service. Because it's buggy, the user must explicitly
// enable it so that visiting a random webpage can't cause instability.
const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher";
#endif
#if defined(OS_CHROMEOS)
// A time_t. Passed by session_manager into the Chrome user session, indicating
// that if Chrome crashes before the indicated time, session_manager will
// consider this to be a crash-loop situation and log the user out. Chrome
// mostly just passes this to crash_reporter if it crashes.
const char kCrashLoopBefore[] = "crash-loop-before";
#endif
#if defined(OS_WIN)
// /prefetch:# arguments to use when launching various process types. It has
// been observed that when file reads are consistent for 3 process launches with
// the same /prefetch:# argument, the Windows prefetcher starts issuing reads in
// batch at process launch. Because reads depend on the process type, the
// prefetcher wouldn't be able to observe consistent reads if no /prefetch:#
// arguments were used. Note that the browser process has no /prefetch:#
// argument; as such all other processes must have one in order to avoid
// polluting its profile. Note: # must always be in [1, 8]; otherwise it is
// ignored by the Windows prefetcher.
const char kPrefetchArgumentRenderer[] = "/prefetch:1";
const char kPrefetchArgumentGpu[] = "/prefetch:2";
const char kPrefetchArgumentPpapi[] = "/prefetch:3";
const char kPrefetchArgumentPpapiBroker[] = "/prefetch:4";
// /prefetch:5, /prefetch:6 and /prefetch:7 are reserved for content embedders
// and are not to be used by content itself.
// /prefetch:# argument shared by all process types that don't have their own.
// It is likely that the prefetcher won't work for these process types as it
// won't be able to observe consistent file reads across launches. However,
// having a valid prefetch argument for these process types is required to
// prevent them from interfering with the prefetch profile of the browser
// process.
const char kPrefetchArgumentOther[] = "/prefetch:8";
// Device scale factor passed to certain processes like renderers, etc.
const char kDeviceScaleFactor[] = "device-scale-factor";
// Disable the Legacy Window which corresponds to the size of the WebContents.
const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window";
// Enables H264 HW decode acceleration for WebRtc on Win 7.
const char kEnableWin7WebRtcHWH264Decoding[] =
"enable-win7-webrtc-hw-h264-decoding";
// DirectWrite FontCache is shared by browser to renderers using shared memory.
// This switch allows us to pass the shared memory handle to the renderer.
const char kFontCacheSharedHandle[] = "font-cache-shared-handle";
// The boolean value (0/1) of FontRenderParams::antialiasing to be passed to
// Ppapi processes.
const char kPpapiAntialiasedTextEnabled[] = "ppapi-antialiased-text-enabled";
// The enum value of FontRenderParams::subpixel_rendering to be passed to Ppapi
// processes.
const char kPpapiSubpixelRenderingSetting[] =
"ppapi-subpixel-rendering-setting";
// Causes the second GPU process used for gpu info collection to display a
// dialog on launch.
const char kGpu2StartupDialog[] = "gpu2-startup-dialog";
#endif
#if defined(ENABLE_IPC_FUZZER)
// Dumps IPC messages sent from renderer processes to the browser process to
// the given directory. Used primarily to gather samples for IPC fuzzing.
const char kIpcDumpDirectory[] = "ipc-dump-directory";
// Specifies the testcase used by the IPC fuzzer.
const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
#endif
// Don't dump stuff here, follow the same order as the header.
} // namespace switches
序号 參數 說明
1 --allow-outdated-plugins 不停用過期的插件。
2 --allow-running-insecure-content 預設情況下,https 頁面不允許從 http 連結引用 javascript/css/plug-ins。添加這一參數會放行這些内容。
3 --allow-scripting-gallery 允許拓展腳本在官方應用中心生效。預設情況下,出于安全因素考慮這些腳本都會被阻止。
4 --disable-accelerated-video 停用 GPU 加速視訊。
5 --disable-dart 停用 Dart。
6 --disable-desktop-notifications 禁用桌面通知,在 Windows 中桌面通知預設是啟用的。
7 --disable-extensions 禁用拓展。
8 --disable-file-system 停用 FileSystem API。
9 --disable-preconnect 停用 TCP/IP 預連接配接。
10 --disable-remote-fonts 關閉遠端字型支援。SVG 中字型不受此參數影響。
11 --disable-speech-input 停用語音輸入。
12 --disable-web-security 不遵守同源政策。
13 --disk-cache-dir 将緩存設定在給定的路徑。
14 --disk-cache-size 設定緩存大小上限,以位元組為機關。
15 --dns-prefetch-disable 停用DNS預讀。
16 --enable-print-preview 啟用列印預覽。
17 --extensions-update-frequency 設定拓展自動更新頻率,以秒為機關。
18 --incognito 讓浏覽器直接以隐身模式啟動。
19 --keep-alive-for-test 最後一個标簽關閉後仍保持浏覽器程序。(某種意義上可以提高熱啟動速度,不過你最好得有充足的記憶體)
20 --kiosk 啟用kiosk模式。(一種類似于全屏的浏覽模式)
21 --lang 使用指定的語言。
22 --no-displaying-insecure-content 預設情況下,https 頁面允許從 http 連結引用圖檔/字型/架構。添加這一參數會阻止這些内容。
23 --no-first-run 跳過 Chromium 首次運作檢查。
24 --no-referrers 不發送 Http-Referer 頭。
25 --no-sandbox 徹底停用沙箱。
26 --no-startup-window 啟動時不建立視窗。
27 --proxy-pac-url 使用給定 URL 的 pac 代理腳本。(也可以使用本地檔案,如 --proxy-pac-url="file:\\\c:\proxy.pac")
28 --proxy-server 使用給定的代理伺服器,這個參數隻對 http 和 https 有效。(例如 --proxy-server=127.0.0.1:8087 )
29 --single-process 以單程序模式運作 Chromium。(啟動時浏覽器會給出不安全警告)
30 --start-maximized 啟動時最大化。
31 --user-agent 使用給定的 User-Agent 字元串
2,使用說明
Run Chromium with flags
目錄
There are command line flags (or "switches") that Chromium (and Chrome) accept in order to enable particular features or modify otherwise default functionality. Current switches may be found at http://peter.sh/examples/?/chromium-switches.html It is important to note that some switches are intended for temporary cases and may break in the future. Note that if you look at to see if the command line option is active, the state might not be accurately reflected. Check for the complete command line used in the current instance. Windows
macOS
Linux
V8 FlagsV8 can take a number of flags as well, via Chrome's flag. For example, this traces V8 optimizations: To get a listing of all possible V8 flags: Browse the V8 wiki for more flags for V8. AndroidVisit ' ' to review the flags that are effective in the app. If you are running on a rooted device or using a debug build of Chromium, then you can set flags like so: You can also install, set flags, and launch with a single command: For production build on a non-rooted device, you need to enable "Enable command line on non-rooted devices" in chrome://flags, then set command line in /data/local/tmp/chrome-command-line. When doing that, mind that the first command line item should be a "_" (underscore) followed by the ones you actually need. Finally, manually restart Chrome ("Relaunch" from chrome://flags page might no be enough to trigger reading this file). See https://crbug.com/784947. ContentShell on AndroidThere's an alternative method for setting flags with ContentShell that doesn't require building yourself:
This will launch contentshell with the supplied flags. You can apply whatever commandLineArgs you want in that syntax. Android WebViewThis is documented in the chromium tree.Chrome OS
|
來源
基于 https://peter.sh/experiments/chromium-command-line-switches 的中文翻譯。
回到頂部
簡介
Google Chrome浏覽器可以使用很多指令行。 一些更改功能的行為,其他用于調試或試驗。 該頁面列出了可用的開關,包括其條件和說明。 上一次自動更新發生在2020-08-12。
3,Chromium指令行開關清單 大全
指令 | 說明 |
---|---|
--/prefetch:1 | / prefetch:#啟動各種程序類型時使用的參數。 已經觀察到,當使用相同的/ prefetch:#參數對3個程序啟動的檔案讀取保持一緻時,Windows prefetcher在程序啟動時開始批量釋出讀取。 因為讀取取決于程序類型,是以如果不使用/ prefetch:#參數,則預取器将無法觀察一緻的讀取。 請注意,浏覽器程序沒有/ prefetch:#參數; 是以,所有其他程序都必須有一個程序,以避免污染其配置檔案。 注意:#必須始終位于[1,8]中; 否則,Windows預取器将忽略它。 |
--/prefetch:2 | 沒有說明 |
--/prefetch:3 | |
--/prefetch:4 | |
--/prefetch:5 | / prefetch:#參數用于在背景模式下啟動的浏覽器程序和監視程式程序。 使用content_switches.cc中kPrefetchArgument *上記錄的配置檔案5、6和7。 |
--/prefetch:6 | |
--/prefetch:8 | Windows預取器使用預取參數來消除同一可執行映像的不同執行模式(即程序類型)的歧義,以便不同類型的程序不會破壞彼此的預取行為。 有效值是[1,8]範圍内的整數。 我們保留8表示“無論如何”,這最終将導緻/ prefetch:8程序具有不一緻的行為,進而在實踐中禁用預取。 TODO(rockot):使嵌入程式有可能基于每個服務重寫此參數。 |
--10000 | |
--100000 | |
--1000000 | |
--3d-display-mode | |
--50000 | |
--500000 | |
--5000000 | |
--? | |
--accept-resource-provider | 訓示必須設定資源提供者以向演員表接收者提供資源的标志。 在提供資源之前,應用程式無法啟動。 該标志表示--alsa-check-close-timeout = 0。 |
--adaboost | |
--add-gpu-appcontainer-caps | 在GPU程序上向AppContainer沙箱添加其他功能。 |
--add-xr-appcontainer-caps | 向用于XR合成的AppContainer沙箱添加其他功能。 |
--additional-trust-token-key-commitments | 手動将網絡服務中的其他“信任令牌”密鑰承諾設定為給定值,該值應該是滿足TrustTokenKeyCommitmentParser :: ParseMultipleIssuers要求的JSON字典。 除了最近對TrustTokenKeyCommitments :: Set的調用提供的密鑰以外,這些密鑰還可用。 對于同時通過指令行和TrustTokenKeyCommitments :: Set提供的密鑰的發行者,通過指令行提供的密鑰優先。 這是因為手動測試的某人可能希望通過指令行将其他鍵傳遞給啟用了元件更新程式的真實Chrome版本,并且如果在元件更新程式運作後的啟動後一段時間手動覆寫了手動傳遞的鍵,這将令人驚訝。 |
--agc-startup-min-volume | 覆寫與getUserMedia中的音軌一起使用的WebRTC中自動增益控制算法的預設最小起始音量。 有效範圍是12-255。 超出該範圍的值将被限制為WebRTC内部的最低或最高有效值。 TODO(tommi):在固定crbug.com/555577時删除此開關。 |
--aggressive | |
--aggressive-cache-discard | |
--aggressive-tab-discard | |
--all | |
--all-renderers | |
--allarticles | |
--allow-cross-origin-auth-prompt | 允許頁面上包含的第三方内容提示輸入HTTP基本身份驗證使用者名/密碼對。 |
--allow-external-pages | 允許在Web測試期間通路外部頁面。 |
--allow-failed-policy-fetch-for-test | 如果傳遞了此标志,則失敗的政策訪存将不會導緻配置檔案初始化失敗。 這對測試很有用,因為這意味着測試不必模拟政策基礎結構。 |
--allow-file-access-from-files | 預設情況下,file:// URI無法讀取其他file:// URI。 對于需要舊行為進行測試的開發人員來說,這是一個替代。 |
--allow-http-background-page | 允許托管應用的background_page使用非https的URL。 |
--allow-http-screen-capture | 允許非安全來源使用螢幕捕獲API和desktopCapture擴充API。 |
--allow-insecure-localhost | 使本地主機上的TLS / SSL錯誤可以忽略(不插頁,不阻止請求)。 |
--allow-legacy-extension-manifests | 允許浏覽器加載缺少現代清單的擴充程式,否則将禁止這種擴充。 |
--allow-loopback-in-peer-connection | 允許将環回接口添加到網絡清單中以進行對等連接配接。 |
--allow-nacl-crxfs-api | 指定擴充名ID或主機的逗号分隔清單,以授予對CRX檔案系統API的通路權限。 |
--allow-nacl-file-handle-api | 指定擴充名ID或主機的逗号分隔清單,以授予對檔案句柄API的通路權限。 |
--allow-nacl-socket-api | 指定以逗号分隔的擴充ID或主機清單,以授予對TCP / UDP套接字API的通路權限。 |
--allow-no-sandbox-job | 使沙盒流程在未配置設定作業對象的情況下運作。 要使Chrome在RemoteApps或Citrix中運作,此标志是必需的。 該标志可以降低沙盒程序的安全性,并允許它們執行某些API調用,例如關閉Windows或通路剪貼闆。 同樣,我們失去了殺死某些程序的機會,直到擁有它們的外部工作完成為止。 |
--allow-outdated-plugins | 不要阻止過時的插件。 |
--allow-popups-during-page-unload | 允許頁面在解除安裝過程中顯示彈出視窗。 TODO(https://crbug.com/937569):在Chrome 88中将其删除。 |
--allow-pre-commit-input | 允許在送出幀之前處理輸入。 待辦事項(schenney):crbug.com/987626。 無頭使用。 尋找一種不涉及指令行開關的方法。 |
--allow-profiles-outside-user-dir | 允許在使用者資料目錄之外建立配置檔案。 TODO(https://crbug.com/1060366):Chrome中的各個位置都假定所有配置檔案都在使用者資料目錄内。 一些測試需要違反該假設。 在不再需要此替代方法後,應删除該開關。 |
--allow-ra-in-dev-mode | 允許在開發人員模式下進行遠端證明(RA)以進行測試。 通常,RA會在開發人員模式下被禁用,因為它總是會失敗。 但是,在測試中有些情況下,即使在開發人員模式下,我們也确實希望通過許可流程。 可以通過此标志啟用。 |
--allow-running-insecure-content | |
--allow-sandbox-debugging | 允許調試沙盒程序(請參見zygote_main_linux.cc)。 |
--allow-silent-push | 允許不顯示通知的Web推送通知。 |
--allow-sync-xhr-in-page-dimissal | 允許頁面在解除安裝過程中發送syncnus XHR。 TODO(https://crbug.com/1003101):在Chrome 88中将其删除。 |
--allow-third-party-modules | 通過在Win10上禁用BINARY_SIGNATURE緩解政策,允許第三方子產品注入。 在ELF中也有其他作用。 |
--allow-unsecure-dlls | 設定此選項後,不允許運作EnableSecureDllLoading。 這僅在測試中使用。 |
--alsa-amp-device-name | 應當打開放大器混音器的裝置名稱。 如果未指定此标志,它将預設為與kAlsaVolumeDeviceName相同的裝置。 |
--alsa-amp-element-name | 基于ALSA的媒體庫在系統上切換省電模式時應使用的簡單混音器控制元素的名稱。 |
--alsa-check-close-timeout | 沒有更多的混音器輸入時,關閉PCM搖桿之前等待的時間(以毫秒為機關)。 如果存在--accept-resource-provider,則假定為0。 |
--alsa-enable-upsampling | 該标志允許對采樣率在32kHz以下至48kHz以下的音頻進行重新采樣。 對于内部音頻産品,應将其設定為true。 |
--alsa-fixed-output-sample-rate | 可選标志,用于為alsa裝置設定固定的采樣率。 不推薦使用:改用--audio-output-sample-rate。 |
--alsa-input-device | 打開音頻輸入流時要使用的Alsa裝置。 |
--alsa-mute-device-name | 靜音混音器應打開的裝置名稱。 |
--alsa-mute-element-name | 基于ALSA的媒體庫用于使系統靜音的簡單混合器控制元素的名稱。 |
--alsa-output-avail-min | 用于排程傳輸的最小可用幀數。 |
--alsa-output-buffer-size | ALSA輸出緩沖區的大小(以幀為機關)。 這直接設定輸出裝置的延遲。 可以通過将采樣率乘以輸出緩沖區大小來計算延遲。 |
--alsa-output-device | 打開音頻流時要使用的Alsa裝置。 |
--alsa-output-period-size | ALSA輸出周期的大小(以幀為機關)。 ALSA輸出裝置的周期确定兩次硬體中斷之間經過了多少幀。 |
--alsa-output-start-threshold | 開始輸出之前,輸出緩沖區中需要多少幀。 |
--alsa-volume-device-name | 應當打開音量控制混音器的裝置名稱。 如果未提供kAlsaOutputDevice,則将使用與kAlsaOutputDevice相同的裝置,并退回到“預設”狀态。 |
--alsa-volume-element-name | 基于ALSA的媒體庫用于控制音量的簡單混音器控制元素的名稱。 |
--also-emit-success-logs | 同時發出完整的事件跟蹤日志,以進行成功的測試。 |
--alt1 | 資料縮減代理用于接收替代後端實作的Chrome-Proxy“ exp”指令值。 |
--alt10 | |
--alt2 | |
--alt3 | |
--alt4 | |
--alt5 | |
--alt6 | |
--alt7 | |
--alt8 | |
--alt9 | |
--always-use-complex-text | 始終将複雜的文本路徑用于Web測試。 |
--alwaystrue | |
--android-fonts-path | 在Linux上使用android SkFontManager。 指定的目錄應包含名稱為“ fonts.xml”的配置xml檔案。 在飛艇中用于模拟linux上的android字型。 |
--angle | |
--animation-duration-scale | |
--app | 指定應在“應用程式”模式下啟動關聯的值。 |
--app-auto-launched | 指定是否以零延遲自動啟動以資訊亭模式啟動的應用程式。 用于在會話還原流程中正确還原自動啟動狀态。 |
--app-cache-force-enabled | 允許強制應用程式緩存,即使是由原始審判選通時也是如此。 TODO(enne):删除應用程式緩存後,将其删除。 |
--app-id | 指定應根據其配置啟動具有指定ID的擴充應用程式。 |
--app-launch-url-for-shortcuts-menu-item | 用指定的URL覆寫應用程式的啟動URL。 它與kAppId一起使用,以使用與應用程式快捷菜單中某個項目對應的url啟動給定應用程式。 |
--app-mode-auth-code | --force-app-mode的GAIA驗證碼的值。 |
--app-mode-oauth-token | --force-app-mode的OAuth2重新整理令牌的值。 |
--app-mode-oem-manifest | 應用程式的OEM清單檔案的路徑。 |
--app-shell-allow-roaming | 允許在蜂窩網絡中漫遊。 |
--app-shell-host-window-size | 要建立的宿主視窗的大小(即“ 800x600”)。 |
--app-shell-preferred-network | 首選WiFi網絡的SSID。 |
--apple | |
--apps-gallery-download-url | |
--apps-gallery-update-url | gallery / webstore擴充使用的更新URL。 |
--apps-gallery-url | 應用啟動器中用于圖庫連結的URL。 |
--apps-keep-chrome-alive-in-tests | 在打開Chrome應用時阻止Chrome退出。 |
--arc-availability | 訓示此裝置上的ARC支援狀态。 這可以采用以下三個值之一。 -無:此裝置上未安裝ARC。 (預設)-已安裝:ARC已安裝在此裝置上,但不受官方支援。 使用者僅在打開Finch實驗時才能啟用ARC。 -官方支援:此裝置上已安裝并支援ARC。 是以,使用者可以通過設定等啟用ARC。 |
--arc-available | 棄用:請使用--arc-availability = installed。 表示此裝置上ARC執行個體的可用性。 |
--arc-build-properties | 内容與cros config的/ arc / build-properties相同的JSON字典。 |
--arc-data-cleanup-on-start | 強制每次啟動時清除ARC資料的标志。 |
--arc-disable-app-sync | 用于禁用ARC應用程式同步流的标志,該同步流将靜默安裝某些應用程式。 用于自動測試以解決惡意條件。 |
--arc-disable-gms-core-cache | 在自動測試中使用以禁用預設情況下啟用的GMS核心緩存。 |
--arc-disable-locale-sync | 禁用ARC區域設定與Android容器同步的标志。 用于自動測試,以防止某些應用(包括Play商店)可能會重新啟動時的情況。 重新啟動Play商店可能會導緻随機測試失敗。 啟用此标志還将強制ARC容器使用“ en-US”作為語言環境,并使用“ en-US,en”作為首選語言。 |
--arc-disable-play-auto-install | 該标志禁用ARC Play自動安裝流程,該流程将靜默安裝一組預定義的應用程式。 |
--arc-disable-system-default-apps | 用于開發作為系統預設應用程式包含在ARC中的Android應用程式,以便能夠通過adb安裝它們。 |
--arc-enable-native-bridge-64bit-support-experiment | 标記為啟用一項實驗,以允許使用者在具有可用支援但預設情況下尚未啟用的系統上,在本機橋中打開64位支援。 |
--arc-force-cache-app-icons | 強制ARC緩存應用程式圖示的标志。 |
--arc-force-show-optin-ui | 強制顯示OptIn ui的标志。 用于測試。 |
--arc-packages-cache-mode | 在自動測試中用于指定如何處理程式包緩存。 可以複制-将生成的packages.xml複制到臨時目錄。 skip-copy-跳過初始軟體包緩存設定,并将生成的packages.xml複制到臨時目錄。 |
--arc-play-store-auto-update | 在自動測試中用于強制Play商店自動更新狀态。 可以開啟-強制開啟自動更新。 關-強制關閉自動更新。 |
--arc-scale | 設定ARC應用程式的比例。 這在DPI中。 例如 280 DPI是〜1.75器件比例因子。 有關受支援的DPI值的清單,請參見https://source.android.com/compatibility/android-cdd#3_7_runtime_compatibility。 |
--arc-start-mode | 定義如何啟動ARC。 這可以采用以下值之一:-始終啟動會自動從Play商店使用者界面支援開始。 -始終啟動無播放商店自動啟動,無需Play商店使用者界面。 如果未設定,則ARC以預設模式啟動。 |
--arc-tos-host-for-tests | 設定ARC服務條款主機名URL進行測試。 |
--arc-transition-migration-required | 如果存在此标志,則裝置具有ARC M可用,并在更新時擷取ARCN。 TODO(pmarko):當我們認為不再需要它時,請将其删除:crbug.com/761348。 |
--as-browser | 标記以在浏覽器過程中啟動測試。 |
--ash-color-mode | 訓示目前的灰顔色模式。 |
--ash-constrain-pointer-to-root | 強制将指針(光标)位置保留在根視窗内。 |
--ash-contextual-nudges-interval | 覆寫顯示使用者上下文微動之間必須經過的最短時間。 時間機關是秒。 |
--ash-contextual-nudges-reset-shown-count | 重置上下文微調,顯示登入時計數。 |
--ash-debug-shortcuts | 啟用對調試有用的鍵盤快捷鍵。 |
--ash-dev-shortcuts | 啟用僅開發人員使用的鍵盤快捷鍵。 |
--ash-disable-touch-exploration-mode | 禁用觸摸浏覽模式。 設定此标志後,啟用語音回報後,觸摸探索模式将不再自動打開。 |
--ash-enable-cursor-motion-blur | 啟用光标運動模糊。 |
--ash-enable-magnifier-key-scroller | 啟用按鍵綁定以滾動放大螢幕。 |
--ash-enable-palette-on-all-displays | 在每個顯示器上啟用調色闆,而不僅僅是内部面闆。 |
--ash-enable-software-mirroring | 啟用基于軟體的鏡像。 |
--ash-enable-unified-desktop | 啟用統一桌面模式。 |
--ash-enable-v1-app-back-button | 為v1應用啟用架構後退按鈕。 TODO(大島):啟動功能後将其删除。 crbug.com/749713。 |
--ash-hide-notifications-for-factory | 隐藏與Chrome OS裝置出廠測試無關的通知,例如電池電量更新。 |
--ash-host-window-bounds | 設定視窗大小,可選位置和可選比例因子。 “ 1024x768”建立大小為1024x768的視窗。 “ 100 200-1024x768”将視窗定位在100,200。 對于高DPI顯示,“ 1024x768 * 2”将比例因子設定為2。 “ 800,0 800-800x800”用于兩個分辨率為800x800的顯示器。 “ 800,0 800-800x800,0 1600-800x800”,用于三個分辨率為800x800的顯示器。 |
--ash-power-button-position | 電源按鈕位置包括電源按鈕的實體顯示面以及電源按鈕中心位置相對于landscape_primary螢幕方向的顯示器寬度/高度的百分比。 該值是一個JSON對象,其中包含“ position”屬性,其值為“ left”,“ right”,“ top”或“ bottom”。 對于“ left”和“ right”,“ y”屬性将按鈕的中心位置指定為相對于顯示器頂部的顯示器高度的一部分(在[0.0,1.0]中)。 對于“頂部”和“底部”,“ x”屬性給出的位置是相對于顯示器左側的顯示器寬度的一部分。 |
--ash-side-volume-button-position | 橫向主螢幕方向時側面音量按鈕的實體位置資訊。 該值是一個JSON對象,它包含一個具有“ keyboard”,“ screen”值的“ region”屬性和一個具有“ left”,“ right”,“ top”,“ bottom”值的“ side”屬性。 |
--ash-touch-hud | 啟用平視顯示器以跟蹤觸摸點。 |
--attestation-server | 在CryptohomeClient中使用,以确定要用于證明的Google PrivacyCA。 |
--audio | |
--audio-buffer-size | 允許使用者指定自定義緩沖區大小以進行調試。 |
--audio-output-channels | 音頻輸出通道數。 這将用于将具有特定通道數的音頻緩沖區發送到ALSA并生成回送音頻。 預設值為2。 |
--audio-output-sample-rate | 指定音頻輸出流的固定采樣率。 如果未指定此标志,則StreamMixer将根據媒體流的采樣率選擇采樣率。 |
--audio-service-quit-timeout-ms | 設定逾時(以毫秒為機關)以在沒有用戶端連接配接時退出音頻服務。 如果該值為負,則服務永遠不會退出。 |
--aue-reached-for-update-required-test | 如果通過此開關,則裝置政策DeviceMinimumVersion會假定該裝置已達到“自動更新到期”。 這對于測試DUT上的政策行為很有用。 |
--aura-legacy-power-button | (大多數)Chrome作業系統硬體報告ACPI電源按鈕已正确釋放。 按下後會立即釋出标準硬體報告。 如果已設定,我們将響應螢幕的按下立即鎖定螢幕或關閉系統,而不是顯示互動式動畫。 |
--auth-server-whitelist | 協商身份驗證伺服器的允許清單。 |
--auth-spnego-account-type | 用于SPNEGO身份驗證的Android身份驗證帳戶類型 |
--auto | |
--auto-open-devtools-for-tabs | 此标志會使Chrome自動打開每個頁籤的DevTools視窗。 它旨在供開發人員和自動化機構使用,不需要使用者互動即可打開DevTools。 |
--auto-select-desktop-capture-source | 當擴充程式請求啟動桌面捕獲的權限時,此标志可使Chrome自動選擇提供的選項。 僅應用于測試。 例如,--auto-select-desktop-capture-source =“整個螢幕”将自動選擇以英語語言環境共享整個螢幕。 開關值隻需是捕獲源名稱的子字元串,即“顯示”将與“内置顯示”和“外部顯示”比對,以先到者為準。 |
--autofill-api-key | 設定在調用自動填充API時将使用的API密鑰,而不是預設情況下使用Chrome的烘焙密鑰。 您可以使用它來測試尚未連結到Chrome烘焙密鑰的API新版本。 |
--autofill-assistant-auth | 設定為false時禁用身份驗證。 這僅在開發期間有用,因為産品執行個體需要身份驗證。 |
--autofill-assistant-key | 将請求發送到後端時,設定要使用的API密鑰代替Chrome的預設密鑰。 |
--autofill-assistant-url | 覆寫預設的後端URL。 |
--autofill-ios-delay-between-fields | 填充兩個字段之間的延遲。 |
--autofill-metadata-upload-encoding | 發送中繼資料上傳時使用的随機編碼類型。 參數的值必須是AutofillRandomizedValue_EncodingType枚舉的有效整數值之一。 |
--autofill-server-url | 用“ scheme:// host [:port] / prefix /”覆寫預設的自動填充伺服器URL。 |
--autofill-upload-throttling-period-in-days | 重置已發送上載的自動填充事件的系統資料庫的天數。 |
--autoplay-policy | 指令行标記名稱以設定自動播放政策。 |
--autopush | “自動推送”環境的指令行别名和URL。 |
--back-gesture-horizontal-threshold | 從左輕掃手勢開始算起為“後退”手勢的像素數。 |
--blink-settings | |
--block-new-web-contents | 如果為true,則所有彈出視窗和對window.open的調用都将失敗。 |
--bootstrap | kExtensionContentVerification标志的值。 有關更多說明,請參見ContentVerifierDelegate :: Mode。 |
--bottom-gesture-start-height | 從螢幕底部向上的像素數,被視為底部劃動手勢的有效原點。 如果設定,将覆寫以上system-gesture-start-height标志的值和cast_system_gesture_handler.cc中的預設值。 |
--browser | |
--browser-startup-dialog | 使浏覽器程序在啟動時顯示一個對話框。 |
--browser-subprocess-path | 為渲染器和插件子程序運作的exe的路徑。 |
--browser-test | 告訴代碼是否正在運作浏覽器測試(這将更改内容外殼程式使用的啟動URL,還禁用使測試不穩定的功能(例如監視記憶體壓力))。 |
--bwsi | 訓示浏覽器處于“不登入浏覽”(來賓會話)模式。 應該完全禁用擴充名,同步和書簽。 |
--bypass-app-banner-engagement-checks | 此标志導緻繞過用于顯示應用橫幅的使用者參與度檢查。 打算由希望測試其網站是否符合顯示應用程式智語所需條件的開發人員使用。 |
--cast-app-background-color | Chromium尚未渲染任何東西時使用的背景顔色。 |
--cast-initial-screen-height | |
--cast-initial-screen-width | 用于将初始螢幕分辨率傳遞給GPU程序。 這使我們能夠正确設定螢幕大小(是以,在建立第一個視窗時無需調整大小)。 |
--cc-layer-tree-test-long-timeout | 增加記憶體檢查器的逾時。 |
--cc-layer-tree-test-no-timeout | 防止層樹單元測試逾時。 |
--cc-scroll-animation-duration-in-seconds | 控制滾動動畫曲線的持續時間。 |
--cdm | |
--cellular-first | 如果設定了此标志,則表明該裝置是“蜂窩優先”裝置。 蜂窩優先裝置使用蜂窩電話資料網絡作為其連接配接到Internet的主要手段。 設定此标志有兩個後果:1.預設情況下,将啟用蜂窩資料漫遊。 2.将訓示UpdateEngine允許通過蜂窩資料連接配接自動更新。 |
--check-accessibility-permission | |
--check-damage-early | 盡早檢查損壞并在沒有損壞的情況下中止架構,以使Android WebView之類的用戶端不會不必要地失效。 |
--check-for-update-interval | 檢查更新的頻率(以秒為機關)。 僅應用于測試目的。 |
--check-permission | |
--check-screen-recording-permission | |
--child-wallpaper-large | 用于兒童帳戶的預設大牆紙(作為可信任的,非使用者可寫JPEG檔案的路徑)。 |
--child-wallpaper-small | 用于孩子帳戶的預設小牆紙(作為可信任的,使用者不可寫的JPEG檔案的路徑)。 |
--chrome-mojo-pipe-token | Mojo管道令牌,用于Software Reporter和Chrome之間的IPC通信。 掉入M80。 |
--ChromeOSMemoryPressureHandling | 記憶體壓力門檻值選擇用于确定是否以及何時需要觸發記憶體壓力事件。 |
--cipher-suite-blacklist | 要禁用的SSL密碼套件的逗号分隔清單。 |
--clamshell | kAshUiMode标志的值。 |
--class | 與X應用程式中的--class參數相同。 用給定的值覆寫WM_CLASS視窗屬性。 |
--cleaning-timeout | 以分鐘為機關設定清潔階段的逾時時間。 0完全禁用逾時。 警告:此開關供内部測試系統使用。 進行更改時要小心。 |
--cleanup-id | 辨別符用于對在清理程式的同一運作期間生成的所有報告進行分組,包括重新啟動前後的運作。 該ID由運作的第一個清理程式生成,并傳播到生成的或計劃的清理程式。 在第一個過程中将生成一個新的ID,以進行後續清理,是以,随着時間的推移,無法跟蹤同一使用者的清理。 |
--clear-key-cdm-path-for-testing | 指定要測試的清除密鑰CDM的路徑,這是啟用庫CDM時支援外部清除密鑰密鑰系統所必需的。 請注意,外部“清除鍵”鍵系統支援也由功能kExternalClearKeyForTesting控制。 |
--clear-token-service | 使用前清除令牌服務。 這允許在測試期間模拟憑據的過期。 |
--cloud-print-file | 告訴chrome顯示雲列印對話框并上傳指定檔案以進行列印。 |
--cloud-print-file-type | 指定從cloud-print-file引用的檔案上傳資料時要使用的mime類型。 如果未指定,則預設為“ application / pdf”。 |
--cloud-print-job-title | 與kCloudPrintFile一起使用,以指定結果列印作業的标題。 |
--cloud-print-print-ticket | 與kCloudPrintFile一起使用,以為結果的列印作業指定JSON列印票證。 如果未指定,則預設為null。 |
--cloud-print-setup-proxy | 為提供的列印機設定雲列印代理。 這不會啟動服務或注冊用于自動啟動的代理。 |
--cloud-print-url | 要使用的雲列印服務的URL,它将覆寫存儲在首選項中的所有值以及預設值。 僅在啟用雲列印服務的情況下使用。 |
--cloud-print-xmpp-endpoint | 雲列印服務将使用的XMPP端點。 |
--compensate-for-unstable-pinch-zoom | 啟用對不穩定捏縮變焦的補償。 沿直線移動手指時,某些觸摸屏會顯示大量擺動。 這使兩根手指滾動觸發了擺動的捏縮放。 有關詳細資訊,請參見crbug.com/394380。 |
--compile-shader-always-succeeds | 編譯着色器時始終傳回成功。 連結仍将失敗。 |
--component-updater | 逗号分隔的選項可對元件更新程式進行故障排除。 僅對浏覽器程序有效。 |
--connectivity-check-url | 用于網絡連接配接檢查的網址。 預設值為“ https://clients3.google.com/generate_204”。 |
--conservative | |
--content-directories | |
--content-shell-hide-toolbar | 在content_shell的宿主視窗中隐藏工具欄。 |
--content-shell-host-window-size | content_shell的宿主視窗的大小(即“ 800x600”)。 |
--controller | |
--conversions-debug-mode | 使轉換測量API在沒有延遲或噪音的情況下運作。 |
--copy-to-download-dir | 将使用者操作資料複制到下載下傳目錄。 |
--cors-exempt-headers | |
--crash | 崩潰标志,可立即強制崩潰。 主要用于確定崩潰由崩潰墊正确記錄。 |
--crash-dumps-dir | 目錄中斷闆應在其中存儲小型轉儲。 |
--crash-handler | 作為Crashpad處理程式運作。 |
--crash-loop-before | 一個time_t。 由session_manager傳遞到Chrome使用者會話中,訓示如果Chrome在指定時間之前崩潰,則session_manager會将其視為崩潰循環情況,并登出使用者。 Chrome大多會在崩潰時将其傳遞給crash_reporter。 |
--crash-on-failure | 當指定為“ enable-leak-detection”指令行選項時,導緻檢漏器在發現洩漏時立即導緻崩潰。 |
--crash-on-hang-threads | |
--crash-server-url | 伺服器URL,用于将崩潰資料上傳到。 對于生産裝置,預設值為“ https://clients2.google.com/cr/report”。 對于非産品,預設值為“ https://clients2.google.com/cr/staging_report”。 |
--crash-test | 導緻浏覽器程序在啟動時崩潰。 |
--crashpad-handler | 表示chrome.exe或setup.exe正在作為crashpad_handler啟動的程序類型(開關:: kProcessType)。 僅在Windows上使用。 我們将處理程式捆綁到Windows上的chrome.exe中,因為很可能“新” .exe被應用程式防火牆,AV軟體等阻止或幹擾。在其他平台上,crashpad_handler是獨立的可執行檔案。 |
--crashpad-handler-pid | Crashpad處理程式的程序ID。 |
--create-browser-on-startup-for-tests | 某些平台(例如ChromeOS)預設為空桌面。 浏覽器測試可能需要添加此開關,以便在啟動時至少建立一個浏覽器執行個體。 TODO(nkostylev):研究是否可以删除此開關。 (http://crbug.com/148675) |
--cros-region | 強制CrOS區域值。 |
--cros-regions-mode | 控制區域資料加載(預設為“”)。 |
--crosh-command | 自定義crosh指令。 |
--cryptauth-http-host | 覆寫CryptAuth使用的Google API的預設URL(https://www.googleapis.com)。 |
--cryptauth-v2-devicesync-http-host | 覆寫CryptAuth v2 DeviceSync的預設URL:https://cryptauthdevicesync.googleapis.com。 |
--cryptauth-v2-enrollment-http-host | 覆寫CryptAuth v2注冊的預設URL:https://cryptauthenrollment.googleapis.com。 |
--custom-android-messages-domain | |
--custom-devtools-frontend | |
--custom-launcher-page | 為添加到應用啟動器的其他頁面的内容指定chrome-extension:// URL。 |
--custom_summary | 強制将自定義摘要顯示在更新菜單項下方。 |
--d3d-support | |
--d3d11 | |
--d3d11-null | 用于“ NULL” /存根驅動程式實作的特殊開關。 |
--d3d11on12 | |
--d3d9 | |
--daemon | |
--dark | |
--data-path | 使Content Shell使用其資料目錄的給定路徑。 |
--data-reduction-proxy-client-config | 使用編碼的ClientConfig,而不是從配置伺服器中擷取一個。 無論錯誤或過期如何,始終使用此值。 該值應為base64編碼的二進制協定。 |
--data-reduction-proxy-config-url | 從中檢索資料縮減代理配置的URL。 |
--data-reduction-proxy-experiment | 要運作的資料縮減代理實驗的名稱。 這些實驗是由代理伺服器定義的。 使用--force-fieldtrials進行資料縮減代理領域試驗。 |
--data-reduction-proxy-http-proxies | 以分号分隔的代理伺服器URI清單,以覆寫由Data Saver API傳回的HTTP代理清單。 |
--data-reduction-proxy-pingback-url | |
--data-reduction-proxy-secure-proxy-check-url | 設定一個安全的代理檢查URL,以在承諾使用資料縮減代理之前進行測試。 請注意,此檢查不會通過資料縮減代理。 |
--data-reduction-proxy-server-experiments-disabled | 禁用可能通過現場試用啟用的伺服器實驗。 |
--dbus-stub | 強制實施D-Bus用戶端的存根。 |
--de-jelly-screen-width | 螢幕寬度對于調試很有用。 運輸實施應檢測到這一點。 |
--deadline-to-synchronize-surfaces | 等待激活具有依賴關系的曲面的BeginFrames的預設數量。 |
--debug-devtools | 在調試模式下運作devtools測試(未捆綁和精簡) |
--debug-enable-frame-toggle | 啟用架構上下文菜單項,該菜單項可在玻璃模式之間切換架構(僅限Windows Vista和更高版本)。 |
--debug-packed-apps | 将調試項(例如Inspect Element)添加到打包應用的上下文菜單中。 |
--debug-print | 支援調試列印子系統。 |
--default | |
--default-background-color | 如果頁面未指定背景色,則使用該背景色。 提供為RGBA整數值(以十六進制表示),例如 “ ff0000ff”代表紅色,“ 00000000”代表透明。 |
--default-country-code | 用于搜尋引擎本地化的預設國家/地區代碼。 |
--default-tile-height | |
--default-tile-width | 設定複合層使用的圖塊大小。 |
--default-wallpaper-is-oem | 表示由kAshDefaultWallpaper {Large,Small}指定的牆紙圖像是OEM特定的(即,不能從Google下載下傳)。 |
--default-wallpaper-large | 要使用的預設大牆紙(作為可信任的,使用者不可寫的JPEG檔案的路徑)。 |
--default-wallpaper-small | 要使用的預設小牆紙(作為可信任的,使用者不可寫的JPEG檔案的路徑)。 |
--deny-permission-prompts | 通過拒絕而不是顯示提示來防止出現權限提示。 |
--derelict-detection-timeout | 在OOBE上的機器被廢棄之前的時間(以秒為機關)。 |
--derelict-idle-timeout | 廢棄機器啟動示範模式之前的時間(以秒為機關)。 |
--desktop | |
--desktop-window-1080p | 如果存在,桌面cast_shell将建立1080p視窗(提供的顯示分辨率足夠高)。 否則,cast_shell預設為720p。 |
--deterministic-mode | 元标記。 這設定了許多标志,這些标志使浏覽器進入确定性模式,在此模式下應通過DevToolsProtocol(實驗性)發出開始幀。 |
--device-management-url | 指定與裝置管理後端進行通信以擷取配置政策并執行其他裝置任務的URL。 |
--device-scale-factor | 裝置比例因子傳遞給某些程序,例如渲染器等。 |
--devtools-flags | 将指令行參數傳遞給DevTools前端。 |
--diagnostics | 觸發過多的診斷模式。 |
--diagnostics-format | 設定由診斷标志啟用的診斷模式的輸出格式。 |
--diagnostics-recovery | 告訴診斷模式執行請求的恢複步驟。 |
--disable-2d-canvas-clip-aa | 在2D畫布剪輯上禁用抗鋸齒 |
--disable-2d-canvas-image-chromium | 禁用Canvas 2D渲染到掃描緩沖區中以支援覆寫。 |
--disable-3d-apis | 禁用用戶端可見的3D API,尤其是WebGL和Pepper 3D。 這由政策控制,并與其他啟用/禁用開關分開,以避免意外退還用于控制對這些API的通路的政策支援。 |
--disable-accelerated-2d-canvas | 停用GPU加速的2d畫布。 |
--disable-accelerated-mjpeg-decode | 禁用捕獲幀的mjpeg解碼的硬體加速(如果有)。 |
--disable-accelerated-video-decode | 如果可用,請禁用視訊解碼的硬體加速。 |
--disable-accelerated-video-encode | 如果可用,請禁用視訊編碼的硬體加速。 |
--disable-and-delete-previous-log | 禁用cros記錄檔記錄。 |
--disable-angle-features | 禁用了指定的逗号分隔的ANGLE功能。 |
--disable-app-list-dismiss-on-blur | 如果設定,則失去關注的應用清單不會消失。 在測試應用清單或自定義啟動器頁面時,這很有用。 仍然可以通過其他方法(如Esc鍵)将其關閉。 |
--disable-arc-cpu-restriction | 防止在ARC容器上設定任何CPU限制。 僅用于測試,因為如果限制ARC容器,某些測試可能會逾時。 |
--disable-arc-data-wipe | 停用退出時禁用Android使用者資料擦除。 |
--disable-arc-opt-in-verification | 禁用ARC選擇加入驗證過程,并且預設情況下啟用ARC。 |
--disable-audio-output | |
--disable-audio-support-for-desktop-share | |
--disable-auto-reload | 禁用錯誤頁面的自動重裝。 |
--disable-auto-wpt-origin-isolation | 禁用Web平台測試域的自動來源隔離。 通常,我們對它們進行源隔離可以更好地覆寫測試範圍,但是選擇啟用源隔離的測試需要禁用此功能。 |
--disable-avfoundation-overlays | 禁止使用AVFoundation繪制視訊内容。 |
--disable-ax-menu-list | (可選)禁用AXMenuList,這可以直接通路select元素的内部彈出菜單UI。 |
--disable-back-forward-cache | 禁用BackForwardCache功能。 |
--disable-background-media-suspend | 不要立即在背景頁籤中挂起媒體。 |
--disable-background-networking | 禁用幾個在背景運作網絡請求的子系統。 用于進行網絡性能測試時避免測量中出現噪聲。 |
--disable-background-timer-throttling | 從背景頁面禁用計時器任務的任務限制。 |
--disable-backgrounding-occluded-windows | 禁用封閉視窗的背景渲染。 完成測試以避免不确定的行為。 |
--disable-backing-store-limit | 禁用對後備存儲數量的限制。 可以防止具有許多視窗/頁籤和大量記憶體的使用者閃爍。 |
--disable-best-effort-tasks | 将TaskPriority :: BEST_EFFORT任務的執行延遲到關機為止。 |
--disable-blink-features | 禁用一個或多個Blink啟用運作時的功能。 使用runtime_enabled_features.json5中的名稱,用逗号分隔。 在kEnableBlinkFeatures之後以及在更改這些功能的其他标志之後應用。 |
--disable-breakpad | 禁用崩潰報告。 |
--disable-bundled-ppapi-flash | 禁用捆綁的PPAPI版本的Flash。 |
--disable-cancel-all-touches | 禁用CancelAllTouches()函數以實作取消單次觸摸的實作。 |
--disable-canvas-aa | 在2d畫布上禁用抗鋸齒。 |
--disable-checker-imaging | 禁用将所有圖像解碼延遲到圖像解碼服務,而忽略PaintImage上指定的DecodingMode首選項。 |
--disable-checking-optimization-guide-user-permissions | |
--disable-client-side-phishing-detection | 禁用用戶端網絡釣魚檢測功能。 請注意,即使啟用了用戶端網絡釣魚檢測,也隻有在使用者選擇了UMA統計資訊并且在首選項中啟用了“安全浏覽”後,它才會處于活動狀态。 |
--disable-component-cloud-policy | 禁用擷取和存儲元件的雲政策。 |
--disable-component-extensions-with-background-pages | 禁用帶有背景頁面的預設元件擴充-在性能測試中很有用,因為這些頁面可能會幹擾性能結果。 |
--disable-component-update | |
--disable-composited-antialiasing | 在合成器中禁用層邊緣抗鋸齒。 |
--disable-cookie-encryption | 存儲為使用者配置檔案一部分的cookie是否已加密。 |
--disable-crash-reporter | 禁用崩潰報告器,使之無頭。 在正式版本中,預設情況下啟用它。 |
--disable-d3d11 | 禁用D3D11。 |
--disable-databases | 禁用HTML5 DB支援。 |
--disable-default-apps | 在首次運作時禁用預設應用程式的安裝。 在自動測試期間使用。 |
--disable-demo-mode | 禁用Chrome作業系統示範。 |
--disable-dev-shm-usage | 在某些VM環境中,/ dev / shm分區太小,導緻Chrome發生故障或崩潰(請參閱http://crbug.com/715363)。 使用此标志解決此問題(臨時目錄将始終用于建立匿名共享記憶體檔案)。 |
--disable-device-disabling | 如果設定了此開關,則裝置所有者無法遠端禁用該裝置。 |
--disable-device-discovery-notifications | 禁用裝置發現通知。 |
--disable-dinosaur-easter-egg | 在離線插頁式廣告上禁用恐龍複活節彩蛋。 |
--disable-direct-composition | 禁用DirectComposition表面。 |
--disable-direct-composition-video-overlays | 即使支援硬體覆寫,也無法使用DirectComposition視訊覆寫。 |
--disable-domain-blocking-for-3d-apis | 重置GPU後,禁用3D API的按域阻止。 此開關僅用于測試。 |
--disable-domain-reliability | 禁用域可靠性監視。 |
--disable-dwm-composition | 禁止将DWM合成用于頂層視窗。 |
--disable-encryption-migration | 為使用者的cryptohome禁用加密遷移以運作最新的Arc。 |
--disable-enterprise-policy | 禁用企業政策支援。 |
--disable-es3-gl-context | 禁用ES3後端的使用(改為使用ES2後端)。 |
--disable-es3-gl-context-for-testing | 出于測試目的,禁用較低級别的ES3後端。 不能保證此方法在任何地方都可以使用,是以僅用于測試。 |
--disable-experimental-accessibility-chromevox-language-switching | 禁用ChromeVox語言切換功能。 |
--disable-experimental-accessibility-chromevox-search-menus | 禁用ChromeVox搜尋菜單功能。 |
--disable-explicit-dma-fences | 禁用顯式DMA防護 |
--disable-extensions | 禁用擴充。 |
--disable-extensions-except | 禁用擴充名(以逗号分隔的清單中指定的擴充名除外)。 |
--disable-extensions-file-access-check | 禁止檢查使用者是否選擇了将腳本注入檔案URL的擴充名(即始終允許它)。 |
--disable-extensions-http-throttling | 禁用net :: URLRequestThrottlerManager功能,以應對來自擴充名的請求。 |
--disable-features | 要禁用的功能名稱的清單,以逗号分隔。 另請參見kEnableFeatures。 |
--disable-fetching-hints-at-navigation-start | |
--disable-field-trial-config | 禁用在fieldtrial_testing_config.json中配置的現場試驗測試。 |
--disable-file-system | 禁用FileSystem API。 |
--disable-fine-grained-time-zone-detection | 禁用細粒度的時區檢測。 |
--disable-flash-3d | 禁用擋闆内部的3D。 |
--disable-flash-stage3d | 在擋闆内部禁用Stage3D。 |
--disable-font-subpixel-positioning | 強制禁用字型亞像素定位。 這會影響字元字形的清晰度,字距調整,提示和布局。 |
--disable-frame-rate-limit | 在cc計劃程式和顯示計劃程式中都禁用開始幀限制。 還意味着--disable-gpu-vsync(請參見//ui/gl/gl_switches.h)。 |
--disable-gaia-services | 停用GAIA服務,例如注冊和OAuth會話還原。 由“假”遙測登入使用。 |
--disable-gesture-requirement-for-presentation | 禁用示範的使用者手勢要求。 |
--disable-gl-drawing-for-tests | 禁用産生像素輸出的GL繪制操作。 這樣,GL輸出将不正确,但是測試将運作得更快。 |
--disable-gl-error-limit | 禁用總帳錯誤日志限制。 |
--disable-gl-extensions | 如果找到,則禁用指定的逗号分隔的GL擴充。 |
--disable-glsl-translator | 禁用GLSL翻譯器。 |
--disable-gpu | 禁用GPU硬體加速。 如果沒有軟體渲染器,則GPU程序将不會啟動。 |
--disable-gpu-compositing | 阻止合成器使用其GPU實作。 |
--disable-gpu-driver-bug-workarounds | 禁用各種GPU驅動程式錯誤的解決方法。 |
--disable-gpu-early-init | 禁用GPU程序的主動早期初始化。 |
--disable-gpu-memory-buffer-compositor-resources | 不要強制所有合成器資源都由GPU記憶體緩沖區支援。 |
--disable-gpu-memory-buffer-video-frames | 禁用GpuMemoryBuffer支援的VideoFrame。 |
--disable-gpu-process-crash-limit | 對于測試,要禁用對GPU程序可以重新啟動的次數的限制。 |
--disable-gpu-process-for-dx12-info-collection | 禁用用于DX12資訊收集的非沙盒GPU程序 |
--disable-gpu-program-cache | 關閉gpu程式緩存 |
--disable-gpu-rasterization | 禁用GPU栅格化,即僅在CPU上栅格化。 覆寫kEnableGpuRasterization标志。 |
--disable-gpu-sandbox | 禁用GPU程序沙箱。 |
--disable-gpu-shader-disk-cache | 在磁盤緩存上禁用GPU着色器。 |
--disable-gpu-vsync | 停止GPU将示範文稿與vblank同步。 |
--disable-gpu-watchdog | 如果線程停止響應消息,請禁用使GPU程序崩潰的線程。 |
--disable-hang-monitor | 在渲染器程序中禁止挂起螢幕對話框。 這可以允許頁面上的緩慢解除安裝處理程式來防止頁籤關閉,但是在這種情況下,可以使用任務管理器終止有問題的過程。 |
--disable-headless-mode | 從無頭模式開始禁用外殼。 然後測試将嘗試使用硬體GPU進行渲染。 僅當設定了kRunWebTests時才遵循。 |
--disable-hid-detection-on-oobe | 禁用HID檢測OOBE螢幕。 |
--disable-highres-timer | 在Windows上禁用高分辨率計時器。 |
--disable-histogram-customizer | 禁用RenderThread的HistogramCustomizer。 |
--disable-hosted-app-shim-creation | 禁用Mac上托管應用程式的應用程式填充程式建立。 |
--disable-image-animation-resync | 禁止将圖像動畫重置為開始,以避免跳過很多幀。 僅在啟用合成器圖像動畫的情況下有效。 |
--disable-in-process-stack-traces | 禁用程序中堆棧跟蹤。 |
--disable-ios-password-suggestions | 當專注于表單字段時,禁止在鍵盤附件視圖中顯示可用的密碼憑據。 |
--disable-ipc-flooding-protection | 禁用IPC泛洪保護。 預設情況下已激活。 可以使用一些javascript函數将IPC充入浏覽器程序。 這種保護限制了它們的使用速率。 |
--disable-javascript-harmony-shipping | 禁用最新釋出的ECMAScript 6功能。 |
--disable-kill-after-bad-ipc | 當子程序發送錯誤的IPC消息時,請不要殺死它。 除了測試之外,從安全角度來看,啟用此開關也是一個壞主意。 |
--disable-layer-tree-host-memory-pressure | 禁用LayerTreeHost :: On MemoryPressure |
--disable-lcd-text | 禁用LCD文本。 |
--disable-legacy-window | 禁用與WebContents大小相對應的Legacy視窗。 |
--disable-local-storage | 禁用LocalStorage。 |
--disable-logging | 強制禁用日志記錄。 預設情況下,調試版本會啟用日志記錄。 |
--disable-logging-redirect | 禁用日志記錄重定向以進行測試。 |
--disable-login-animations | 避免在登入時制作昂貴的動畫。 |
--disable-login-screen-apps | 在登入螢幕上禁用應用程式。 預設情況下,它們是允許的,并且可以通過政策進行安裝。 |
--disable-low-end-device-mode | 設定後強制禁用低端裝置模式。 |
--disable-low-latency-dxva | 建立DXVA解碼器時,禁用使用CODECAPI_AVLowLatencyMode。 |
--disable-low-res-tiling | 使用CPU栅格化時,請禁用低分辨率拼貼。 這會消耗較少的功率,尤其是在動畫過程中,但是在快速滾動過程中(尤其是在較慢的裝置上)會看到更多的白色。 |
--disable-mac-overlays | 退回到使用CAOpenGLLayers顯示内容,而不是基于IOSurface的覆寫顯示路徑。 |
--disable-machine-cert-request | 在認證期間禁用對企業計算機證書的請求。 |
--disable-main-frame-before-activation | 在上一次送出激活之前,禁用發送下一個BeginMainFrame。 覆寫kEnableMainFrameBeforeActivation标志。 |
--disable-media-session-api | 禁用媒體會話API |
--disable-metal-test-shaders | |
--disable-modal-animations | 禁用動畫以顯示和隐藏模式對話框。 |
--disable-mojo-renderer | 可以使用content_renderer中的預設渲染器,而不是使用媒體服務中遠端托管的渲染器。 不會更改媒體服務的行為。 |
--disable-multi-display-layout | 禁用多個顯示布局UI。 |
--disable-namespace-sandbox | 禁用名稱空間沙箱的使用。 |
--disable-new-content-rendering-timeout | 當在頂級幀導航之後一段時間未送出任何新輸出時,禁用清除渲染器的渲染輸出。 |
--disable-notifications | 禁用Web Notification和Push API。 |
--disable-nv12-dxgi-video | 禁止将視訊解碼器繪制為NV12紋理而不是ARGB。 |
--disable-offer-store-unmasked-wallet-cards | 強制在自動填充對話框中隐藏本地儲存複選框,以擷取錢包卡的完整信用卡号。 該卡将永遠不會存儲在本地。 |
--disable-oop-rasterization | 禁用OOP栅格化。 優先于啟用标志。 |
--disable-oopr-debug-crash-dump | 禁用OOPR的調試崩潰轉儲。 |
--disable-oor-cors | 不管base :: Feature标志如何,都在子程序中禁用OOR-CORS。 |
--disable-origin-trial-controlled-blink-features | 禁用所有可以通過OriginTrials啟用的RuntimeEnabledFeatures。 |
--disable-overscroll-edge-effect | 禁用過度滾動邊緣效果,例如在Android視圖中發現的效果。 |
--disable-partial-raster | 在渲染器中禁用部分栅格。 禁用此開關還會禁用持久性gpu記憶體緩沖區的使用。 |
--disable-pepper-3d | 禁用Pepper3D。 |
--disable-pepper-3d-image-chromium | 禁用胡椒3d的圖像鉻。 |
--disable-per-user-timezone | 禁用每個使用者的時區。 |
--disable-permissions-api | 禁用權限API。 |
--disable-pinch | 禁用合成器加速的觸摸屏捏合手勢。 |
--disable-pnacl-crash-throttling | 禁用可移植本機用戶端的崩潰限制。 |
--disable-popup-blocking | 禁用彈出視窗阻止。 |
--disable-prefer-compositing-to-lcd-text | 當它會阻止LCD文本時,請禁用合成層的建立。 |
--disable-presentation-api | 禁用Presentation API。 |
--disable-print-preview | 禁用列印預覽(用于測試以及不喜歡我們的使用者。:[) |
--disable-prompt-on-repost | 通常,當使用者嘗試導航到文章釋出的頁面時,我們會提示您確定他們願意。 此開關可用于禁用該檢查。 在自動測試期間使用此開關。 |
--disable-pull-to-refresh-effect | 垂直滾動内容時,請禁用“按上拉”效果。 |
--disable-pushstate-throttle | 禁用對history.pushState / replaceState調用的限制。 |
--disable-reading-from-canvas | |
--disable-remote-core-animation | 在Mac上,禁止使用跨程序CALayers直接顯示GPU程序中的内容。 |
--disable-remote-fonts | 禁用遠端Web字型支援。 不論是否指定此選項,SVG字型都應始終有效。 |
--disable-remote-playback-api | 禁用了遠端播放API。 |
--disable-renderer-accessibility | 關閉渲染器中的輔助功能。 |
--disable-renderer-backgrounding | 設定時防止渲染器程序背景化。 |
--disable-resource-scheduler | ResourceScheduler是否被禁用。 注意,這僅對需要實作自己的資源排程的C無頭嵌入器有用。 |
--disable-rgba-4444-textures | 禁用的RGBA4444紋理。 |
--disable-rollback-option | 在重置螢幕上禁用復原選項。 |
--disable-rtc-smoothness-algorithm | 禁用webrtc的新渲染算法,該算法旨在提高渲染平滑度。 |
--disable-running-as-system-compositor | 禁用作為系統合成器運作。 |
--disable-screen-orientation-lock | 禁用螢幕方向API的鎖定功能。 |
--disable-scroll-to-text-fragment | 此開關禁用ScrollToTextFragment功能。 |
--disable-search-geolocation-disclosure | 禁用顯示搜尋地理位置公開使用者界面。 用于性能測試。 |
--disable-seccomp-filter-sandbox | 禁用seccomp過濾器沙箱(seccomp-bpf)(僅Linux)。 |
--disable-setuid-sandbox | 禁用setuid沙箱(僅Linux)。 |
--disable-shader-name-hashing | 在着色器中關閉使用者定義的名稱哈希。 |
--disable-shared-workers | 禁用共享工作者。 |
--disable-signin-frame-client-certs | 在Chrome作業系統登入配置檔案的登入框中禁用用戶端證書身份驗證。 TODO(https://crbug.com/844022):在沒有系統令牌的情況下,到達請求用戶端證書的端點不再挂起時,請删除此标志。 |
--disable-signin-scoped-device-id | 禁用通過重新整理令牌請求将登入範圍内的裝置ID發送到LSO。 |
--disable-site-isolation-for-policy | 就像kDisableSiteIsolation一樣,但是沒有顯示“穩定性和安全性将受到損害”的警告。 |
--disable-site-isolation-trials | 禁用站點隔離。 請注意,通過企業政策和/或cmdline進行的選擇加入(按流程進行站點,隔離源等)優先于kDisableSiteIsolation開關(即盡管可能存在kDisableSiteIsolation開關,但選擇仍然生效。 請注意,出于曆史原因,該開關的名稱誤導性地提到了“試用”,但是該開關也禁用了自M67以來在桌面上附帶的預設站點隔離。 保留開關名稱是為了chrome:// flags的向後相容。 |
--disable-skia-runtime-opts | 不要在Skia中使用運作時檢測到的高端CPU優化。 這對于強制執行例如 網絡測試。 |
--disable-smooth-scrolling | 禁用平滑滾動進行測試。 |
--disable-software-compositing-fallback | 對于測試,如果GPU程序崩潰并達到GPU程序崩潰限制,則禁用回退到軟體合成。 |
--disable-software-rasterizer | 禁止使用3D軟體光栅化器。 |
--disable-software-video-decoders | |
--disable-speech-api | 禁用Web Speech API(語音識别和合成)。 |
--disable-speech-synthesis-api | 禁用Web Speech API的語音合成部分。 |
--disable-sync | 禁用将浏覽器資料同步到Google帳戶。 |
--disable-sync-types | 禁用同步預設情況下啟用的一種或多種同步資料類型。 有關可能的類型,請參見sync / base / model_type.h。 類型應以逗号分隔,并遵循模型類型的字元串表示形式的命名約定,例如:--disable-synctypes ='鍵入的URL,書簽,自動填充配置檔案' |
--disable-system-font-check | 指定後禁用系統字型檢查。 |
--disable-test-root-certs | 禁止在網絡程序中添加測試證書。 |
--disable-third-party-keyboard-workaround | 禁用第三方鍵盤多功能框解決方法。 |
--disable-threaded-animation | |
--disable-threaded-compositing | 禁用Web内容的多線程GPU合成。 |
--disable-threaded-scrolling | 禁用Web内容的多線程合成器滾動。 |
--disable-timeouts-for-profiling | 禁用可能導緻浏覽器運作緩慢時死亡的逾時。 如果使用概要分析(例如debug malloc)運作,這将很有用。 |
--disable-touch-adjustment | 禁用觸摸調節。 |
--disable-touch-drag-drop | 禁用基于觸摸事件的拖放。 |
--disable-usb-keyboard-detect | 禁用USB鍵盤檢測以阻止Win8上的OSK。 |
--disable-v8-idle-tasks | 禁用V8空閑任務。 |
--disable-video-capture-use-gpu-memory-buffer | 這與kVideoCaptureUseGpuMemoryBuffer控制的功能相同。 kVideoCaptureUseGpuMemoryBuffer由chromeos疊加層結算。 要通過chrome://标志覆寫設定,此标志是必需的。 chrome:// flag#zero-copy-video-capture的行為如下: 預設值:尊重chromeos覆寫設定。 啟用:強制啟用kVideoCaptureUseGpuMemoryBuffer。 禁用:強制禁用kVideoCaptureUseGpuMemoryBuffer。 |
--disable-volume-adjust-sound | 禁用音量調節聲音。 |
--disable-vsync-for-tests | |
--disable-vulkan-fallback-to-gl-for-testing | 如果初始化Vulkan失敗,則禁用回退到基于GL的硬體渲染。 這是為了允許測試捕獲Vulkan中的回歸。 |
--disable-vulkan-surface | 禁用VK_KHR_surface擴充。 代替使用swapchain,bitblt将用于在螢幕上呈現目前的渲染結果。 |
--disable-wake-on-wifi | 禁用wifi功能喚醒。 |
--disable-web-security | 不要執行同源政策。 (供人們測試其網站時使用。) |
--disable-webgl | 禁用所有版本的WebGL。 |
--disable-webgl-image-chromium | 禁用将WebGL渲染到掃描緩沖區中以提供覆寫支援。 |
--disable-webgl2 | 禁用WebGL2。 |
--disable-webrtc-encryption | 禁用用于WebRTC的RTP媒體的加密。 Chrome嵌入内容時,會忽略其穩定版和Beta版通道上的此開關。 |
--disable-webrtc-hw-decoding | 禁用WebRTC的硬體解碼加速。 |
--disable-webrtc-hw-encoding | 禁用WebRTC的硬體編碼加速。 |
--disable-windows10-custom-titlebar | 在Windows 10上禁用自定義繪制視窗标題欄。 |
--disable-yuv-image-decoding | 對于支援的格式和情況,請禁用YUV圖像解碼。 除非啟用GPU栅格化,否則不起作用。 |
--disable-yuv420-biplanar | 使用gfx :: BufferUsage :: SCANOUT_CPU_READ_WRITE用法禁用NV12格式的緩沖區配置設定。 |
--disable-zero-browsers-open-for-tests | 某些測試似乎要求關閉最後一個浏覽器視窗時關閉應用程式。 是以,我們需要一個開關來強制ChromeOS Aura采取這種行為,并禁用“零視窗模式”。 TODO(pkotwicz):研究是否可以消除此錯誤。 (http://crbug.com/119175) |
--disable-zero-copy | 禁用直接寫入與圖塊關聯的GPU記憶體的光栅化器。 |
--disable-zero-copy-dxgi-video | 禁用視訊解碼器直接繪制到紋理。 |
--disabled | |
--disallow-non-exact-resource-reuse | 禁止重複使用非精确資源來滿足ResourcePool請求。 僅用于布局或像素測試以減少噪聲。 |
--discoverability | |
--disk-cache-dir | 使用特定的磁盤緩存位置,而不是從UserDatadir派生的位置。 |
--disk-cache-size | 強制磁盤緩存使用的最大磁盤空間(以位元組為機關)。 |
--display | 要連接配接到哪個X11顯示器。 模拟GTK“ --display =”指令行參數。 |
--dmg-device | 當switchs :: kProcessType為switchs :: kRelauncherProcess時,如果還存在此開關,則重新啟動程序将解除安裝并彈出已安裝的磁盤映像,并将其磁盤映像檔案移至資源回收筒。 參數的值必須是格式為“ diskN”或“ diskNsM”的BSD裝置名稱。 |
--dns-log-details | |
--document-user-activation-required | 需要文檔使用者激活的自動播放政策。 |
--dom-automation | 指定 |
--dont-require-litepage-redirect-infobar | 觸發精簡版頁面重定向預覽之前,不需要顯示使用者通知InfoBar。 |
--double-buffer-compositing | 将GL緩沖區隊列中的最大未決幀數設定為1。 |
--draw-view-bounds-rects | 繪制一個半透明的rect來訓示每個視圖的邊界。 |
--dump-blink-runtime-call-stats | 記錄運作時呼叫統計資訊以進行閃爍。 --single-process還需要與此一起使用,以便記錄統計資訊。 |
--dump-browser-histograms | 請求正在運作的浏覽器程序将其收集的直方圖轉儲到給定檔案中。 如果存在該檔案将被覆寫。 |
--dump-dom | 訓示headless_shell将document.body.innerHTML列印到标準輸出。 |
--dump-raw-logs | 将原始日志轉儲到與可執行檔案具有相同基本名稱的檔案中。 轉儲的檔案是原始protobuf,并且具有“ pb”擴充名。 |
--easy-unlock-app-path | 覆寫“輕松解鎖”元件應用程式的路徑。 |
--edge-touch-filtering | 告訴Chrome浏覽器進行邊緣觸摸過濾。 對于可轉換平闆電腦很有用。 |
--egl | |
--elevate | |
--elevated | 确定該過程已經被提升,是以我們不再嘗試。 |
--embedded-extension-options | 允許将擴充選項嵌入chrome:// extensions中,而不是嵌入新标簽中。 |
--emulate-shader-precision | 通過将着色器突變為ANGLE中的中間值來模拟ESSL低和中浮精度。 |
--enable-accelerated-2d-canvas | 啟用加速的2D畫布。 |
--enable-accessibility-object-model | 在開發中啟用實驗性可通路性對象模型API。 |
--enable-accessibility-tab-switcher | 啟用輔助功能頁籤切換器。 |
--enable-adaptive-selection-handle-orientation | 啟用選擇搖桿的反轉,以使它們不會被視口邊界限制。 |
--enable-aggressive-domstorage-flushing | 啟用主動清除DOM存儲以最大程度地減少資料丢失。 |
--enable-angle-features | ANGLE功能是在third_party / angle / include / platform中按後端定義的。如果找到,則啟用指定的逗号分隔的ANGLE功能。 |
--enable-app-list | 如果設定,則将啟用應用程式清單,就像從CWS中啟用一樣。 |
--enable-arc | 已淘汰。 請使用--arc-availability =官方支援。 在會話啟動時啟用啟動ARC執行個體。 |
--enable-arcvm | 啟用ARC VM。 |
--enable-audio-debug-recordings-from-extension | 如果WebRTC日志記錄專用API處于活動狀态,請啟用音頻調試記錄。 |
--enable-auto-reload | 啟用錯誤頁面的自動重裝。 |
--enable-automation | 啟用訓示浏覽器由自動化控制的訓示。 |
--enable-background-tracing | 啟用背景跟蹤并将跟蹤上傳到trace-upload-url。 觸發規則作為參數傳遞。 |
--enable-begin-frame-control | 是否應通過DevToolsProtocol(實驗)釋出開始幀。 |
--enable-benchmarking | TODO(asvitkine):考慮删除或重命名此功能。 啟用基準測試擴充。 |
--enable-ble-advertising-in-apps | 在應用程式中啟用BLE廣告。 |
--enable-blink-features | 啟用一個或多個Blink運作時啟用的功能。 在kDisableBlinkFeatures之前以及在更改這些功能的其他标志之後應用。 |
--enable-blink-test-features | 啟用狀态為“ test”或狀态為“ experimental”的眨眼運作時啟用的功能,這些功能在運作Web測試時已啟用。 |
--enable-bluetooth-spp-in-serial-api | 為SPP裝置啟用串行通信。 |
--enable-bookmark-undo | 為書簽啟用多級撤消系統。 |
--enable-caret-browsing | 啟用本機插入符号浏覽,在該浏覽器中将可移動光标置于網頁上,進而允許使用者僅使用鍵盤即可選擇和浏覽不可編輯的文本。 請參閱https://crbug.com/977390,以擷取指向i2i的連結。 |
--enable-cast-receiver | 啟用演員表接收器。 |
--enable-cast-streaming-receiver | |
--enable-chrome-browser-cloud-management | 啟用Chrome浏覽器雲管理流程。 |
--enable-chrome-tracing-computation | 啟用跟蹤服務。 |
--enable-cloud-print-proxy | 僅在流程類型為“服務”時适用。 在服務流程中啟用“雲列印代理”元件。 |
--enable-consumer-kiosk | 為Chrome作業系統啟用消費者資訊亭模式。 |
--enable-crash-reporter | 使崩潰報告器變得無頭。 |
--enable-crash-reporter-for-testing | 用于在通常編譯但禁用崩潰報告的調試環境中打開Breakpad崩潰報告。 |
--enable-cros-action-recorder | 如果設定,則将啟用CrOSActionRecorder,它将記錄裝置上的某些使用者操作。 |
--enable-crx-hash-check | 啟用程式包散列檢查:.crx檔案sha256散列總和應等于從更新清單收到的總和。 |
--enable-data-reduction-proxy-bypass-warning | 啟用資料縮減代理繞過警告。 |
--enable-data-reduction-proxy-force-pingback | 啟用每次頁面加載後發送頁面加載名額pingback的功能。 |
--enable-data-reduction-proxy-savings-promo | 為資料縮減代理啟用1 MB的節省促銷。 |
--enable-dawn-backend-validation | 在黎明後端啟用驗證層。 |
--enable-de-jelly | 實驗性果凍支援。 |
--enable-defer-all-script-without-optimization-hints | 允許在所有https頁面上推遲腳本預覽,即使該網頁缺少優化提示也是如此。 |
--enable-device-discovery-notifications | 啟用裝置發現通知。 |
--enable-dim-shelf | 為ChromeOS啟用貨架調光。 |
--enable-direct-composition-video-overlays | 即使不支援硬體覆寫,也可以使用DirectComposition視訊覆寫。 |
--enable-distillability-service | |
--enable-dom-distiller | |
--enable-domain-reliability | 啟用域可靠性監視。 |
--enable-encryption-migration | 為使用者的cryptohome啟用加密遷移,以運作最新的Arc。 |
--enable-encryption-selection | 啟用允許使用者通過設定禁用後端的功能。 |
--enable-enterprise-policy | 啟用企業政策支援。 |
--enable-exclusive-audio | 對Windows Vista和更高版本使用獨占模式音頻流。 導緻使用AudioParameters :: AUDIO_PCM_LOW_LATENCY音頻路徑的音頻流的延遲降低。 有關詳細資訊,請參見http://msdn.microsoft.com/zh-cn/library/windows/desktop/dd370844.aspx。 |
--enable-experimental-accessibility-autoclick | 顯示尚未啟動的其他自動點選功能。 |
--enable-experimental-accessibility-chromevox-annotations | 啟用尚未啟動的注釋功能。 |
--enable-experimental-accessibility-chromevox-tutorial | 啟用ChromeVox的互動式教程。 |
--enable-experimental-accessibility-labels-debugging | 支援視覺上調試可通路性标簽功能,該功能為螢幕閱讀器使用者提供圖像描述。 |
--enable-experimental-accessibility-language-detection | 對頁内文本内容啟用語言檢測,然後将其暴露于輔助技術(如螢幕閱讀器)。 |
--enable-experimental-accessibility-language-detection-dynamic | 對動态内容啟用語言檢測,然後将其暴露于輔助技術(例如螢幕閱讀器)。 |
--enable-experimental-accessibility-switch-access | 顯示設定以在啟動開關通路之前啟用它。 |
--enable-experimental-accessibility-switch-access-text | 啟用進行中的Switch Access功能進行文本輸入。 |
--enable-experimental-cookie-features | 可以将一組實驗性/新添加的與Cookie相關的功能結合在一起的标記,例如 測試,以避免必須單獨設定可能容易出錯(更不用說乏味)的多個開關。 沒有相應的開關來禁用所有這些功能,因為不建議這樣做,并且出于測試目的,您需要單獨将其關閉以識别出有問題的功能。 目前,這将打開:net :: features :: kCookiesWithoutSameSiteMustBeSecure net :: features :: kSameSiteByDefaultCookies net :: features :: kSameSiteDefaultChecksMethodRigorously還将很快啟用:content_settings :: kImprovedCookieControls: |
--enable-experimental-extension-apis | 啟用正在開發的擴充API。 |
--enable-experimental-ui-automation | 除了IAccessible API之外,還啟用UI自動化平台API。 |
--enable-experimental-web-platform-features | 啟用正在開發的Web平台功能。 |
--enable-experimental-webassembly-features | 啟用實驗性WebAssembly功能。 |
--enable-extension-activity-log-testing | |
--enable-extension-activity-logging | 啟用擴充活動日志記錄。 |
--enable-extension-assets-sharing | 為已安裝的預設應用啟用共享資産。 |
--enable-features | 以逗号分隔的功能名稱清單。 另請參見kDisableFeatures。 |
--enable-font-antialiasing | 為像素測試啟用字型抗鋸齒。 |
--enable-ftp | 啟用對FTP URL的支援。 請參閱https://crbug.com/333943。 |
--enable-gamepad-button-axis-events | 啟用gamepadbuttondown,gamepadbuttonup,gamepadbuttonchange,gamepadaxismove非标準遊戲搖桿事件。 |
--enable-gpu-benchmarking | 啟用GPU基準測試擴充 |
--enable-gpu-blocked-time | 啟用衡量SwapBuffers之間GPU主線程被阻塞多長時間的度量 |
--enable-gpu-client-logging | 啟用GPU用戶端日志記錄。 |
--enable-gpu-client-tracing | 在渲染器中為TR調用啟用TRACE。 |
--enable-gpu-command-logging | 打開日志記錄GPU指令。 |
--enable-gpu-debugging | 在每個指令後打開“調用GL錯誤”。 |
--enable-gpu-driver-debug-logging | 啟用日志記錄GPU驅動程式調試消息。 |
--enable-gpu-memory-buffer-compositor-resources | 指定所有合成器資源應由GPU記憶體緩沖區支援。 |
--enable-gpu-memory-buffer-video-frames | 啟用GpuMemoryBuffer支援的VideoFrame。 |
--enable-gpu-rasterization | 允許試探法确定何時應使用Skia GPU後端繪制圖層圖塊。 僅在GPU加速合成中有效。 |
--enable-gpu-service-logging | 打開GPU日志記錄(僅調試版本)。 |
--enable-gpu-service-tracing | 打開每個GL調用的TRACE。 |
--enable-hardware-overlays | 在裝置允許的情況下,通過硬體覆寫啟用合成各個元素的功能。 将标志設定為“單全屏”将嘗試提升單個全屏覆寫,并在可能的情況下将其用作主幀緩沖區。 |
--enable-hosted-app-quit-notification | 在運作托管應用的情況下退出Chrome時顯示通知。 預設行為是也退出所有托管的應用程式。 |
--enable-houdini | 允許使用32位Houdini庫進行ARM二進制轉換。 |
--enable-houdini64 | 允許使用64位Houdini庫進行ARM二進制轉換。 |
--enable-hung-renderer-infobar | 啟用挂起的渲染器InfoBar,允許使用者關閉或等待無響應的Web内容。 |
--enable-idle-tracing | 将其他線程空閑時間資訊添加到跟蹤事件輸出中。 |
--enable-input | 啟用視窗管理器的輸入事件處理。 |
--enable-ios-handoff-to-other-devices | 啟用從iOS上的Chrome到其他Apple裝置的預設浏覽器的切換支援。 |
--enable-lcd-text | 啟用LCD文本。 |
--enable-leak-detection | 啟用正在加載網頁的洩漏檢測。 這使我們可以檢查重新加載網頁是否正确釋放了與Web相關的對象。 |
--enable-local-file-accesses | 啟用檔案通路。 大多數Cast裝置不應啟用該功能。 |
--enable-local-sync-backend | 啟用由LoopbackServer實作的本地同步後端。 |
--enable-logging | 控制是否啟用控制台日志記錄,并有選擇地配置其路由位置。 |
--enable-longpress-drag-selection | 啟用長按觸發的文本選擇的拖動操作。 |
--enable-low-end-device-mode | 設定為低端裝置模式。 |
--enable-low-res-tiling | 使用CPU栅格化時,生成低分辨率切片。 快速滾動期間可能會顯示低分辨率圖塊,尤其是在較慢的裝置上。 |
--enable-main-frame-before-activation | 啟用在上一次送出激活之前發送下一個BeginMainFrame的功能。 |
--enable-nacl | 在渲染器程序中運作Native Client并啟用GPU插件(内部将lEnableGpuPlugin添加到指令行)。 |
--enable-nacl-debug | 通過套接字通過RSP啟用調試。 |
--enable-nacl-nonsfi-mode | 啟用非SFI模式,在該模式下可以在沒有NaCl的SFI沙箱的情況下運作程式。 |
--enable-native-gpu-memory-buffers | 在Linux上啟用本機可用于CPU的GPU記憶體緩沖區支援。 |
--enable-natural-scroll-default | 預設情況下啟用自然滾動。 |
--enable-ndk-translation | 允許将32位NDK轉換庫用于ARM二進制轉換。 |
--enable-ndk-translation64 | 允許将64位NDK轉換庫用于ARM二進制轉換。 |
--enable-net-benchmarking | 啟用與網絡相關的基準測試擴充。 |
--enable-network-information-downlink-max | 啟用NetInfo API的type,downlinkMax屬性。 另外,當連接配接類型發生更改時,啟用NetInfo API的change屬性觸發。 |
--enable-new-app-menu-icon | |
--enable-ntp-search-engine-country-detection | 啟用使用預設搜尋引擎國家/地區,以在NTP上顯示特定于國家/地區的熱門網站。 |
--enable-offer-store-unmasked-wallet-cards | 強制在自動填充對話框中顯示本地儲存複選框,以擷取錢包卡的完整信用卡号。 |
--enable-oop-rasterization | 每當使用gpu栅格時,都會為渲染器打開程序外栅格。 啟用chrome_raster_transport擴充。 |
--enable-pepper-testing | 啟用PPAPI的測試接口。 |
--enable-pixel-output-in-tests | 強制測試在正常情況下不産生像素輸出。 |
--enable-plugin-placeholder-testing | 啟用插件占位符的測試功能。 僅限内部使用。 |
--enable-potentially-annoying-security-features | 啟用許多可能令人讨厭的安全功能(嚴格的混合内容模式,強大的功能限制等) |
--enable-precise-memory-info | 使傳回到window.performance.memory的值更細化,并在共享工作器中更更新。 沒有此标志,記憶體資訊仍然可用,但是存儲資訊和存儲資訊的頻率較低。 此标志也适用于勞工。 |
--enable-prefer-compositing-to-lcd-text | 當它會阻止LCD文本時,啟用合成層的建立。 |
--enable-profile-shortcut-manager | 強制啟用配置檔案快捷方式管理器。 對于測試而言,這是必需的,因為它們使用了定制使用者資料目錄來禁用此功能。 |
--enable-protected-video-buffers | 為加密的視訊流啟用受保護的緩沖區。 |
--enable-reached-code-profiler | 啟用到達的代碼探查器,該探查器對所有程序中的所有線程進行采樣以确定幾乎從未執行過的功能。 |
--enable-reporting | 啟用名額和崩潰報告。 |
--enable-request-tablet-site | 啟用平闆電腦網站請求(通過使用者代理覆寫)。 |
--enable-rgba-4444-textures | 啟用RGBA_4444紋理。 |
--enable-sandbox-logging | 每當沙箱拒絕對資源的通路時,導緻OS X沙箱将syslog寫入syslog。 |
--enable-service-binary-launcher | 如果為true,則使用ServiceProcessLauncher啟動服務。 這允許加載服務二進制檔案,而不是使用實用程式程序。 這僅對測試有用。 |
--enable-service-manager-tracing | |
--enable-sgi-video-sync | 啟用SGI_video_sync擴充名的使用,該擴充名可能具有驅動程式/沙盒/視窗管理器相容性問題。 |
--enable-skia-benchmarking | 啟用Skia基準測試擴充。 |
--enable-smooth-scrolling | 在支援它的平台上,啟用平滑滾動動畫。 |
--enable-spatial-navigation | 啟用空間導航 |
--enable-spdy-proxy-auth | 啟用資料縮減代理。 |
--enable-speech-dispatcher | 允許将文本到語音的請求發送到語音配置設定器(一種常見的Linux語音服務)。 由于它是兒童車,是以使用者必須明确啟用它,以便通路随機網頁不會導緻不穩定。 |
--enable-spotlight-actions | 啟用Spotlight操作。 |
--enable-stats-collection-bindings | |
--enable-strict-mixed-content-checking | 阻止來自安全上下文的所有不安全請求,并防止使用者覆寫該決定。 |
--enable-strict-powerful-feature-restrictions | 阻止不安全使用許多我們尚未在整個網絡上棄用的強大功能(例如,裝置方向)。 |
--enable-swap-buffers-with-bounds | 如果支援,則啟用SwapBuffersWithBounds。 |
--enable-switch-access-point-scanning | 啟用交換機通路點掃描。 此功能尚未啟動。 |
--enable-tablet-form-factor | 啟用平闆電腦尺寸。 |
--enable-third-party-keyboard-workaround | 啟用第三方鍵盤多功能框的解決方法。 |
--enable-thread-instruction-count | 控制是否在Linux上的跟蹤事件中為線程顯示退休指令計數。 此标志要求禁用BPF沙箱。 |
--enable-threaded-compositing | 為Web測試啟用了線程合成。 |
--enable-threaded-texture-mailboxes | 當共享組不可用時,模拟共享紋理。 并非到處都有。 |
--enable-top-drag-gesture | 是否啟用檢測和發送“從頂部拖動”手勢。 |
--enable-touch-calibration-setting | 在MD設定使用者界面中啟用觸摸校準選項,以顯示有效的觸摸屏。 |
--enable-touch-drag-drop | 啟用基于觸摸事件的拖放。 |
--enable-touchpad-three-finger-click | 啟用觸摸闆三指單擊作為中間按鈕。 |
--enable-touchview | 如果存在該标志,則表示1)該裝置具有加速度計,并且2)該裝置是可轉換裝置或平闆電腦裝置(是以能夠進入平闆電腦模式)。 如果未設定此标志,則裝置無法進入平闆電腦模式。 例如,Samus具有加速度計,但不是可隐藏的或平闆電腦,是以沒有設定此标志,是以無法進入平闆電腦模式。 |
--enable-trace-app-source | 将啟動源傳遞到平台應用程式。 |
--enable-tracing | 在執行浏覽器測試期間啟用跟蹤。 |
--enable-tracing-output | 寫入測試跟蹤輸出的檔案名。 |
--enable-ui-devtools | 為UI(Mus,灰燼等)啟用DevTools伺服器。 值應為伺服器啟動所在的端口。 預設端口為9223。 |
--enable-unsafe-webgpu | |
--enable-use-zoom-for-dsf | 啟用使用縮放的模式以實作裝置比例因子行為。 |
--enable-user-metrics | 從安裝程式中啟用使用者名額。 |
--enable-usermedia-screen-capturing | 啟用對MediaStream API的螢幕捕獲支援。 |
--enable-viewport | 啟用@viewport CSS規則的使用,該規則允許頁面控制其自身布局的各個方面。 這也會打開觸摸屏捏合手勢。 |
--enable-virtual-keyboard | |
--enable-viz-devtools | 啟用檢查Viz Display Compositor對象的功能。 預設端口為9229。要進行本地檢查,請使用chrome:// inspect#other |
--enable-viz-hit-test-debug | 啟用點選測試調試日志記錄。 |
--enable-vtune-support | 啟用Vtune事件探查器支援。 |
--enable-wayland-ime | 嘗試啟用Wayland輸入法編輯器。 |
--enable-wayland-server | 啟用Wayland伺服器。 |
--enable-web-auth-deprecated-mojo-testing-api | 啟用WebAuthn Mojo測試API。 這是一種通過mojo界面與虛拟身份驗證器環境進行互動的方式,僅在内容外殼上運作Web平台測試時才受支援。 crbug.com/937369禁止删除此不建議使用的API。 |
--enable-webgl-draft-extensions | 啟用社群尚未準許的WebGL擴充。 |
--enable-webgl-image-chromium | 啟用将WebGL渲染到掃描緩沖區中以提供覆寫支援。 |
--enable-webgl2-compute-context | 啟用WebGL2計算上下文。 |
--enable-webrtc-srtp-aes-gcm | 啟用從RFC 7714到WebRTC中用于SRTP的GCM密碼套件的協商。 有關更多資訊,請參見https://tools.ietf.org/html/rfc7714。 |
--enable-webrtc-srtp-encrypted-headers | 為WebRTC中的SRTP啟用來自RFC 6904的加密頭擴充名的協商。 有關更多資訊,請參見https://tools.ietf.org/html/rfc6904。 TODO(https://crbug.com/954201):删除它。 |
--enable-webrtc-stun-origin | 為WebRTC啟用Stun消息中的Origin标頭。 |
--enable-widevine | |
--enable-win7-webrtc-hw-h264-decoding | 在Win 7上為WebRtc啟用H264 HW解碼加速。 |
--enable-zero-copy | 啟用直接寫入與圖塊關聯的GPU記憶體的光栅化器。 |
--enabled | |
--encode-binary | 使用base64對二進制Web測試結果(圖像,音頻)進行編碼。 |
--enforce | |
--enforce-gl-minimums | 強制執行GL最低要求。 |
--enforce-vulkan-protected-memory | 強制使用受保護的記憶體進行vulkan合成。 |
--enforce-webrtc-ip-permission-check | 強制執行IP權限檢查。 TODO(guoweis):一旦該功能不受影響,則将其删除,并成為預設功能。 |
--enforce_strict | |
--ensure-forced-color-profile | 如果顯示器的顔色配置檔案與強制的顔色配置檔案不比對,則會在啟動時使浏覽器崩潰。 在Mac上這是必需的,因為Chrome的像素輸出始終受作業系統執行的顔色轉換的影響。 在所有其他平台上,這是無操作的。 |
--enterprise-disable-arc | 為客戶帳戶禁用ARC。 |
--enterprise-enable-forced-re-enrollment | 是否啟用強制企業重新注冊。 |
--enterprise-enable-initial-enrollment | 是否啟用初始企業注冊。 |
--enterprise-enable-psm | 是否啟用私有內建員資格查詢。 |
--enterprise-enable-zero-touch-enrollment | 啟用零接觸企業注冊流程。 |
--enterprise-enrollment-initial-modulus | 自動注冊用戶端将使用的2的幂的初始模的幂。 例如。 “ 4”表示模數為2 ^ 4 = 16。 |
--enterprise-enrollment-modulus-limit | 自動注冊用戶端将使用的2的幂的最大模數的幂。 |
--evaluate-type | |
--evaluate_capability | |
--explicitly-allowed-ports | 允許通過傳遞以逗号分隔的端口号清單來覆寫受限端口清單。 |
--export-tagged-pdf | 如果啟用,則在列印為PDF時生成标記的(可通路的)檔案。 一旦加标簽的PDF成為預設PDF,該計劃将不複存在。 參見https://crbug.com/607777 |
--expose-internals-for-testing | 将window.internals對象公開給JavaScript,以進行互動式開發和調試依賴它的Web測試。 |
--extension-content-verification | 強制以各種模式之一啟用内容驗證的指令行标志的名稱。 |
--extension-process | 将渲染器标記為擴充過程。 |
--extension-updater-test-request | |
--extensions-install-verification | 如果沒有打開擴充安裝驗證,則将其打開。 |
--extensions-not-webstore | 指定以逗号分隔的擴充名ID清單,在執行安裝驗證時應強制将其視為非來自網絡商店的擴充名。 |
--extensions-on-chrome-urls | 啟用在chrome:// URL上運作腳本的擴充。 擴充程式仍然需要在清單中明确請求通路chrome:// URL。 |
--external-metrics-collection-interval | Chrome從/ var / lib / metrics / uma-events讀取外部名額之間的時間間隔(以秒為機關)。 |
--extra-search-query-params | 要在搜尋和即時URL中插入的其他查詢參數。 對于測試很有用。 |
--fail-audio-stream-creation | 使AudioManager無法建立音頻流。 在測試各種故障案例時使用。 |
--fake-drivefs-launcher-chroot-path | 托管要使用的DriveFS的chroot的絕對路徑。 僅當在Linux上運作時,即IsRunningOnChromeOS()傳回false時,才使用此選項。 |
--fake-drivefs-launcher-socket-path | 套接字的相對路徑,用于與kFakeDriveFsLauncherChrootPath指定的chroot中的假DriveFS啟動器進行通信。 |
--fake-oobe-configuration-file | OOBE配置JSON檔案的路徑(由FakeOobeConfigurationClient使用)。 |
--fake-variations-channel | 僞造浏覽器的通道,以進行變化過濾。 這僅用于測試。 可能的值是“ stable”,“ beta”,“ dev”和“ canary”。 這也适用于官方版本。 |
--false | 訓示來自指令行開關的标志是否為false的值。 |
--feedback-server | 送出使用者回報時要使用的備用回報伺服器 |
--field-trial-handle | 處理到包含要在程序之間共享的現場試用狀态的共享記憶體段。 此開關的參數是句柄ID(在Windows上為指針),為字元串,後跟逗号,然後是共享記憶體段的大小,為字元串。 |
--file-url-path-alias | 定義一個别名根目錄,該目錄将被檔案URL中的替換字元串替換。 格式為“ / alias = / replacement”,它将把file:///alias/some/path.html轉換為file:///replacement/some/path.html。 |
--file_chooser | |
--finch-seed-expiration-age | 應用程式的變體種子副本的時間長度(以秒為機關)應視為新鮮。 如果應用程式的種子早于此種子,則将從WebView的IVariationsSeedServer請求一個新種子。 |
--finch-seed-ignore-pending-download | 強制WebView的服務始終安排新的變體種子下載下傳作業,即使該作業已經挂起也是如此。 |
--finch-seed-min-download-period | WebView服務将從變體伺服器下載下傳兩次變體種子之間等待的最短時間(以秒為機關)。 |
--finch-seed-min-update-period | 嵌入式WebView實作将在兩次向WebView服務的請求之間兩次等待以擷取新的變體種子的最短時間(以秒為機關)。 |
--fingerprint-sensor-location | 指紋傳感器的位置訓示實體傳感器的位置。 該值是一個字元串,可能帶有以下值:“ power-button-top-left-left”,“ keyboard-bottom-left”,keyboard-bottom-right“,” keyboard-top-right“。 |
--first-exec-after-boot | 系統啟動後首次運作時傳遞給Chrome。 登出後未通過重新開機。 |
--flag-switches-begin | 将這兩個标志添加到關于about的開關周圍:将标志添加到指令行。 這對于檢視about:version上的about:标志添加了哪些開關很有用。 它們沒有任何作用。 |
--flag-switches-end | |
--font-cache-shared-handle | 浏覽器使用共享記憶體将DirectWrite FontCache共享給渲染器。 此開關允許我們将共享記憶體句柄傳遞給渲染器。 |
--font-render-hinting | 在無頭運作時設定字型渲染提示,影響Skia渲染以及是否啟用字形子像素定位。 可能的值:無 |
--force-app-mode | 強制應用模式。 這将隐藏某些系統UI元素,如果尚未安裝該應用程式,則将其強制安裝。 |
--force-caption-style | 強制為WebVTT字幕添加字幕樣式。 |
--force-cert-verifier-builtin | 強制Chrome使用CertVerifyProcBuiltin來驗證伺服器證書,而忽略net :: features :: kCertVerifierBuiltinFeature的狀态。 |
--force-color-profile | 強制将所有螢幕視為具有指定的顔色配置檔案。 可接受的值為“ srgb”和“ generic-rgb”(目前由Mac布局測試使用)和“ color-spin-gamma24”(由布局測試使用)。 |
--force-dark-mode | 在支援UI的平台上強制在UI中使用暗模式。 |
--force-dev-mode-highlighting | 是否強制突出顯示開發人員模式擴充。 |
--force-device-scale-factor | 覆寫浏覽器UI和内容的裝置比例因子。 |
--force-devtools-available | 無論将企業政策DeveloperToolsDisabled和DeveloperToolsAvailability設定為什麼值,都強制開發人員工具可用性。 |
--force-disable-variation-ids | 強制删除從X-Client-Data标頭中發送的Chrome變體ID,該标頭指定為數字實驗ID的64位編碼清單。 字首為字元“ t”的ID将被視為觸發變量ID。 |
--force-effective-connection-type | 強制網絡品質估計器(NQE)傳回特定的有效連接配接類型。 |
--force-empty-corb-allowlist | 是否 |
--force-enable-lite-pages | 強制在每次頁面加載時啟用所有可用的預覽。 |
--force-enable-metrics-reporting | 強制啟用名額報告。 |
--force-enable-night-mode | 強制啟用夜間模式。 |
--force-enable-stylus-tools | 啟用狀态區域旁邊的手寫筆工具。 |
--force-fieldtrial-params | 在本地測試更改時,此選項可用于強制進行現場試驗的參數。 參數是(鍵,值)對的參數清單,并以關聯的(試用,組)對為字首。 您可以使用逗号分隔符為多個(試用組)對指定參數清單。 示例:“ Trial1.Group1:k1 / v1 / k2 / v2,Trial2.Group2:k3 / v3 / k4 / v4”對于所有非字母數字字元,應将URL的試驗名稱,組名稱,參數名稱和值都轉義。 |
--force-fieldtrials | 在本地測試更改時,此選項可用于強制進行現場試驗。 參數是由斜杠分隔的名稱和值對的清單。 如果試驗名稱帶有星号,則該試驗将開始激活。 例如,以下參數定義了兩個試用版,第二個試用版被激活:“ GoogleNow / Enable / * MaterialDesignNTP / Default /”該選項也可以被浏覽器程序用來将試用清單發送到非浏覽器程序, 使用相同的格式。 有關詳細資訊,請參見field_trial.h中的FieldTrialList :: CreateTrialsFromString()。 |
--force-first-run | 啟動浏覽器時顯示“初次運作”體驗,無論它實際上是否是“初次運作”(這将覆寫kNoFirstRun)。 |
--force-first-run-ui | 強制為每次登入顯示首次運作的使用者界面。 |
--force-gpu-mem-available-mb | 設定可以配置設定給GPU資源的記憶體總量 |
--force-gpu-mem-discardable-limit-mb | 設定用于可丢棄緩存的最大GPU記憶體。 |
--force-happiness-tracking-system | 強制啟用裝置的幸福跟蹤系統。 這将忽略使用者配置檔案檢查和時間限制,并且每次都會針對任何類型的使用者顯示通知。 |
--force-high-contrast | 不管系統設定如何,都在本機UI繪圖中強制使用高對比度模式。 請注意,這在Windows上影響有限:隻有Aura顔色将切換為高對比度,而其他系統顔色則不會。 |
--force-hwid-check-failure-for-test | 強制硬體ID檢查(在OOBE中發生)失敗。 |
--force-legacy-default-referrer-policy | 将預設的引薦來源網址政策固定為M80之前的no-referrer-when-downgrade值。 TODO(crbug.com/1016541):在M82之後,請在删除相應的企業政策後将其删除。 |
--force-login-manager-in-tests | 通常在浏覽器測試中,通常會跳過登入管理器的正常提示,以便測試可以更改其提示方式。 此标志禁用它。 |
--force-logs-upload-failure | 強制日志上傳失敗以幫助測試日志上傳重試。 |
--force-max-texture-size | 設定最大紋理大小(以像素為機關)。 |
--force-media-resolution-height | 如果存在,則會覆寫CanDisplayType API使用的螢幕分辨率,而不是使用從avsettings擷取的值。 |
--force-media-resolution-width | |
--force-overlay-fullscreen-video | 強制使用硬體覆寫進行全屏視訊播放。 對于在其他平台上測試Android覆寫全屏功能很有用。 |
--force-pnacl-subzero | 強制使用Subzero作為PNaCl轉換器而不是LLC。 |
--force-prefers-reduced-motion | 不管系統設定如何,強制使用者是否希望減少運動。 |
--force-presentation-receiver-for-testing | 這将強制将頁面加載為示範接收器。 對于測試特定于示範接收器的行為很有用。 規格:https://www.w3.org/TR/presentation-api/#interface-presentationreceiver |
--force-protected-video-output-buffers | 強制為FuchsiaVideoDecoder生成的所有輸出視訊緩沖區(包括未加密的流)提供受保護的記憶體。 除非也指定了--enable-protected-video-buffers,否則将被忽略。 |
--force-raster-color-profile | 強制在指定的顔色配置檔案中進行光栅化。 接受的值與上述kForceDisplayColorProfile情況相同。 |
--force-recovery-component | 運作非官方版本時強制使用恢複元件。 這僅适用于清潔工,不适用于記者。 |
--force-renderer-accessibility | 當檢測到螢幕閱讀器時,強制啟用渲染器輔助功能,而不是按需啟用它。 如果存在,則disable-renderer-accessibility開關将覆寫此設定。 |
--force-self-delete | 即使在非官方版本上也要強制自我删除。 |
--force-show-update-menu-badge | 強制顯示更新菜單标志。 |
--force-stacked-tab-strip-layout | 強制Chrome使用堆疊的标簽條布局。 |
--force-status-area-collapsible | 強制狀态區域允許折疊/展開,而不管目前狀态如何。 |
--force-system-compositor-mode | 設定時強制系統合成器模式。 |
--force-tablet-mode | 啟用所選UI模式所需的功能,無論Chromebook目前是否處于所選UI模式。 |
--force-tablet-power-button | 如果已設定,則即使裝置處于筆記本電腦模式,也會使用類似平闆電腦的電源按鈕行為(即,點選按鈕可關閉螢幕)。 |
--force-text-direction | 強制将文本呈現到特定方向。 有效值為“ ltr”(從左到右)和“ rtl”(從右到左)。 僅使用RTL進行了有意義的測試。 |
--force-ui-direction | 強制将UI指向特定方向。 |
--force-update-menu-type | 将更新菜單類型強制為特定類型。 |
--force-update-remote-url | 強制更新UI遠端URL的按産品自定義,也用于測試中。 |
--force-variation-ids | 強制将在X-Client-Data标頭中發送的其他Chrome變體ID,将其指定為數字實驗ID的64位編碼清單。 |
--force-video-overlays | 在Android上使用SurfaceView而不是SurfaceTexture強制媒體播放器。 |
--force-wave-audio | 即使支援Core Audio,也請使用Windows WaveOut / In音頻API。 |
--force-webrtc-ip-handling-policy | 在首選項中指定WebRTC IP處理政策時,重寫WebRTC IP處理政策以模仿行為。 |
--force-webxr-runtime | 強制啟用并選擇webxr的指定運作時。 請注意,這提供了啟用運作時的替代方法,并且在功能上還将禁用所有其他運作時。 |
--frame-throttle-fps | 設定送出合成器架構的油門fps。 |
--full-memory-crash-report | 生成完整的記憶體崩潰轉儲。 |
--gaia-config | |
--gaia-url | |
--gamepad-polling-interval | 覆寫遊戲搖桿輪詢間隔。 減小間隔可以改善按鈕和軸的輸入等待時間,但是由于在輸入輪詢線程上花費了更多的CPU時間,是以可能會對性能産生負面影響。 |
--gcm-checkin-url | 設定将用于執行Google Cloud Messaging簽入的簽入服務終結點。 |
--gcm-mcs-endpoint | 設定将用于Google Cloud Messaging的Mobile Connection Server端點。 |
--gcm-registration-url | 設定注冊端點,該端點将用于建立新的Google Cloud Messaging注冊。 |
--generate-accessibility-test-expectations | 僅用于開發/測試。 運作content_browsertests時,将可通路性測試失敗的輸出儲存到content / test / data / accessibility /中的期望檔案中,覆寫現有檔案内容。 |
--gl | |
--gl-egl | |
--gl-null | |
--gl-shader-interm-output | 在着色器編譯資訊日志中包括ANGLE的中間表示(AST)輸出。 |
--gles | |
--gles-egl | |
--gles-null | |
--google-apis-url | |
--google-base-url | 指定用于與Google對話的備用URL。 |
--google-doodle-url | 覆寫用于擷取目前Google Doodle的URL。 示例:https://www.google.com/async/ddljson測試? 嘗試:https://www.gstatic.com/chrome/ntp/doodle_test/ddljson_android0.json https://www.gstatic.com/chrome/ntp/doodle_test/ddljson_android1.json https://www.gstatic.com/ chrome / ntp / doodle_test / ddljson_android2.json https://www.gstatic.com/chrome/ntp/doodle_test/ddljson_android3.json https://www.gstatic.com/chrome/ntp/doodle_test/ddljson_android4.json |
--google-url | |
--gpu | |
--gpu-blocklist-test-group | 選擇具有指定test_group ID的另一組GPU阻止清單條目。 |
--gpu-device-id | 将活動的圖形裝置ID從浏覽器程序傳遞到資訊收集GPU程序。 |
--gpu-driver-bug-list-test-group | 使用指定的test_group ID啟用一組額外的GPU驅動程式錯誤清單條目。 請注意,預設測試組(組0)仍處于活動狀态。 |
--gpu-driver-version | 将活動圖形驅動程式版本從浏覽器程序傳遞到資訊收集GPU程序。 |
--gpu-launcher | 用于啟動GPU程序的額外指令行選項(通常用于調試)。 使用類似renderer-cmd-prefix。 |
--gpu-no-context-lost | 通知Chrome在省電模式,螢幕保護模式等情況下不會丢失GPU上下文。請注意,此标志不能確定在任何情況下(例如,重置GPU)都不會丢失GPU上下文。 |
--gpu-preferences | 将編碼的GpuPreferences傳遞給GPU程序。 |
--gpu-process | 從其他層窺探到标志。 |
--gpu-program-cache-size-kb | 設定記憶體gpu程式緩存的最大大小(以kb為機關) |
--gpu-rasterization-msaa-sample-count | 用于GPU栅格化的多樣本抗鋸齒樣本的數量。 需要MSAA對GPU的支援才能生效。 0禁用MSAA。 |
--gpu-revision | 将活動的圖形修訂資訊從浏覽器程序傳遞到資訊收集GPU程序。 |
--gpu-sandbox-allow-sysv-shm | 允許在GPU沙箱中調用shmat()系統。 |
--gpu-sandbox-failures-fatal | 使GPU沙箱故障緻命。 |
--gpu-sandbox-start-early | 在建立GL上下文之前啟動GPU沙箱。 |
--gpu-startup-dialog | 使GPU程序在啟動時顯示對話框。 |
--gpu-sub-system-id | 将活動圖形子系統ID從浏覽器程序傳遞到資訊收集GPU程序。 |
--gpu-vendor-id | 将活動的圖形供應商ID從浏覽器程序傳遞到資訊收集GPU程序。 |
--gpu2-startup-dialog | 使用于gpu資訊收集的第二個GPU程序在啟動時顯示一個對話框。 |
--graphics-buffer-count | |
--guest | 使浏覽器直接以訪客模式啟動。 |
--guest-wallpaper-large | 在訪客模式下使用的大牆紙(作為可信任的,使用者不可寫的JPEG檔案的路徑)。 |
--guest-wallpaper-small | 在訪客模式下使用的小牆紙(作為可信任的,使用者不可寫的JPEG檔案的路徑)。 |
--h | |
--has-chromeos-keyboard | 如果已設定,則系統是一台帶有“标準Chrome作業系統鍵盤”的Chromebook,這通常是指在左Shift鍵上方的标準Caps Lock位置帶有搜尋鍵的Chromebook。 對于同時具有搜尋鍵和Caps Lock鍵(例如,粗壯)的Chromebook,以及僅使用外部鍵盤的Chromebox之類的裝置,應取消設定該設定。 |
--has-internal-stylus | 此裝置是否具有内部手寫筆。 |
--headless | 以無頭模式運作,即沒有UI或顯示伺服器依賴項。 |
--help | |
--hermes-fake | 啟用愛馬仕的假冒行為。 預設情況下,未設定營運商資料。 如果為此開關傳遞了“ on”值,那麼将使用單個已安裝的營運商配置檔案來初始化愛馬仕假貨。 還在Shill中設定了與營運商資料相對應的僞蜂窩服務。 |
--hide | kCrosRegionsMode的“隐藏”值(VPD值被隐藏)。 |
--hide-android-files-in-files-app | 如果為true,則Android内部存儲中的檔案将在“檔案”應用中隐藏。 |
--hide-icons | |
--hide-scrollbars | 隐藏螢幕快照中的滾動條。 |
--highlight-all-webviews | 用黃色突出顯示所有WebView的内容(包括Web内容)。 這對于在Android應用程式中辨別WebView很有用。 |
--highlight-non-lcd-text-layers | 突出顯示不能使用LCD文本的圖層。 不含文本的圖層不會突出顯示。 有關顔色,請參見DebugColors :: NonLCDTextHighlightColor()。 |
--homedir | 定義使用者homedir。 預設為主要使用者homedir。 |
--homepage | 指定将在新打開的頁籤中顯示哪個頁面。 我們出于測試目的需要它,以便UI測試不依賴于http://google.com的内容。 |
--host | |
--host-resolver-rules | 這些映射僅适用于主機解析器。 |
--https://chromemediarecommendations-pa.googleapis.com | |
--icon_reader | |
--ignore-autocomplete-off-autofill | 忽略自動填充資料(個人資料信用卡)的autocomplete =“ off”。 |
--ignore-certificate-errors-spki-list | 一組公鑰散列,可忽略與證書相關的錯誤。 如果伺服器提供的證書鍊無效,并且一個或多個證書的公鑰哈希與該清單中的密鑰相比對,則将忽略該錯誤。 開關值必須是以逗号分隔的Base64編碼SHA-256 SPKI指紋清單(RFC 7469,第2.4節)。 除非還存在--user-data-dir(由内容嵌入程式定義),否則此開關無效。 |
--ignore-google-port-numbers | 設定後,它将忽略google_util.h方法中傳遞的PortPermission并忽略端口号。 這使通過EmbeddedTestServer(直接或間接)使用這些方法的功能(更直接代表生産)的功能運作測試更加容易。 |
--ignore-gpu-blacklist | 忽略GPU阻止清單。 TODO(crbug.com/1101491):在2020Q4移除-贊成--ignore-gpu-blocklist。 |
--ignore-gpu-blocklist | |
--ignore-previews-blacklist | 忽略PreviewsBlockList做出的決定。 TODO(crbug.com/1092105):将其遷移到ignore-previews-blacklist。 |
--ignore-urlfetcher-cert-requests | 導緻net :: URLFetchers忽略對SSL用戶端證書的請求,進而導緻它們嘗試未經身份驗證的SSL / TLS會話。 它打算在測試各種服務URL(例如:kPromoServerURL,kSbURLPrefix,kSyncServiceURL等)時使用。 |
--ignore-user-profile-mapping-for-tests | 如果為true,則UserManager中的配置檔案選擇将始終傳回活動使用者的配置檔案。 待辦事項(nkostlyev):http://crbug.com/364604-在ChromeOS上啟用多配置檔案功能後,請擺脫此開關。 |
--ime | |
--in-process-gpu | 在浏覽器程序中将GPU程序作為線程運作。 |
--incognito | |
--init-done-notifier | 事件的句柄,用于在主程序初始化完成(包括加載所有DLL)時發出信号。 內建測試使用它來檢查禁用子產品是否未在沙箱外部加載。 如果設定了此選項,則主程序将發信号通知該事件,然後也等待內建測試将其發信号,然後再繼續。 在正式版本中被忽略。 |
--initial-virtual-time | 使用自該時間段開始的以秒為機關指定的初始虛拟時間覆寫啟動渲染器。 |
--input | |
--install-autogenerated-theme | 根據給定的RGB值安裝自動生成的主題。 格式為“ r,g,b”,其中r,g,b是從0到255的數值。 |
--install-chrome-app | 使Chrome啟動給定應用程式的安裝流程。 |
--install-managed-bookmarks-handler | 安裝托管書簽政策處理程式。 |
--install-supervised-user-whitelists | |
--install-url-blocklist-handlers | 安裝URLBlocklist和URLAllowlist處理程式。 |
--instant-process | 将渲染器标記為即時過程。 |
--integration-test-timeout-minutes | 在幾分鐘内設定內建測試的逾時時間。 |
--ipc-connection-timeout | 覆寫子程序等待其終止之前等待浏覽器連接配接的逾時(以秒為機關)。 |
--ipc-dump-directory | 将從渲染器程序發送到浏覽器程序的IPC消息轉儲到給定目錄。 主要用于收集IPC模糊測試的樣本。 |
--ipc-fuzzer-testcase | 指定IPC模糊器使用的測試用例。 |
--isolate-origins | 需要一組專用的過程,這些過程以逗号分隔的清單形式指定。 例如:--isolate-origins = https://www.foo.com,https://www.bar.com |
--javascript-harmony | 啟用實驗性和聲(ECMAScript 6)功能。 |
--js-flags | 指定傳遞給JS引擎的标志。 |
--kaleidoscope-backend-url | 用于覆寫API基本URL的指令行開關。 |
--keep-alive-for-test | 用于測試-在最後一個浏覽器視窗關閉後使浏覽器保持活動狀态。 |
--kernelnext-restrict-vms | 如果已設定,則Chrome設定将不會公開啟用crostini的選項,除非在chrome:// flags中設定了enable-experimental-kernel-vm-support标志 |
--kiosk | 啟用資訊亭模式。 請注意,這不是Chrome OS資訊亭模式。 |
--kiosk-printing | 啟用自動按列印預覽中的列印按鈕。 |
--lacros-chrome-additional-args | 如果設定了此開關,則在啟動lacros-chrome時,ash-chrome将傳遞其他參數。 字元串“ ####”用作定界符。 示例:-lacros-chrome-additional-args =“-foo = 5 ####-bar = / tmp / dir名稱”。 将導緻兩個參數傳遞給lacros-chrome:--foo = 5 --bar = / tmp / dir名稱 |
--lacros-chrome-path | 如果設定了此開關,則ash-chrome将從訓示的路徑而不是從元件更新程式執行lacros-chrome二進制檔案。 請注意,該路徑應指向包含名為“ chrome”的二進制檔案的目錄。 |
--lang | 我們要嘗試打開的語言檔案。 形式為language [-country],其中language是ISO-639的2個字母代碼。 |
--last-launched-app | 将應用程式ID資訊傳遞到渲染器程序,以用于日志記錄。 last-launched-app應該是剛啟動并生成渲染器的應用程式。 |
--layer | |
--light | |
--lite-video-default-downlink-bandwidth-kbps | 用于限制媒體請求的預設下行鍊路帶寬估計。 僅在強制啟用LiteVideos時使用。 |
--lite-video-force-coinflip-holdback | 強制用于反事實實驗的coinflip為真。 |
--lite-video-force-override-decision | 覆寫所有LiteVideo決策邏輯,以允許其在每次導航中使用。 這将導緻LiteVideos忽略提示,使用者阻止清單和網絡狀況。 |
--lite-video-ignore-network-conditions | 覆寫LiteVideos的網絡條件檢查。 |
--load-and-launch-app | 從指定目錄加載應用程式并啟動它。 |
--load-apps | 在啟動時加載的應用程式路徑的逗号分隔清單。 清單中的第一個應用程式将啟動。 |
--load-empty-dll | 設定此标志時,嘗試加載empty-dll.dll。 用于測試DLL加載。 |
--load-extension | 在啟動時加載的擴充名的路徑的逗号分隔清單。 |
--load-media-router-component-extension | 啟動時加載媒體路由器元件擴充。 |
--load-signin-profile-test-extension | 解壓縮的測試擴充的路徑,以加載到登入配置檔案中。 加載的ID擴充名必須與kTestSigninProfileExtensionId比對。 |
--local-sync-backend-dir | 指定本地同步後端目錄。 選擇該名稱以模仿使用者資料目錄等。僅當存在enable-local-sync-backend标志時,此标志才重要。 |
--log-best-effort-tasks | 記錄有關通過TaskPriority :: BEST_EFFORT釋出的所有任務的資訊。 使用它來診斷被認為是由TaskPriority :: BEST_EFFORT執行防護引起的問題。 注意:釋出到非BEST_EFFORT UpdateableSequencedTaskRunner的任務(其優先級後來降低到BEST_EFFORT)不會被記錄。 |
--log-file | 覆寫用于通用日志記錄的預設檔案名(不影響記錄哪些事件)。 |
--log-gpu-control-list-decisions | 強制執行黑名單規則時記錄GPU控制清單決策。 |
--log-interface-calls-to | 指定一個檔案來記錄EngineRequestsImpl和CleanerEngineRequestsImpl的所有接口調用。 |
--log-level | 設定最低日志級别。 有效值為0到3:INFO = 0,WARNING = 1,LOG_ERROR = 2,LOG_FATAL = 3。 |
--log-net-log | 啟用将淨日志事件儲存到檔案。 如果給出值,則将其用作檔案的路徑,否則将檔案命名為netlog.json并放置在使用者資料目錄中。 |
--log-on-ui-double-background-blur | 檢查并記錄雙重背景模糊,如果有的話,則為錯誤。 |
--log-with-hash | 使用散列的動作名稱記錄使用者動作。 |
--log-without-hash | 記錄使用者操作,其中操作名稱未作哈希處理。 |
--login-manager | 啟用“浏覽器作為登入管理器”行為。 |
--login-profile | 指定chromeos使用者登入後要使用的配置檔案。如果使用者進入登入螢幕,則此參數将被忽略,因為user_id哈希定義了要使用的配置檔案目錄。 如果浏覽器在活動會話中重新啟動,則此參數用于為主要使用者傳遞user_id哈希。 |
--login-user | 指定已經登入的使用者。 |
--logs-upload-retry-interval | 指定兩次日志上載重試之間的等待時間(以分鐘為機關)。 |
--lso-url | |
--ltr | |
--main-frame-resizes-are-orientation-changes | 調整主架構的大小是由于在橫向和縱向模式(即Android)之間切換而引起的,是以應調整頁面大小以适合頁面大小。 |
--make-chrome-default | 訓示在安裝過程中是否應将Chrome設定為預設浏覽器。 |
--make-default-browser | 将Chrome設為預設浏覽器 |
--managed-user-id | 将任何已加載或新建立的配置檔案的受監管使用者ID設定為給定值。 傳遞一個空字元串以将概要檔案标記為非監督。 |
--mangle-localized-strings | 将本地化的字元串轉換為更長的字元串,并使用開始和結束标記使截斷在視覺上顯而易見。 |
--manual | |
--market-url-for-testing | 設定用于測試的Chrome的市場網址。 |
--marketing-opt-in-url | 确定在調用後端時要使用的URL。 |
--max-active-webgl-contexts | 允許使用者覆寫每個渲染器程序的活動WebGL上下文的最大數量。 |
--max-decoded-image-size-mb | 設定最大解碼圖像大小限制。 |
--max-file-size | 限制允許掃描引擎打開的檔案大小。 |
--max-gum-fps | 覆寫可以在對getUserMedia的調用中指定的最大幀速率。 該标志需要一個值。 例如:--max-gum-fps = 17.5 |
--max-output-volume-dba1m | 已知的1米處語音内容的校準最大輸出音量dBa。 |
--max-untiled-layer-height | 設定寬度和高度,在該寬度和高度上将對複合圖層進行平鋪。 |
--max-untiled-layer-width | |
--mem-pressure-system-reserved-kb | 某些平台通常隻有很少的“可用”記憶體,但是緩存的緩沖區中有大量可用空間。 對于此類平台,請将此數量配置為應視為不可用的緩沖區高速緩存記憶體的一部分。 如果不使用此開關,将使用純粹基于空閑記憶體的簡單壓力啟發式方法。 |
--memlog | |
--memlog-sampling-rate | |
--memlog-stack-mode | |
--memory-pressure-off | |
--message-loop-type-ui | 訓示實用程式程序應使用UI的消息循環類型運作。 |
--metrics-client-id | 這是将度量标準用戶端ID從浏覽器程序傳遞到其子級的方式。 使用Crashpad時,名額用戶端ID與崩潰用戶端ID不同。 |
--metrics-recording-only | 啟用名額報告的記錄,但禁用報告。 與kForceEnableMetricsReporting相比,此指令執行普通用戶端将用于報告的所有代碼,除了将報告删除而不是将報告發送到伺服器之外。 這對于在UI和性能測試期間發現名額代碼中的問題很有用。 |
--metrics-upload-interval | 覆寫UMA和UKM在每個名額報告上載之間的标準時間間隔。 設定較短的調試時間間隔很有用。 以秒為機關。 (在桌上型電腦上,預設值為1800秒)。 |
--min-height-for-gpu-raster-tile | 設定GPU栅格的最小圖塊高度。 |
--minimal | |
--mixed | |
--mixer-enable-dynamic-channel-count | 啟用根據輸入流動态更改混頻器中的通道數的功能。 |
--mixer-service-endpoint | 混合器服務偵聽的端點。 這是UNIX域套接字的路徑(預設為/ tmp / mixer-service)。 |
--mixer-service-port | 混合器服務在非Linux平台上偵聽的TCP端口。 (預設值為12854)。 |
--mixer-source-audio-ready-threshold-ms | 使用我們的混音器時,請指定音頻輸出的起始門檻值幀。 對于無法在沒有遇到音頻欠載的情況下處理預設啟動門檻值的平台,這通常用于将預設值改寫為更大的值。 |
--mixer-source-input-queue-ms | 使用我們的混音器時,指定音頻輸出的緩沖區大小。 對于無法處理如此小的音頻緩沖區而又不會遇到音頻欠載的平台,這通常用于将預設值改寫為更大的值。 |
--mock | |
--mock-cert-verifier-default-result-for-testing | 為MockCertVerifier設定預設結果。 這僅适用于測試代碼。 |
--mojo-core-library-path | 從共享庫中的指定路徑初始化Mojo Core,而不使用Content可執行檔案中嵌入的Mojo Core版本。 |
--mojo-local-storage | 使用基于Mojo的LocalStorage實作。 |
--mojo-pipe-token | |
--monitoring-destination-id | 允許為監視連接配接的GCM消息設定其他目标ID。 在非産品管理伺服器上運作時很有用。 |
--mse-audio-buffer-size-limit-mb | 允許将MSE音頻/視訊緩沖區大小明确指定為兆位元組。 視訊的預設值為150M,音頻的預設值為12M。 |
--mse-video-buffer-size-limit-mb | |
--mute-audio | 使發送到音頻裝置的音頻靜音,以便在自動測試過程中聽不到聲音。 |
--nacl-broker | |
--nacl-dangerous-no-sandbox-nonsfi | 即使在非SFI模式下也要禁用沙箱。 由于非SFI NaCl嚴重依賴seccomp沙箱,是以這特别不安全。 |
--nacl-debug-mask | 使用NaCl清單URL選擇是否将由調試存根調試NaCl程式。 開關值格式:[!] pattern1,pattern2,...,patternN。 每個模式都使用與Chrome擴充清單中的模式相同的文法。 唯一的差別是*方案比對所有方案,而不是僅比對http和https。 如果該值不是以!開頭,則如果清單URL比對任何模式,則将調試程式。 如果值以!開頭,則清單URL與任何模式都不比對時,将調試程式。 |
--nacl-gdb | 本機用戶端GDB調試器,将在需要時自動啟動。 |
--nacl-gdb-script | GDB腳本在啟動時傳遞給nacl-gdb調試器。 |
--nacl-loader | |
--nacl-loader-nonsfi | --type的值,該值導緻程序在非SFI模式下作為NativeClient加載程式運作。 |
--native | |
--native-messaging-connect-extension | 請求在此交換機指定的ID擴充名與kNativeMessagingConnectHost交換機命名的本機消息傳遞主機之間建立本機消息傳遞連接配接。 |
--native-messaging-connect-host | 請求在此開關命名的本機消息傳遞主機與ID由kNativeMessagingConnectExtension指定的擴充名之間建立本機消息傳遞連接配接。 |
--native-messaging-connect-id | 如果在指定kNativeMessagingConnectHost和kNativeMessagingConnectExtension時設定,則作為指令行參數反映到本機消息傳遞主機。 |
--native-with-thread-names | |
--nearbysharing-http-host | 覆寫附近共享使用的Google API的預設URL(https://www.googleapis.com) |
--need-arc-migration-policy-check | 裝置(如果存在)需要檢查政策,以檢視是否允許遷移到ARC的ext4。 它僅應在最初使用ecrypfs加密釋出且具有ARC(N)的裝置上存在。 對于其他類别的裝置,此标志必須丢失。 |
--net-log-capture-mode | 設定要在網絡日志中捕獲的事件的粒度。 可以将模式設定為以下值之一:“預設”“ IncludeSensitive”“所有内容”有關其含義的說明,請參見net_log_capture_mode.h中對應名稱的枚舉。 |
--netifs-to-ignore | 要忽略的網絡接口清單。 忽略的接口将不會用于網絡連接配接。 |
--network | |
--network-country-iso | 用于電話号碼檢測的電話區域(ISO國家/地區代碼)。 |
--network-quiet-timeout | 在IdlenessDetector中設定網絡安靜計時器的逾時秒數。 由想要更改逾時時間以便在各種嵌入式裝置上運作Web内容以及在不同區域更改網絡帶寬的嵌入程式使用。 例如,在使用FirstMeaningfulPaint信号消除啟動畫面時很有用。 |
--new-canvas-2d-api | 啟用進行中的canvas 2d API功能。 |
--new-window | 在新的浏覽器視窗中啟動URL。 |
--no-crash-upload | 防止崩潰用戶端上載崩潰報告。 |
--no-default-browser-check | 禁用預設浏覽器檢查。 對于UI /浏覽器測試很有用,我們希望避免顯示預設的浏覽器資訊欄。 |
--no-delay-for-dx12-vulkan-info-collection | 浏覽器啟動後,立即啟動用于DX12和Vulkan資訊收集的非沙盒GPU程序。 預設設定為延遲120秒。 |
--no-experiments | 禁用關于about:标志設定的所有實驗。 不禁用about:flags本身。 如果實驗在啟動時導緻chrome崩潰,則很有用:可以使用--no-experiments啟動chrome,在about:flags禁用有問題的實驗室,然後重新啟動chrome,而無需再次進行此切換。 |
--no-first-run | 跳過“首次運作”任務,無論它實際上是否是“首次運作”。 被kForceFirstRun覆寫。 這不會删除“首次運作”前哨,是以也不能防止在沒有此标志的情況下下次啟動chrome時發生首次運作。 |
--no-initial-navigation | 阻止新的Shell對象導航到預設URL。 |
--no-managed-user-acknowledgment-check | 禁用檢查在注冊受監管使用者時我們是否收到确認的資訊。 還禁用等待确認的注冊期間的逾時。 在不支援通知的伺服器上調試時很有用。 |
--no-network-profile-warning | 浏覽器是否應該警告配置檔案是否在網絡共享上。 此标志目前僅與Windows相關。 |
--no-pings | 不要發送超連結稽核ping |
--no-proxy-server | 不要使用代理伺服器,請始終進行直接連接配接。 覆寫傳遞的任何其他代理伺服器标志。 |
--no-recovery-component | 防止下載下傳和運作恢複元件。 |
--no-report-upload | 防止日志記錄服務上載日志和報告。 |
--no-sandbox | 對通常為沙盒的所有程序類型禁用沙盒。 旨在用作浏覽器級别的開關,僅用于測試目的。 |
--no-sandbox-and-elevated | 禁用沙箱,并賦予程序更高的特權。 |
--no-self-delete | 防止可執行檔案在運作後删除自身。 |
--no-service-autorun | 禁止服務程序将自身添加為自動運作程序。 這不會删除現有的自動運作注冊,隻會阻止該服務注冊新的。 |
--no-startup-window | 啟動時不會自動打開浏覽器視窗(在啟動Chrome時用于托管背景應用程式時使用)。 |
--no-user-gesture-required | 不需要任何使用者手勢的自動播放政策。 |
--no-v8-untrusted-code-mitigations | 禁用V8緩解措施以執行不受信任的代碼。 |
--no-vr-runtime | 告訴WebXr假定它不支援任何運作時。 |
--no-wifi | 禁用需要WiFi管理的功能。 |
--no-xshm | 禁用MIT-SHM擴充。 |
--no-zygote | 禁止使用合子程序來分叉子程序。 相反,子程序将被派生并直接執行。 請注意,--no-sandbox也應與此标志一起使用,因為沙箱需要受精卵才能工作。 |
--no-zygote-sandbox | 訓示合子在沒有沙箱的情況下啟動。 從這種合子分叉的程序将在以後應用自己的自定義沙箱。 |
--noerrdialogs | 禁止顯示所有錯誤對話框。 |
--none | 必須與服務管理器的manifest.json目錄檔案中使用的“ sandbox_type”值同步。 |
--none_and_elevated | |
--note-taking-app-ids | 可選的ID的逗号分隔清單,可用于做筆記。 如果未設定,則使用寫死清單。 |
--notification-inline-reply | 與kNotificationLaunchId結合使用,以指定Windows操作中心在Toast中輸入的内聯回複。 |
--notification-launch-id | 當Windows操作中心中顯示的提示已激活時,用于啟動Chrome。 應包含Chrome編碼的啟動ID。 |
--ntp-snippets-add-incomplete | 如果設定了此标志,我們會将缺少某些關鍵資料的下載下傳的片段添加到清單中。 |
--null | |
--num-raster-threads | 用于栅格化内容的輔助線程數。 |
--oauth-account-manager-url | |
--oauth2-client-id | |
--oauth2-client-secret | |
--oculus | 以下是WebXr支援的運作時。 |
--offer-in-settings | |
--on-the-fly-mhtml-hash-computation | 計算正在儲存的MHTML檔案的哈希值。 浏覽器程序會将序列化的MHTML内容寫入檔案,并在通過Mojo資料管道将其從渲染器中流回時計算其哈希值。 |
--oobe-eula-url-for-tests | 允許覆寫eula網址以進行測試。 |
--oobe-force-show-screen | 強制OOBE /登入以強制顯示oobe_screen.cc中與chromeos :: kScreenNames逗号分隔的螢幕清單。 支援的螢幕為:使用者圖像 |
--oobe-force-tablet-first-run | 訓示第一個使用者運作流程(第一個使用者登入後的OOBE螢幕順序)應顯示以平闆電腦模式為中心的螢幕,即使裝置未處于平闆電腦模式也是如此。 |
--oobe-guest-session | 表示在OOBE完成之前已啟動來賓會話。 |
--oobe-screenshot-dir | 指定使用OOBE UI調試器拍攝的螢幕快照的目錄。 |
--oobe-skip-postlogin | 使用者登入後,跳過所有其他OOBE頁面。 |
--oobe-skip-to-login | 跳到登入螢幕。 |
--oobe-timer-interval | 我們檢查OOBE總時間的時間間隔。 |
--oobe-timezone-override-for-tests | 允許在市場選擇加入螢幕上覆寫時區。 |
--opengraph | |
--openvr | |
--openxr | |
--optimization-guide-fetch-hints-override | 覆寫擷取提示的計劃和時間延遲,并在啟動時使用提供的逗号分隔的主機清單立即導緻擷取提示。 |
--optimization-guide-fetch-hints-override-timer | 覆寫提示擷取排程和延遲,進而在使用TopHostProvider啟動時立即導緻提示擷取。 這是為了測試。 |
--optimization-guide-fetch-models-and-features-override | 覆寫排程和時間延遲以擷取預測模型和宿主模型特征。 這将導緻在啟動時立即擷取預測模型和宿主模型特征。 |
--optimization-guide-service-api-key | 覆寫優化指南服務API密鑰以進行遠端請求。 |
--optimization-guide-service-get-hints-url | 覆寫HintsFetcher将向其請求遠端提示的優化指南服務URL。 |
--optimization-guide-service-get-models-url | 覆寫PredictionModelFetcher将向其請求遠端模型和主機功能的優化指南服務URL。 |
--optimization_guide_hints_override | 覆寫來自元件更新程式的提示Protobuf。 如果此開關的值無效,則使用正常提示處理。 此開關的值應為二進制配置消息的base64編碼,可在optimization_guide的hints.proto中找到。 為該開關提供有效值會導緻Chrome啟動程式在提示解析時阻塞。 |
--orientation-sensors | |
--origin-trial-disabled-features | 包含應禁用原始試驗的功能名稱清單。 名稱應以“ |
--origin-trial-disabled-tokens | 包含令牌簽名清單,應禁用其原始試驗。 令牌應以“ |
--origin-trial-public-key | 逗号分隔的密鑰清單,它将覆寫用于檢查原始試用令牌的預設公共密鑰。 |
--output | |
--override | kCrosRegionsMode的“ Override”值(首先讀取區域的資料)。 |
--override-enabled-cdm-interface-version | 使用此開關指定的版本覆寫預設啟用的庫CDM接口版本,這将是唯一啟用的版本。 例如,在全部支援(實作)CDM 8,CDM 9和CDM 10的建構中,但預設情況下僅啟用CDM 8和CDM 9:--override-enabled-cdm-interface-version = 8:僅CDM 啟用8 --override-enabled-cdm-interface-version = 9:僅啟用CDM 9 --override-enabled-cdm-interface-version = 10:僅啟用CDM 10 --override-enabled-cdm-interface -version = 11:未啟用CDM接口這可用于本地測試和調試。 當它仍處于開發階段時,還可以用于啟用實驗性CDM接口(預設情況下始終禁用)以進行測試。 |
--override-hardware-secure-codecs-for-testing | 覆寫硬體安全編解碼器對測試的支援。 如果指定,将跳過真實平台硬體安全編解碼器檢查。 編解碼器以逗号分隔。 有效的編解碼器為“ vp8”,“ vp9”和“ avc1”。 例如:--override-hardware-secure-codecs-for-testing = vp8,vp9 --override-hardware-secure-codecs-for-testing = avc1假定指定的編解碼器支援CENC加密方案。 如果未指定有效的編解碼器,則不支援硬體安全編解碼器。 這可以用來禁用硬體安全編解碼器支援:--override-hardware-secure-codecs-for-testing |
--override-https-image-compression-infobar | 在觸發頁面加載的https圖像壓縮之前,覆寫不需要顯示的一次性InfoBar。 |
--override-metrics-upload-url | 覆寫将度量标準日志發送到的URL以進行調試。 |
--override-plugin-power-saver-for-testing | 覆寫插件節流的行為以進行測試。 預設情況下,僅對寫死的插件清單啟用節流器。 将該值設定為“ always”以始終限制每個插件執行個體。 将該值設定為“從不”以禁用限制。 |
--override-use-software-gl-for-tests | 強制使用軟體GL而不是硬體gpu。 |
--ozone-dump-file | 指定圖像轉儲的位置。 |
--ozone-platform | 指定要使用的臭氧平台實施。 |
--pack-extension | 從給定目錄打包對.crx可安裝檔案的擴充名。 |
--pack-extension-key | 可選的PEM私鑰,用于對打包的.crx進行簽名。 |
--parent-window | |
--passive-listeners-default | 覆寫javascript addEventListener調用中“ passive”字段的預設值。 值定義為:'documentonlytrue'以将預設值僅對文檔級節點設定為true。 'true'将所有節點上的預設值設定為true(未指定時)。 'forcealltrue'強制所有節點上的值。 |
--passthrough | |
--password-store | 指定要使用的加密存儲後端。 可能的值為kwallet,kwallet5,gnome,gnome-keyring,gnome-libsecret,basic。 其他任何值都會導緻Chrome自動檢測最佳後端。 TODO(crbug.com/571003):一旦PasswordStore不再使用Keyring或KWallet來存儲密碼,請重命名此标志以停止引用密碼。 但是,不要盡快重命名。 開發人員和測試人員可能依賴于此,将大量測試密碼保留在其密鑰環或KWallets中。 |
--pdf_conversion | |
--pen-devices | 告訴Chrome将來自這些裝置的事件解釋為筆事件。 僅适用于XInput 2(即X伺服器1.8或更高版本)。 裝置的ID可以從“ xinput list”中檢索。 |
--perf-test-print-uma-means | 顯示本機性能測試正在監視的直方圖的平均值。 請注意,這僅适用于PerformanceTest子類。 |
--perfetto-disable-interning | 以perfetto原始格式為每個TraceEvent重複可替代的資料。 |
--perfetto-output-file | 如果提供,将啟用Perfetto啟動跟蹤并将輸出流式傳輸到給定檔案。 在Android上,如果未提供檔案,則自動生成檔案以将輸出寫入其中。 TODO(oysteine):一旦Perfetto在程序啟動後足夠早地啟動,則可以删除,以便能夠替換舊的啟動跟蹤。 |
--performance | |
--permission-request-api-scope | 權限請求API的開發标志。 在API完成之前需要此标志。 TODO(bauerb):不再需要此标志時删除。 |
--permission-request-api-url | |
--playready-key-system | |
--post-reboot | 表示此運作是重新開機後。 |
--post-reboot-override-cmd | 表示這是重新啟動後的運作,應該從外部系統資料庫項中擷取其開關。 重要說明:當指令行中存在此開關時,除kCleanupIdSwitch外,所有其他開關都将被忽略,kCleanupIdSwitch用于從正确的系統資料庫位置讀取重新啟動後的開關。 |
--post-reboot-trigger | 一個自由格式的文本字元串,它記錄觸發重新啟動後運作的内容。 |
--ppapi | |
--ppapi-antialiased-text-enabled | FontRenderParams :: antialiasing的布爾值(0/1)将傳遞給Ppapi程序。 |
--ppapi-broker | |
--ppapi-flash-args | PPAPI Flash的“指令行”參數; 用于調試選項。 |
--ppapi-flash-path | 使用在給定路徑下找到的PPAPI(胡椒粉)Flash。 |
--ppapi-flash-version | 報告PPAPI(胡椒粉)Flash的給定版本。 版本應為以“。”分隔的數字(例如,“ 12.3.456.78”)。 如果未指定,則預設為“ 10.2.999.999”。 |
--ppapi-in-process | 在程序中運作PPAPI(Pepper)插件。 |
--ppapi-plugin-launcher | 指定用于啟動ppapi插件程序的指令。 通過淨化或量化來運作插件過程很有用。 例如:--ppapi-plugin-launcher =“ path \ to \ purify / Run = yes” |
--ppapi-startup-dialog | 使PPAPI子程序在啟動時顯示對話框。 確定也使用--no-sandbox,否則沙盒将不允許顯示對話框。 |
--ppapi-subpixel-rendering-setting | FontRenderParams :: subpixel_rendering的枚舉值将傳遞給Ppapi程序。 |
--previous-app | 前一個應用應該是上次啟動的應用啟動時正在運作的應用。 |
--print-to-pdf | 儲存已加載頁面的pdf檔案。 |
--print-to-pdf-no-header | 不要在pdf檔案中顯示頁眉和頁腳。 |
--print_compositor | |
--privet-ipv6-only | 僅将IPv6用于私有HTTP。 |
--process-per-site | 為所有域啟用“每個站點的處理”過程模型。 此模式合并相同站點的頁面,以便它們共享單個程序。 此處有更多詳細資訊:-https://www.chromium.org/developers/design-documents/process-models-site_instance.h中的類注釋,列出了受支援的流程模型。 重要提示:請勿将此與--site-per-process(關于隔離而不是合并)相混淆。 您可能想要另一個。 |
--process-per-tab | 在其自己的渲染器程序中運作每組腳本連接配接的頁籤(即BrowsingInstance)。 我們預設為每個網站執行個體(即,來自同一注冊域的頁面組以及彼此之間的腳本連接配接)使用渲染器過程。 TODO(creis):此标志目前為空。 我們應該對其進行重構,以避免跨站點導航的“不必要的”過程交換,但在出于安全考慮(例如隔離的來源)時仍會交換。 |
--prod | “ prod”環境的指令行别名和URL。 |
--product-version | 輸出産品版本資訊并退出。 用作内部api,以檢測Linux上已安裝的Chrome版本。 |
--profile-directory | 選擇配置檔案目錄以與啟動的第一個浏覽器關聯。 |
--profile-requires-policy | 如果設定為“ true”,則配置檔案在重新啟動期間需要政策(政策加載必須成功,否則會話重新啟動應該失敗)。 |
--profiling-at-start | 啟動時為浏覽器程序啟動基于采樣的探查器。 僅當使用gn arg enable_profiling = true建構chrome時,此方法才有效。 輸出将轉到kProfilingFile的值。 |
--profiling-file | 指定用于分析輸出的位置。 僅當使用gyp變量profiling = 1或gn arg enable_profiling = true建構chrome時,此方法才有效。 {pid}(如果存在)将被程序的pid代替。 每次為此流程生成配置檔案時,{count}(如果存在)将增加。 對于浏覽器,預設值為chrome-profile- {pid},對于測試,預設值為test-profile- {pid}。 |
--profiling-flush | 控制配置檔案資料是否定期重新整理到檔案。 通常,資料是在退出時寫入的,但存在鉻不能完全退出的情況(尤其是在使用單程序時)。 可以指定以秒為機關的時間。 |
--progress-bar-animation | 指定Android手機頁面加載進度欄動畫。 |
--proxy-auto-detect | 強制代理自動檢測。 |
--proxy-bypass-list | 指定我們繞過代理設定并使用直接連接配接的主機清單。 除非也指定了--proxy-server,否則将被忽略。 這是用逗号分隔的繞過規則清單。 請參閱:“ net / proxy_resolution / proxy_bypass_rules.h”以擷取這些規則的格式。 |
--proxy-pac-url | 在給定的網址上使用pac腳本 |
--proxy-server | 使用指定的代理伺服器,覆寫系統設定。 此開關僅影響HTTP和HTTPS請求。 |
--proxy_resolver | |
--pseudo | |
--public-accounts-saml-acl-url | SAML聲明使用者URL,用于檢測無Gaia的SAML流何時結束(例如,用于SAML托管的訪客會話)TODO(984021):當DMServer發送URL時删除。 |
--pull-to-refresh | 啟用或禁用“拉動重新整理”手勢以響應垂直過度滾動。 将該值設定為“ 0”以禁用該功能,将其設定為“ 1”以同時在觸摸闆和觸摸屏上啟用,而将其設定為“ 2”以僅在觸摸屏上啟用該功能。 預設為禁用。 |
--purge-model-and-features-store | 在啟動時清除包含預測模型和宿主模型功能的存儲,以確定使用新資料。 |
--purge-optimization-guide-store | 在啟動時清除包含已擷取的内容群組件提示的存儲,以確定使用新資料。 |
--pwa-launcher-version | 指定啟動Chrome的Progressive-Web-App啟動器的版本,用于确定是否更新所有啟動器。 注意:更改此開關需要為以前的方法添加舊處理,因為仍在使用此開關的較舊的PWA啟動器将依靠Chrome更新它們以使用新方法。 |
--quarantine-dir | 指定隔離檔案夾,而不是預設檔案夾。 |
--query-tiles-country-code | |
--query-tiles-instant-background-task | |
--query-tiles-single-tier | |
--rdp_desktop_session | |
--reached-code-sampling-interval-us | 指定到達的代碼分析器的分析間隔(以微秒為機關)。 |
--reader-mode-feedback | |
--reader-mode-heuristics | |
--realtime-reporting-url | 指定用于上傳實時報告的URL。 |
--redirect-libassistant-logging | 将libassistant日志記錄重定向到/ var / log / chrome /。 |
--register-font-files | |
--register-max-dark-suspend-delay | 使Chrome在Chrome作業系統上注冊最大可能的黑暗暫停延遲時間,即在電源管理器允許的情況下,為裝置提供在黑暗恢複中完成工作的最大時間。 |
--register-pepper-plugins | 注冊Pepper插件(有關格式,請參見Pepper_plugin_list.cc)。 |
--regulatory-label-dir | 每個模型目錄的名稱,其中包含每個區域的子目錄以及該模型的管理标簽檔案。 每個模型的目錄(如果有)位于“ / usr / share / chromeos-assets / regulatory_labels /”下。 |
--relauncher | 重新啟動浏覽器的程序類型(switchs :: kProcessType)。 請參閱chrome / browser / mac / relauncher.h。 |
--remote-debugger-handles | |
--remote-debugging-address | 使用給定的位址而不是預設的環回來接受遠端調試連接配接。 應與--remote-debugging-port一起使用。 請注意,遠端調試協定不會執行任何身份驗證,是以,将其公開得太多可能會帶來安全風險。 |
--remote-debugging-pipe | 通過stdio管道啟用遠端調試[in = 3,out = 4]。 (可選)指定協定消息的格式,可以是“ JSON”(預設)或“ CBOR”。 |
--remote-debugging-port | 在指定端口上通過HTTP啟用遠端調試。 |
--remote-debugging-socket-name | 在指定的套接字名稱上通過HTTP啟用遠端調試。 |
--remote-debugging-targets | |
--remove-scan-only-uws | 允許引擎删除未标記為可清潔的UwS。 僅用于測試。 |
--renderer | |
--renderer-client-id | |
--renderer-cmd-prefix | 該标志的内容位于渲染器指令行的前面。 有用的值可能是“ valgrind”或“ xterm -e gdb --args”。 |
--renderer-process-limit | 覆寫渲染器程序數的預設/計算限制。 此設定的很高的值可能導緻較高的記憶體/資源使用率或不穩定。 |
--renderer-sampling | |
--renderer-startup-dialog | 使渲染器程序在啟動時顯示一個對話框。 傳遞此标志還會在Windows非官方版本上添加sandbox :: policy :: kNoSandbox,因為這需要顯示對話框。 |
--renderer-wait-for-java-debugger | 阻塞渲染器的ChildProcessService的ChildProcessMain線程,直到附加了Java調試器為止。 |
--renderpass | kUIShowCompositedLayerBorders的參數。 |
--repl | 運作read-eval-print循環,該循環允許使用者評估Javascript表達式。 |
--report-vp9-as-an-unsupported-mime-type | 強制将VP9報告為不支援的MIME類型。 |
--require-audio-hardware-for-testing | 在沒有必需硬體或庫的系統上運作測試時,此标志将導緻測試失敗。 否則,他們默默地成功。 |
--require-wlan | 僅連接配接到WLAN接口。 |
--reset-variation-state | 在此用戶端上強制重置一次随機的FieldTrials,也稱為“ Chrome變體”狀态。 |
--restore-last-session | 訓示應在啟動時還原上一個會話。 這将覆寫首選項值。 請注意,這不會強制崩潰後自動進行會話恢複,以防止崩潰循環。 此開關用于在OS X和Windows上實作對特定于OS的“停下來繼續”功能的支援。 |
--restrict-gamepad-access | 在getGamepads上啟用功能政策和安全上下文要求。 |
--rlz-ping-delay | 覆寫預設值的rlz ping延遲(以秒為機關)。 |
--rtl | |
--run-all-compositor-stages-before-draw | 通過在完成架構之前等待每個階段完成,可以有效地禁用合成器架構生産階段的流水線操作。 |
--run-manual | 手動測試僅在指定--run-manual時運作。 這樣可以編寫不會自動運作但仍在同一測試二進制檔案中的測試。 這很有用,這樣一來,想要運作一些測試的團隊就不必添加必須在所有建構版本上進行編譯的新二進制檔案。 |
--run-web-tests | 在Web測試模式下運作Content Shell,為閃爍的Web測試注入僅測試行為。 |
--run-without-sandbox-for-testing | 将引擎加載到沙箱外部。 這僅用于手動測試。 |
--safe-mode | 當Chrome在啟動後的前60秒鐘内崩潰3次或以上時,由session_manager守護程式添加的開關。 請參閱platform2 / login_manager / browser_job.cc中的BrowserJob :: ExportArgv。 |
--safebrowsing-enable-enhanced-protection | 啟用安全浏覽增強保護。 |
--safebrowsing-manual-download-blacklist | 逗号分隔的sha256可執行檔案哈希表,下載下傳保護服務應将其視為“危險”。 為了使檔案顯示警告,還必須将其視為危險的檔案類型,并且不得将其列入白名單(通過簽名或URL),并且必須在受支援的OS上。 哈希為十六進制。 當尋找繞過下載下傳保護的方法時,它用于手動測試。 |
--SafeSites | |
--saml-password-change-url | SAML使用者的密碼更改URL。 TODO(941489):修複了錯誤後将其删除。 |
--sandbox-ipc | 使該程序作為沙箱IPC子程序運作。 |
--sandbox-mojo-pipe-token | 在代理程序中生成并傳遞到沙箱程序的Mojo管道令牌,以與EngineCommands IPC接口綁定。 |
--sandboxed-process-id | 用于辨別要生成的沙箱程序的ID。 |
--save-page-as-mhtml | 禁用将頁面另存為僅HTML,禁用将頁面另存為HTML Complete(帶有子資源目錄)。 僅啟用将頁面另存為MHTML。 有關如何删除此開關的資訊,請參見http://crbug.com/120416。 |
--scan-locations | 用于限制将要掃描的跟蹤位置。 跟蹤位置應指定為整數,以逗号分隔。 例如:--scan-locations = 1,2,3,5 |
--scanning-timeout | 以分鐘為機關設定掃描階段的逾時時間。 |
--scheduler-configuration | 選擇參數中指定的排程程式配置。 |
--scheduler-configuration-default | 指定如果使用者未設定預設排程程式配置值的預設值。 |
--screen-config | 為FakeDisplayDelegate指定初始螢幕配置或所有顯示器的狀态,有關格式的詳細資訊,請參見類。 |
--screenshot | 儲存已加載頁面的螢幕截圖。 |
--search-provider-logo-url | 使用靜态URL作為預設搜尋引擎的徽标。 示例:https://www.google.com/branding/logo.png |
--secondary-display-layout | |
--service | |
--service-manager | |
--service-name | 訓示要運作的服務的名稱。 對于調試或建構服務可執行檔案以支援作為許多潛在的不同服務運作非常有用。 |
--service-request-attachment-name | |
--service-request-channel-token | 用于為子程序中的服務構造消息管道的令牌。 |
--service-runner | |
--service-sandbox-type | 适用于運作服務的程序的沙箱類型,是下一個塊中的值之一。 |
--set-extension-throttle-test-params | 設定ExtensionURLLoaderThrottleBrowserTest的參數。 |
--shader-disk-cache-size-kb | 允許顯式指定嵌入式裝置的着色器磁盤緩存大小。 預設值為6MB。 在Android上,預設設定為2MB,低端裝置為128KB。 |
--shared-files | |
--sharing_service | |
--shelf-hotseat | 機架的新子產品化設計,應用程式分離為熱座UI和翻蓋模式下的較小機架。 |
--shelf-hover-previews | 将滑鼠懸停在架子上時,應用視窗會預覽。 |
--shill-stub | 覆寫Shill存根行為。 預設情況下,啟用了以太網,wifi和vpn,并且過渡瞬間發生。 多個選項可以用逗号分隔(沒有空格)。 注意:所有選項的格式均為'foo = x'。 值區分大小寫,并且基于service_constants.h中的Shill名稱。 有關實作,請參見FakeShillManagerClient :: SetInitialNetworkState。 示例:'clear = 1'-清除所有預設配置'wifi = on'-最初連接配接了wifi網絡('1'也有效)'wifi = off'-最初斷開了Wifi網絡('0'也有效) 'wifi = disabled'-Wifi最初被禁用'wifi = none'-Wifi不可用'wifi = portal'-Wifi連接配接将處于門戶狀态'cellular = 1'-蜂窩最初已連接配接'cellular = LTE'-蜂窩 最初已連接配接,技術為LTE'interactive = 3'-互動模式,連接配接/掃描/等請求需要3秒鐘 |
--short-merge-session-timeout-for-test | 對合并會話加載程式油門測試使用短時間(1秒)逾時。 |
--short-reporting-delay | 将Reporting API延遲設定為小于一秒,以允許更快地報告。 |
--show-aggregated-damage | 将DebugBorderDrawQuad添加到根RenderPass的頂部,以顯示表面聚集後矩形的損壞。 請注意,啟用此功能後,在添加四邊形以突出顯示實際損壞矩形後,會将整個輸出矩形設定為已損壞,這可能會隐藏損壞矩形問題。 |
--show-android-files-in-files-app | 如果為true,則Android内部存儲中的檔案将顯示在“檔案”應用中。 |
--show-auth-dialog-dev-overlay | 如果為true,則将在會話中身份驗證對話框中顯示調試視圖覆寫圖。 這樣可以開發對話框。 TODO(yichenli):在釋出功能後将其删除。 |
--show-autofill-signatures | 用自動填充簽名注釋表單和字段。 |
--show-autofill-type-predictions | 使用自動填充字段類型預測注釋表單。 |
--show-component-extension-options | 使元件擴充名出現在chrome:// settings / extensions中。 |
--show-composited-layer-borders | 在合成器圖層周圍繪制邊框,以幫助調試和研究圖層合成。 |
--show-dc-layer-debug-borders | 顯示DC層的調試邊界-紅色表示疊加,藍色表示參考底圖。 為了清楚起見,調試邊界與rect圖層偏移了幾個像素。 |
--show-fps-counter | 繪制平視顯示器,顯示每秒幀數以及GPU記憶體使用情況。 如果還使用--enable-logging = stderr --vmodule =“ head * = 1”,則FPS也将輸出到控制台日志。 |
--show-icons | 請參閱kHideIcons。 |
--show-layer-animation-bounds | 渲染一個邊框,該邊框代表圖層動畫的邊界框。 |
--show-layout-shift-regions | 在網頁中的布局偏移區域周圍可視地繪制邊框,以幫助調試和研究布局偏移。 |
--show-login-dev-overlay | 如果為true,則會在登入/鎖定螢幕上顯示開發人員工具疊加層。 這使得測試布局邏輯更加容易。 |
--show-mac-overlay-borders | 在CALayers周圍顯示與覆寫和部分損壞相對應的邊界。 |
--show-oobe-dev-overlay | 啟用OOBE UI調試器,以便在手動測試期間在螢幕之間輕松導航。 僅限于Linux上的ChromeOS和僅測試映像。 |
--show-overdraw-feedback | 根據顔色編碼元素是否在下面繪制其他元素來可視化透支。 這對于顯示UI可能在不必要的地方進行更多渲染工作的位置很有用。 顔色暗示着螢幕上每個像素的透支量,如下所示:真彩色:無透支。 藍色:透支一次。 綠色:透支兩次。 粉紅:透支三遍。 紅色:透支四次或以上。 |
--show-paint-rects | 在網頁中的繪畫區域周圍可視地繪制邊框,以幫助調試和研究繪畫行為。 |
--show-property-changed-rects | 在HUD中顯示屬性已更改的圖層周圍的矩形。 |
--show-screenspace-rects | 在HUD中顯示每層螢幕空間轉換邊界周圍的矩形。 |
--show-surface-damage-rects | 在HUD中顯示損壞附近的矩形,因為它記錄在每個渲染表面中。 |
--show-taps | 在每個接觸點繪制一個圓圈,類似于Android OS開發者選項“顯示水龍頭”。 |
--silent-debugger-extension-api | 當擴充程式使用chrome.debugger頁面附加到頁面時,不顯示資訊欄。 需要附加到擴充程式背景頁面。 |
--silent-launch | 預設情況下,導緻Chrome在不打開任何視窗的情況下啟動。 如果希望将Chrome用作ash伺服器,則非常有用。 |
--simulate-critical-update | 模拟可用的關鍵更新。 |
--simulate-elevated-recovery | 模拟恢複更新通道所需的海拔高度。 |
--simulate-outdated | 模拟目前版本已過時。 |
--simulate-outdated-no-au | 模拟目前版本已過時并且自動更新已關閉。 |
--simulate-update-error-code | 通過更新檢查模拟GoogleUpdateErrorCode錯誤。 必須提供 |
--simulate-update-hresult | 模拟更新檢查傳回的特定HRESULT錯誤代碼。 如果未指定開關值(十六進制),則預設為E_FAIL。 |
--simulate-upgrade | 模拟可用的更新。 |
--single-process | 在與浏覽器相同的過程中運作渲染器和插件 |
--site-per-process | |
--skia-font-cache-limit-mb | 指定skia字型緩存應使用的最大位元組數。 如果緩存需要配置設定更多,skia将清除先前的條目。 |
--skia-resource-cache-limit-mb | 指定skia資源緩存應使用的最大位元組數。 當記憶體使用量超過此限制時,将從緩存中清除先前的條目。 |
--slow-down-compositing-scale-factor | 多次重畫所有内容以模拟速度慢得多的機器。 給出一個減慢因子,以使渲染器花費更長的時間才能完成渲染,例如--slow-down-compositing-scale-factor = 2。 |
--slow-down-raster-scale-factor | 多次重新栅格化所有内容,以模拟速度慢得多的計算機。 給出比例因子以使栅格花費更長的時間才能完成,例如--slow-down-raster-scale-factor = 25。 |
--sms-test-messages | 在第一次調用RequestUpdate時發送測試消息(僅存根)。 |
--spdy-proxy-auth-fallback | 資料縮減代理回退的起源。 |
--spdy-proxy-auth-origin | 資料縮減代理的來源。 |
--spdy-proxy-auth-value | 資料縮減代理身份驗證的測試密鑰。 |
--speech_recognition | |
--ssl-key-log-file | 使SSL密鑰材料記錄到指定檔案中以進行調試。 有關格式,請參見https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format。 |
--ssl-version-max | 指定最大SSL / TLS版本(“ tls1.2”或“ tls1.3”)。 |
--ssl-version-min | 指定最低SSL / TLS版本(“ tls1”,“ tls1.1”,“ tls1.2”或“ tls1.3”)。 |
--stable-release-mode | 這使我們禁用了某些Web平台運作時功能,以便我們測試content_shell好像它是一個穩定的版本。 僅當設定了kRunWebTest時才遵循。 有關功能級别,請參見http://dev.chromium.org/blink/runtime-enabled-features。 |
--staging | “登台”環境的指令行别名和URL。 |
--start-fullscreen | 指定浏覽器是否應以全屏模式啟動,例如使用者是否在啟動後立即按了F11鍵。 |
--start-in-incognito | 使用隐身模式下的配置檔案啟動外殼。 |
--start-maximized | 無論以前的任何設定如何,都以最大化的速度啟動浏覽器。 |
--start-stack-profiler | 在子程序中啟動堆棧采樣分析器。 |
--started | kTestCrosGaiaIdMigration的值,訓示遷移已開始(即,所有存儲的使用者密鑰都将轉換為GaiaId) |
--storage-pressure-notification-interval | 間隔(以分鐘為機關),用于存儲壓力通知限制。 對于開發人員測試可能使用大量磁盤空間的應用程式很有用。 |
--structured-metrics-disabled | 禁用Cros操作的結構化名額記錄。 |
--stub | |
--suppress-message-center-popups | 隐藏所有消息中心通知彈出視窗(吐司)。 |
--surface | |
--swiftshader | |
--swiftshader-webgl | |
--sync-deferred-startup-timeout-seconds | 允許覆寫延遲的初始回退逾時。 |
--sync-disable-deferred-startup | 啟用将同步後端初始化推遲到使用者啟動的更改發生之前。 |
--sync-include-specifics | 控制是否啟用chrome:// sync-internals上“ Capture Specifics”标志的初始狀态。 |
--sync-short-initial-retry-override | 此标志使同步在遇到錯誤時能夠非常快地重試(請參閱polling_constants.h),這是邁向指數補償的第一步。 |
--sync-short-nudge-delay-for-test | 該标志大大縮短了輕推周期之間的延遲。 其主要目的是加快內建測試。 正常的延遲可以合并并防止伺服器過載,是以,除非您确實确定它是您想要的,否則請不要使用它。 |
--sync-url | 覆寫用于配置檔案同步的預設伺服器。 |
--sys-info-file-path | 系統資訊檔案路徑。 預設值為空字元串,這意味着将使用虛拟資訊。 |
--system-developer-mode | 由FakeDebugDaemonClient使用,以在Linux環境中運作時指定系統是否在開發模式下運作。 開發模式探測由會話管理器完成。 |
--system-gesture-start-height | 螢幕頂部或底部的像素數,可以視為頂部或底部滑動手勢的有效原點。 覆寫cast_system_gesture_handler.cc中的預設值。 |
--system-gesture-start-width | 螢幕最左側或右側的像素數,可以視為左右滑動手勢的有效原點。 |
--system-log-upload-frequency | 系統日志上傳的頻率(以毫秒為機關)。 |
--telemetry-extension-dir | 指定遙測系統Web擴充的目錄。 |
--test-child-process | 當運作某些生成子程序的測試時,此開關向測試架構表明目前程序是子程序。 |
--test-cros-gaia-id-migration | 控制CrOS GaiaId遷移以進行測試(預設為“”)。 |
--test-do-not-initialize-icu | 當運作某些生成子程序的測試時,此開關會向測試架構訓示目前程序不應初始化ICU,以避免在啟動時過早建立任何作用域句柄。 |
--test-encryption-migration-ui | 啟用對加密遷移UI的測試。 |
--test-gl-lib | 用于Linux測試的标志:對于桌面GL綁定,請嘗試首先加載此GL庫,但是如果加載失敗,則退回正常庫。 |
--test-logging-path | 設定測試時儲存日志的路徑。 |
--test-logging-url | 設定測試日志記錄URL,将日志上傳到該URL。 |
--test-name | 将目前正在運作的自動化測試的名稱傳遞給Chrome。 |
--test-type | 目前測試工具的類型(“浏覽器”或“ ui”)。 |
--test-wallpaper-server | 使牆紙選擇器可以從測試伺服器擷取圖像。 |
--testing | 在測試期間設定的标志,并存儲為崩潰密鑰,以差別于實際使用者收到的崩潰。 |
--tether-host-scans-ignore-wired-connections | 告訴Chromebook即使已建立有線連接配接,也要掃描網絡共享主機。 這允許在不使用該連接配接的情況下通過以太網部署端到端測試,進而阻止掃描,進而阻止沒有預先存在的連接配接的案例的測試。 |
--tether-stub | 用存根服務覆寫Tether。 提供所需的僞網絡數量的整數參數,例如 'tether-stub = 2'。 |
--third-party-doodle-url | 覆寫用于第三方搜尋引擎的Doodle URL。 測試? 嘗試:https://www.gstatic.com/chrome/ntp/doodle_test/third_party_simple.json https://www.gstatic.com/chrome/ntp/doodle_test/third_party_animated.json |
--timeout | 在指定的毫秒數後發出停止。 這将取消所有導航,并導緻觸發DOMContentLoaded事件。 |
--tint-composited-content | 淡色合成色。 |
--tls1 | |
--tls1.1 | |
--tls1.2 | |
--tls1.3 | |
--top-chrome-touch-ui | 控制頂部鑲邊的觸摸優化UI布局。 |
--top-controls-hide-threshold | 必須先隐藏浏覽器控件的百分比,然後它們才能自動隐藏。 |
--top-controls-show-threshold | 在自動顯示之前,需要顯示浏覽器控件的百分比。 |
--touch-devices | 告訴Chrome将來自這些裝置的事件解釋為觸摸事件。 |
--touch-events | 啟用對觸摸事件功能檢測的支援。 |
--touch-selection-strategy | 控制拖動觸摸文本選擇搖桿時文本選擇粒度的變化方式。 應該是“字元”或“方向”。 如果未指定,則使用平台預設值。 |
--touchscreen-usable-while-screen-off | 與其他Chrome作業系統裝置上的觸摸屏不同,Chromebase的觸摸屏可用于從暫停狀态喚醒。 如果已設定,則在螢幕關閉時,觸摸屏将保持啟用狀态,以便在關閉螢幕以使其處于非活動狀态之後但在系統挂起之前,可以将其重新打開。 |
--touch_view | |
--trace-config-file | 使TRACE_EVENT标志從啟動開始記錄。 如果提供了--trace-startup或--trace-shutdown,則将忽略此标志。 |
--trace-startup | (可選)可以指定要包括的特定跟蹤類别(例如--trace-startup = base,net),否則,将記錄所有事件。 設定此标志将導緻對BeginTracing()的首次調用,以接收自啟動以來的所有跟蹤事件。 在Chrome中,您可能會找到--trace-startup-file和--trace-startup-duration來控制跟蹤的自動儲存(僅基于Base的TraceLog元件不支援)。 |
--trace-startup-duration | 設定啟動跟蹤結束之前的時間(以秒為機關)。 如果省略,則使用預設值5秒。 沒有--trace-startup或沒有提供--startup-trace-file = none時無效。 |
--trace-startup-enable-privacy-filtering | 如果使用了perfetto跟蹤後端,這将在TraceEvent資料源中為啟動跟蹤會話啟用隐私篩選。 |
--trace-startup-file | 如果提供,設定啟動跟蹤将被存儲到的檔案,如果省略,則預設檔案将在目前目錄中使用“ chrometrace.log”。 除非也提供--trace-startup,否則沒有任何效果。 示例:--trace-startup --trace-startup-file = / tmp / trace_event.log在特殊情況下,可以設定為“ none”-這将禁用自動将結果儲存到檔案,并且第一個手動記錄的跟蹤将 然後接收自啟動以來的所有事件。 |
--trace-startup-owner | 指定啟動跟蹤會話的協調器。 如果使用傳統跟蹤後端而不是perfetto,則無需提供此标志。 有效值:“ controller”,“ devtools”或“ system”。 預設為“控制器”。 如果指定了'controller',則通過TracingController控制和停止會話(例如,實作逾時)。 如果指定了'devtools',則啟動跟蹤會話将由DevTools擁有,是以可以在連接配接到浏覽器端點的第一個會話上通過DevTools跟蹤域進行控制(即停止)。 如果指定了“系統”,則系統Perfetto服務應該已經在支援的平台(目前僅Android)上進行跟蹤。 通過用于停止系統跟蹤的正常方法來停止會話。 |
--trace-startup-record-mode | 如果提供,則設定跟蹤記錄模式和選項。 否則,将使用預設的“ record-until-full”模式。 |
--trace-to-console | 将列印精美的跟蹤資訊版本發送到控制台。 |
--trace-to-file | 将跟蹤事件從這些類别發送到檔案。 --trace-to-file會自行發送到預設類别。 |
--trace-to-file-name | 指定--trace-to-file的檔案名。 如果未指定,它将使用預設檔案名。 |
--trace-upload-url | 設定用于上傳跟蹤資料的目标URL。 |
--translate-ranker-model-url | 覆寫從中下載下傳翻譯排名模型的URL。 |
--translate-script-url | 覆寫用于Google翻譯的預設伺服器。 |
--translate-security-origin | 覆寫Translate在孤立的環境中運作時的安全起源。 |
--true | 訓示指令行開關中的标志是否為真的值。 |
--trustable-web-bundles-file-url | 接受可信任WebBundle檔案的指定檔案URL。 該标志應僅用于測試目的。 |
--trusted-cdn-base-url-for-tests | 指定用于測試的受信任CDN的基本URL。 |
--trusted-download-sources | 将下載下傳源清單辨別為受信任的下載下傳源清單,但前提是設定了正确的組政策。 |
--try-chrome-again | 實驗性的。 顯示一個對話框,要求使用者嘗試使用chrome。 該标志僅在更新過程中使用。 |
--try-supported-channel-layouts | 檢查驅動程式是否支援源通道布局,而不是始終使用硬體通道布局。 避免輸出空聲道,并允許驅動程式啟用立體聲到多聲道擴充。 由于某些驅動程式隻支援受支援的布局,是以在使用時會挂起,是以将其保留在了後面。 有關更多詳細資訊,請參見http://crbug.com/259165。 |
--tts | |
--type | 訓示要運作的程序的類型。 這可以是“服務管理器”,“服務運作器”或嵌入器支援的任何其他任意值。 |
--ui-compositor-memory-limit-when-visible-mb | |
--ui-disable-partial-swap | 禁用某些OpenGL驅動程式/仿真器所需的部分交換。 |
--ui-disable-zero-copy | |
--ui-enable-layer-lists | 切換ui合成器以使用層清單而不是層樹。 |
--ui-enable-rgba-4444-textures | |
--ui-enable-zero-copy | |
--ui-show-composited-layer-borders | |
--ui-show-fps-counter | |
--ui-show-layer-animation-bounds | |
--ui-show-paint-rects | |
--ui-show-property-changed-rects | |
--ui-show-screenspace-rects | |
--ui-show-surface-damage-rects | |
--ui-slow-animations | |
--unfiltered-bluetooth-devices | 在使用者界面中顯示所有藍牙裝置(系統托盤/設定頁面。) |
--uninstall | 運作由chrome首次運作完成的解除安裝步驟。 |
--unlimited-storage | 将每個來源的配額設定覆寫為任何應用程式/來源的無限存儲空間。 這僅應用于測試目的。 |
--unsafely-allow-protected-media-identifier-for-domain | 為了自動測試受保護的内容,此開關允許特定的域(例如example.com)跳過詢問使用者共享共享受保護媒體辨別符的權限。 在這種情況下,域不包括端口号。 啟用此開關不會影響使用者的内容設定。 參考:http://crbug.com/718608示例:--unsafely-allow-protected-media-identifier-for-domain = a.com,b.ca |
--unsafely-treat-insecure-origin-as-secure | 将給定的(不安全的)起源視為安全的起源。 多個來源可以逗号分隔的清單形式提供。 有關安全上下文的定義,請參見https://w3c.github.io/webappsec-secure-contexts/和https://www.w3.org/TR/powerful-features/#is-origin-trustworthy示例:- -unsafely-treat-insecure-origin-as-secure = http://a.test,http://b.test |
--upload-log-file | 指定要上載的協定緩沖區日志檔案的完整路徑。 |
--use-adapter-luid | 使用具有指定LUID的擴充卡初始化GPU程序。 這僅在Windows上使用,因為LUID是Windows特定的結構。 |
--use-angle | 選擇要使用的ANGLE後端。 選項包括:預設值:嘗試多個ANGLE渲染器,直到一個成功初始化為止,這會因平台而異。 d3d9:舊版D3D9渲染器,僅ES2。 d3d11:D3D11渲染器,ES2和ES3。 扭曲:使用軟體栅格化的D3D11渲染器,ES2和ES3。 gl:桌面GL渲染器,ES2和ES3。 gles:GLES渲染器,ES2和ES3。 |
--use-cmd-decoder | 使用傳遞指令解碼器,跳過所有驗證和狀态跟蹤。 開關位于ui / gl中,因為它會影響平台上的GL綁定初始化,否則這些平台不會預設使用EGL綁定。 |
--use-cras | 使用CRAS(ChromeOS音頻伺服器)。 |
--use-crash-handler-in-tests | 如果存在,測試線束将使用崩潰報告器。 |
--use-crash-handler-with-id | 指定要使用的崩潰處理程式的IPC管道名稱(而不是啟動新的崩潰處理程式程序)。 |
--use-fake-codec-for-peer-connection | 将對等連接配接中支援的現有編解碼器替換為一個僞造的編解碼器條目,該條目可建立僞造的視訊編碼器和解碼器。 |
--use-fake-device-for-media-stream | 使用僞造的媒體流裝置替換實際的攝像頭和麥克風。 有關允許的參數的清單,請參見FakeVideoCaptureDeviceFactory :: ParseFakeDevicesConfigFromOptionsString()。 |
--use-fake-mjpeg-decode-accelerator | 使用僞造的裝置來加速MJPEG的解碼。 例如,這允許測試到GPU服務的通信,而無需提供實際的加速器硬體。 |
--use-fake-ui-for-media-stream | 通過為媒體流選擇預設裝置(例如WebRTC)來繞過媒體流資訊欄。 與--use-fake-device-for-media-stream一起使用。 |
--use-file-for-fake-audio-capture | |
--use-file-for-fake-video-capture | 使用.y4m檔案作為網絡攝像頭播放。 有關更多詳細資訊,請參見media / capture / video / file_video_capture_device.h中的注釋。 |
--use-first-display-as-internal | 将--ash-host-window-bounds中的第一個顯示用作内部顯示。 這用于在Linux桌面上進行調試。 |
--use-gl | 選擇GPU程序應使用哪種GL實作。 選項包括:桌面:使用者安裝的任何桌面OpenGL(預設為Linux和Mac)。 egl:使用者已安裝的任何EGL / GLES2(Windows預設設定-實際上是ANGLE)。 swiftshader:SwiftShader軟體渲染器。 |
--use-gpu-high-thread-priority-for-perf-tests | 增加gpu程序和複合線程的優先級(至REALTIME_AUDIO)。 僅用于在macOS上進行性能測試,以獲得更可靠的值。 |
--use-gpu-in-tests | 使用硬體gpu(如果有)進行測試。 |
--use-legacy-metrics-service | |
--use-mobile-user-agent | 設定Chromium應何時使用移動使用者代理。 |
--use-mock-cert-verifier-for-testing | 使用MockCertVerifier。 |
--use-mock-keychain | |
--use-system-clipboard | 為linux-chromeos啟用臭氧x11剪貼闆。 |
--use-system-default-printer | 使用系統預設列印機作為列印預覽中最初選擇的目标,而不是最近使用的目标。 |
--use-temp-registry-path | 用指定的臨時系統資料庫替代系統資料庫。 |
--use-vulkan | 啟用Vulkan支援并選擇Vulkan實作,還必須定義ENABLE_VULKAN。 這僅初始化Vulkan,還必須使用--enable-features = Vulkan标志來選擇Vulkan進行合成和栅格化。 |
--user-agent | 一個字元串,用于使用自定義代理覆寫預設使用者代理。 |
--user-agent-product | |
--user-always-affiliated | 始終将使用者視為附屬會員。 TODO(antrim):一旦測試伺服器正确産生附屬ID,請删除。 |
--user-data-dir | 浏覽器存儲使用者配置檔案的目錄。 |
--user-data-migrated | 表示此過程是使用者資料遷移後重新啟動的産物。 |
--user-gesture-required | 自動播放政策要求使用者手勢才能播放。 |
--user-response-timeout | 設定等待Chrome使用者響應的時間(以分鐘為機關)。 |
--utility | |
--utility-and-browser | |
--utility-cmd-prefix | 該标志的内容位于公用程式程序指令行的前面。 |
--utility-sampling | |
--utility-startup-dialog | 使實用程式程序在啟動時顯示一個對話框。 |
--utility-sub-type | 此開關訓示實用程式程序的類型。 Chrome并未使用它,而是将其添加到指令行中以進行調試和分析。 |
--v | 給出預設的最大活動V記錄級别; 預設值為0。 通常,V記錄級别使用正值。 |
--v8-cache-options | 設定選項以緩存V8資料。 (關閉,準備資料或代碼) |
--validate-crx | 檢查.crx的有效性并列印結果。 |
--validate-input-event-stream | 在調試版本中,斷言輸入事件流是有效的。 |
--validating | 可以傳遞給--use-cmd-decoder的指令解碼器名稱。 |
--variations-insecure-server-url | 為 |
--variations-override-country | 允許覆寫用于評估差異的國家/地區。 這類似于chrome:// translate-internals上的“替代版本國家/地區”條目,但作為指令行标志公開,以允許測試“首次運作”方案。 此外,與chrome:// translate-internals不同,該值不會在會話之間持久存在。 |
--variations-server-url | 為伺服器指定一個自定義URL,該URL向用戶端報告變化資料。 指定此開關将在非官方版本上啟用“變體”服務。 請參閱variances_service.cc。 |
--version | |
--video-capture-use-gpu-memory-buffer | 啟用基于GpuMemoryBuffer的緩沖池。 |
--video-image-texture-target | CHROMIUM_image支援的視訊幀紋理的紋理目标。 |
--video-threads | 設定用于視訊解碼的線程數。 |
--video-underflow-threshold-ms | 允許用戶端覆寫存在音頻時媒體渲染器将聲明視訊流下溢狀态的門檻值。 TODO(dalecurtis):删除一次http://crbug.com/470940完成的實驗。 |
--video_capture | |
--virtual-time-budget | 如果設定,則系統在認為頁面準備就緒之前會等待指定的虛拟毫秒數。 對于确定性,在有待處理的網絡提取時,虛拟時間不會提前(即不會觸發任何計時器)。 一旦完成所有網絡提取,計時器就會啟動,并且如果系統虛拟時間用完了,則會快速轉發,是以下一個計時器會立即啟動,直到指定的虛拟時間預算用盡。 |
--vmodule | 給出每個子產品的最大V記錄級别,以覆寫--v給定的值。 “ my_module = 2,foo * = 3”将更改源檔案“ my_module。*”和“ foo 。”中所有代碼的日志記錄級别(此比對也忽略“ -inl”字尾)。 任何包含正斜杠或反斜杠的模式都将針對整個路徑名(而不僅僅是子產品)進行測試。 例如,“ * / foo / bar / * = 2”将更改“ foo / bar”目錄下源檔案中所有代碼的日志記錄級别。 |
--vsync-interval | 覆寫GPU程序用于重新整理顯示的vsync間隔。 |
--vulkan | |
--vulkan-null | |
--wait-for-debugger | 将等待60秒鐘,以便調試器附加到該程序。 |
--wait-for-debugger-children | 将kWaitForDebugger添加到每個子程序。 如果傳遞了一個值,它将用作篩選器,以确定子程序是否應該傳遞kWaitForDebugger标志。 |
--wait-for-debugger-webui | WebUI測試運作程式用于等待附加調試器的标志。 |
--wait-for-initial-policy-fetch-for-test | 用于告訴政策基礎結構在測試手動設定政策之前不要讓配置檔案初始化完成。 這用于向後相容一些錯誤地使用同步初始化的登入配置檔案來運作其測試的測試-請勿添加此标志的新用法。 |
--wallet-service-use-sandbox | 使用沙盒線上錢包服務URL(用于開發人員測試)。 |
--waveout-buffers | WaveOut使用的緩沖區數。 |
--web-otp-backend | 為Web OTP API啟用指定的後端。 |
--web-otp-backend-sms-verification | 為Web OTP API啟用Sms驗證後端,這需要SMS正文中的應用程式哈希。 |
--web-otp-backend-user-consent | 為Web OTP API啟用使用者同意後端。 |
--webapk-server-url | 自定義WebAPK伺服器URL,以便進行測試。 |
--webgl-antialiasing-mode | 設定用于webgl的抗鋸齒方法。 (無,顯式,隐式) |
--webgl-msaa-sample-count | 如果啟用了msaa,請為webgl設定預設樣本計數。 |
--weblayer-user-data-dir | 使WebLayer Shell将給定的路徑用于其資料目錄。 |
--webrtc-event-log-proactive-pruning-delta | 設定主動修剪遠端綁定的WebRTC事件日志之間的延遲(以秒為機關),這些事件日志正在等待上載。 所有正值都是合法的。 所有負值都是非法的,将被忽略。 如果設定為0,則含義為“無主動修剪”。 |
--webrtc-event-log-upload-delay-ms | 僅在條件持續這麼長時間的情況下,WebRTC事件日志才會上載。 |
--webrtc-event-log-upload-no-suppression | 通常,僅當沒有對等連接配接處于活動狀态時,才上載遠端綁定的WebRTC事件日志。 使用此标志,将永遠不會禁止上傳。 |
--webrtc-event-logging | 無需通路chrome:// webrtc-internals,即可啟用WebRTC事件日志的捕獲和本地存儲。 這對于自動測試很有用。 它接受将本地日志存儲到的路徑。 如果不重新啟動浏覽器并在沒有此标志的情況下重新啟動,則無法禁用。 |
--webrtc-max-cpu-consumption-percentage | 配置可用于桌面捕獲的單個核心的最大CPU時間百分比。 預設值為50。設定100以禁用捕獲的限制。 |
--webrtc-stun-probe-trial | WebRTC Stun探針試用版的渲染器過程參數,用于确定時間間隔。 有關更多詳細資訊,請參閱chrome_browser_field_trials_desktop.cc中的SetupStunProbeTrial。 |
--webview-disable-safebrowsing-support | 用于禁用Webview中的安全浏覽功能 |
--webview-enable-vulkan | 用于為Webview啟用vulkan繪制模式而不是interop繪制模式。 |
--webview-log-js-console-messages | |
--webview-safebrowsing-block-all-resources | 啟用安全浏覽并使WebView将所有資源視為惡意資源。 注意:這将阻止所有資源的加載。 |
--webview-sandboxed-renderer | |
--webview-verbose-logging | WebView會将其他調試資訊記錄到logcat中,例如版本和指令行狀态。 |
--whitelisted-extension-id | 将給定的擴充ID添加到所有權限允許清單。 |
--win-jumplist-action | 指定單擊Windows跳轉清單中導緻浏覽器啟動的類别選項。 |
--window-position | 指定初始視窗位置:--window-position = x,y |
--window-size | 設定初始視窗大小。 以字元串形式提供,格式為“ 800,600”。 |
--window-workspace | 指定初始視窗工作區:--window-workspace = id |
--windows-mixed-reality | |
--winhttp-proxy-resolver | 使用WinHTTP來擷取和評估PAC腳本。 否則,預設設定是使用Chromium的網絡堆棧來擷取,并使用V8進行評估。 |
--with-cleanup-mode-logs | 确定允許高架清潔程式收集日志。 如果 |
--wm-window-animations-disabled | 如果存在,則禁用動畫。 |
--xr_compositing | |
--xsession_chooser | |
--zygote | 使程序作為合子運作。 |
分類: 其他