Chrome的启动参数集锦(七)
--rdp_desktop_session ⊗ | No description ↪ |
--reader-mode-feedback ⊗ | No description ↪ |
--reader-mode-heuristics ⊗ | No description ↪ |
Makes browser pixel tests overwrite the reference if it does not match. ↪ | |
--reduce-security-for-testing ⊗ | Enables more web features over insecure connections. Designed to be used for testing purposes only. ↪ |
--reduced-referrer-granularity ⊗ | Reduce the default `referer` header's granularity. ↪ |
--register-font-files ⊗ | Registers additional font files on Windows (for fonts outside the usual %WINDIR%\Fonts location). Multiple files can be used by separating them with a semicolon (;). ↪ |
--register-pepper-plugins ⊗ | Register Pepper plugins (see pepper_plugin_list.cc for its format). ↪ |
Relaunches metro Chrome on Windows 8 and higher using a given shortcut. ↪ | |
A process type (switches::kProcessType) that relaunches the browser. See chrome/browser/mac/relauncher.h. ↪ | |
--remote-debugging-port ⊗ | Enables remote debug over HTTP on the specified port. ↪ |
Enables remote debug over HTTP on the specified socket name. ↪ | |
--remote-debugging-targets ⊗ | Porvides a list of addresses to discover DevTools remote debugging targets. The format is <host>:<port>,...,<host>:port. ↪ |
--renderer ⊗ | Causes the process to run as renderer instead of as browser. ↪ |
--renderer-cmd-prefix ⊗ | The contents of this flag are prepended to the renderer command line. Useful values might be "valgrind" or "xterm -e gdb --args". ↪ |
--renderer-process-limit ⊗ | 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. ↪ |
--renderer-startup-dialog ⊗ | Causes the renderer process to display a dialog on launch. ↪ |
Block ChildProcessMain thread of the renderer's ChildProcessService until a Java debugger is attached. ↪ | |
--require-audio-hardware-for-testing ⊗ | When running tests on a system without the required hardware or libraries, this flag will cause the tests to fail. Otherwise, they silently succeed. ↪ |
--requirements ⊗ | No description ↪ |
--reset-app-list-install-state ⊗ | If set, the app list will forget it has been installed on startup. Note this doesn't prevent the app list from running, it just makes Chrome think the app list hasn't been enabled (as in kEnableAppList) yet.↪ |
--reset-variation-state ⊗ | Forces a reset of the one-time-randomized FieldTrials on this client, also known as the Chrome Variations state. ↪ |
--restore-last-session ⊗ | Indicates the last session should be restored on startup. This overrides the preferences value and is primarily intended for testing. The value of this switch is the number of tabs to wait until loaded before 'load completed' is sent to the ui_test. ↪ |
--restrict-iframe-permissions ⊗ | Causes all iframes to be denied all permissions by default. Allowing particular permissions for an iframe may involve listing the names of these permissions as values of new iframe attributes. ↪ |
--root-layer-scrolls ⊗ | Handles frame scrolls via the root RenderLayer instead of the FrameView. ↪ |
--rtl ⊗ | No description ↪ |
--run-layout-test ⊗ | Request the render trees of pages to be dumped as text once they have finished loading. ↪ |
--safebrowsing-disable-auto-update ⊗ | If present, safebrowsing only performs update when SafeBrowsingProtocolManager::ForceScheduleNextUpdate() is explicitly called. This is used for testing only. ↪ |
--safebrowsing-disable-download-protection ⊗ | TODO(lzheng): Remove this flag once the feature works fine (http://crbug.com/74848). Disables safebrowsing feature that checks download url and downloads content's hash to make sure the content are not malicious. ↪ |
--safebrowsing-disable-extension-blacklist⊗ | Disables safebrowsing feature that checks for blacklisted extensions. ↪ |
--safebrowsing-manual-download-blacklist⊗ | List of comma-separated sha256 hashes of executable files which the download-protection service should treat as "dangerous." For a file to show a warning, it also must be considered a dangerous filetype and not be whitelisted otherwise (by signature or URL) and must be on a supported OS. Hashes are in hex. This is used for manual testing when looking for ways to by-pass download protection. ↪ |
--SafeSites ⊗ | No description ↪ |
--sandbox-ipc ⊗ | Causes the process to run as a sandbox IPC subprocess. ↪ |
--save-page-as-mhtml ⊗ | Disable saving pages as HTML-only, disable saving pages as HTML Complete (with a directory of sub-resources). Enable only saving pages as MHTML. See http://crbug.com/120416 for how to remove this switch. ↪ |
--scripts-require-action ⊗ | Notify the user and require consent for extensions running scripts. Appending --scripts-require-action=1 has the same effect as --enable-scripts-require-action (see below). ↪ |
--scroll-end-effect ⊗ | Enables or disables scroll end effect in response to vertical overscroll. Set the value to '1' to enable the feature, and set to '0' to disable. Defaults to disabled. ↪ |
--secondary ⊗ | No description ↪ |
--service ⊗ | No description ↪ |
--service-name ⊗ | No description ↪ |
--shill-stub ⊗ | Overrides network stub behavior. By default, ethernet, wifi and vpn are enabled, and transitions occur instantaneously. Multiple options can be comma separated (no spaces). Note: all options are in the format 'foo=x'. Values are case sensitive and based on Shill names in service_constants.h. See FakeShillManagerClient::SetInitialNetworkState for implementation. Examples: 'clear=1' - Clears all default configurations 'wifi=on' - A wifi network is initially connected ('1' also works) 'wifi=off' - Wifi networks are all initially disconnected ('0' also works) 'wifi=disabled' - Wifi is initially disabled 'wifi=none' - Wifi is unavailable 'wifi=portal' - Wifi connection will be in Portal state 'cellular=1' - Cellular is initially connected 'cellular=LTE' - Cellular is initially connected, technology is LTE 'interactive=3' - Interactive mode, connect/scan/etc requests take 3 secs ↪ |
--show-app-list ⊗ | If true the app list will be shown. ↪ |
--show-autofill-type-predictions ⊗ | Annotates forms with Autofill field type predictions. ↪ |
--show-component-extension-options ⊗ | Makes component extensions appear in chrome://settings/extensions. ↪ |
--show-composited-layer-borders ⊗ | Renders a border around compositor layers to help debug and study layer compositing. ↪ |
See kHideIcons. ↪ | |
--show-layer-animation-bounds ⊗ | Renders a border that represents the bounding box for the layer's animation. ↪ |
Show borders around CALayers corresponding to overlays and partial damage. ↪ | |
--show-paint-rects ⊗ | Visibly render a border around paint rects in the web page to help debug and study painting behavior. ↪ |
--show-property-changed-rects ⊗ | Show rects in the HUD around layers whose properties have changed. ↪ |
--show-replica-screenspace-rects ⊗ | Show rects in the HUD around the screen-space transformed bounds of every layer's replica, when they have one. ↪ |
--show-saved-copy ⊗ | Command line flag offering a "Show saved copy" option to the user if offline. The various modes are disabled, primary, or secondary. Primary/secondary refers to button placement (for experiment). ↪ |
--show-screenspace-rects ⊗ | Show rects in the HUD around the screen-space transformed bounds of every layer. ↪ |
--show-surface-damage-rects ⊗ | Show rects in the HUD around damage as it is recorded into each render surface. ↪ |
--silent-debugger-extension-api ⊗ | Does not show an infobar when an extension attaches to a page using chrome.debugger page. Required to attach to extension background pages. ↪ |
--silent-launch ⊗ | Causes Chrome to launch without opening any windows by default. Useful if one wishes to use Chrome as an ash server. ↪ |
--simulate-critical-update ⊗ | Simulates a critical update being available. ↪ |
--simulate-elevated-recovery ⊗ | Simulates that elevation is needed to recover upgrade channel. ↪ |
--simulate-outdated ⊗ | Simulates that current version is outdated. ↪ |
--simulate-outdated-no-au ⊗ | Simulates that current version is outdated and auto-update is off. ↪ |
--simulate-printing-errors ⊗ | No description ↪ |
--simulate-upgrade ⊗ | Simulates an update being available. ↪ |
--single-process ⊗ | Load apps in a single processes. ↪ |
--site-per-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: http://www.chromium.org/developers/design-documents/site-isolation↪ |
--skip-gpu-data-loading ⊗ | Skip gpu info collection, blacklist loading, and blacklist auto-update scheduling at browser startup time. Therefore, all GPU features are available, and about:gpu page shows empty content. The switch is intended only for layout tests. TODO(gab): Get rid of this switch entirely. ↪ |
--slow ⊗ | Defines that Material Design visual feedback animations should be slow. ↪ |
--slow-connections-only ⊗ | No description ↪ |
--slow-down-raster-scale-factor ⊗ | Re-rasters everything multiple times to simulate a much slower machine. Give a scale factor to cause raster to take that many times longer to complete, such as --slow-down-raster-scale-factor=25. ↪ |
--sms-test-messages ⊗ | Sends test messages on first call to RequestUpdate (stub only). ↪ |
--spdy-proxy-auth-fallback ⊗ | The origin of the data reduction proxy fallback. ↪ |
--spdy-proxy-auth-origin ⊗ | The origin of the data reduction proxy. ↪ |
--spdy-proxy-auth-value ⊗ | A test key for data reduction proxy authentication. ↪ |
--spdy-proxy-dev-auth-origin ⊗ | The origin of the data reduction proxy dev. ↪ |
--speculative-resource-prefetching ⊗ | Speculative resource prefetching. ↪ |
Specifies the number of seconds between sending batches of feedback to spelling service. The default is 30 minutes. The minimum is 5 seconds. This switch is for temporary testing only. TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by August 2013. ↪ | |
Specifies the URL where spelling service feedback data will be sent instead of the default URL. This switch is for temporary testing only. TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by August 2013. ↪ | |
--ssl-key-log-file ⊗ | Causes SSL key material to be logged to the specified file for debugging purposes. See https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format for the format. ↪ |
--ssl-version-fallback-min ⊗ | Specifies the minimum SSL/TLS version ("tls1", "tls1.1", or "tls1.2") that TLS fallback will accept. ↪ |
--ssl-version-max ⊗ | Specifies the maximum SSL/TLS version ("tls1", "tls1.1", or "tls1.2"). ↪ |
--ssl-version-min ⊗ | Specifies the minimum SSL/TLS version ("tls1", "tls1.1", or "tls1.2"). ↪ |
--stable-release-mode ⊗ | This makes us disable some web-platform runtime features so that we test content_shell as if it was a stable release. It is only followed when kRunLayoutTest is set. For the features' level, see http://dev.chromium.org/blink/runtime-enabled-features. ↪ |
--start ⊗ | No description ↪ |
--start-fullscreen ⊗ | Specifies if the browser should start in fullscreen mode, like if the user had pressed F11 right after startup. ↪ |
--start-maximized ⊗ | Starts the browser maximized, regardless of any previous settings. ↪ |
--state-path ⊗ | No description ↪ |
--stop ⊗ | No description ↪ |
--strict-layer-property-change-checking ⊗ | Check that property changes during paint do not occur. ↪ |
--stub-cros-settings ⊗ | Indicates that a stub implementation of CrosSettings that stores settings in memory without signing should be used, treating current user as the owner. This also modifies OwnerSettingsServiceChromeOS::HandlesSetting such that no settings are handled by OwnerSettingsServiceChromeOS. This option is for testing the chromeos build of chrome on the desktop only. ↪ |
--supervised-user-safesites ⊗ | Enables/disables SafeSites filtering for supervised users. Possible values are "enabled", "disabled", "blacklist-only", and "online-check-only". ↪ |
--supports-dual-gpus ⊗ | Indicates whether the dual GPU switching is supported or not. ↪ |
--swiftshader ⊗ | No description ↪ |
--swiftshader-path ⊗ | No description ↪ |
--sync-allow-insecure-xmpp-connection ⊗ | Allows insecure XMPP connections for sync (for testing). ↪ |
--sync-deferred-startup-timeout-seconds⊗ | Allows overriding the deferred init fallback timeout. ↪ |
--sync-disable-deferred-startup ⊗ | Enables deferring sync backend initialization until user initiated changes occur. ↪ |
--sync-enable-get-update-avoidance ⊗ | Enables feature to avoid unnecessary GetUpdate requests. ↪ |
--sync-notification-host-port ⊗ | Overrides the default host:port used for notifications. ↪ |
--sync-short-initial-retry-override ⊗ | This flag causes sync to retry very quickly (see polling_constants.h) the when it encounters an error, as the first step towards exponential backoff. ↪ |
--sync-url ⊗ | Overrides the default server used for profile sync. ↪ |
--system-developer-mode ⊗ | Indicates that the system is running in dev mode. The dev mode probing is done by session manager. ↪ |
--system-log-upload-frequency ⊗ | Frequency in Milliseconds for system log uploads. Should only be used for testing purposes. ↪ |
--tab-capture-downscale-quality ⊗ | Upscale defaults to "good". ↪ |
--tab-capture-upscale-quality ⊗ | Scaling quality for capturing tab. Should be one of "fast", "good" or "best". One flag for upscaling, one for downscaling. Upscale defaults to "best". ↪ |
--test-auto-update-ui ⊗ | Enables testing for auto update UI. ↪ |
--test-child-process ⊗ | When running certain tests that spawn child processes, this switch indicates to the test framework that the current process is a child process. ↪ |
--test-gl-lib ⊗ | Flag used for Linux tests: for desktop GL bindings, try to load this GL library first, but fall back to regular library if loading fails. ↪ |
--test-name ⊗ | Passes the name of the current running automated test to Chrome. ↪ |
--test-type ⊗ | Type of the current test harness ("browser" or "ui"). ↪ |
--testing-fixed-http-port ⊗ | Allows for forcing socket connections to http/https to use fixed ports. ↪ |
--testing-fixed-https-port ⊗ | No description ↪ |
--tls1 ⊗ | These values aren't switches, but rather the values that kSSLVersionMax, kSSLVersionMin and kSSLVersionFallbackMin can have. ↪ |
--tls1.1 ⊗ | No description ↪ |
--tls1.2 ⊗ | No description ↪ |
Enables top Chrome material design elements. ↪ | |
--top-controls-hide-threshold ⊗ | Percentage of the top controls need to be hidden before they will auto hide. ↪ |
--top-controls-show-threshold ⊗ | Percentage of the top controls need to be shown before they will auto show. ↪ |
The calibration factors given as "<left>,<right>,<top>,<bottom>". ↪ | |
Tells chrome to interpret events from these devices as touch events. Only available with XInput 2 (i.e. X server 1.8 or above). The id's of the devices can be retrieved from 'xinput list'. ↪ | |
--touch-events ⊗ | Enable support for touch events. ↪ |
Tells Chrome to do additional touch noise filtering. Should only be used if the driver level filtering is insufficient. ↪ | |
--touch-selection-strategy ⊗ | 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. ↪ |
--trace-config-file ⊗ | Causes TRACE_EVENT flags to be recorded from startup. This flag will be ignored if --trace-startup or --trace-shutdown is provided. ↪ |
Enables the exporting of the tracing events to ETW. This is only supported on Windows Vista and later. ↪ | |
--trace-shutdown ⊗ | Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, can specify the specific trace categories to include (e.g. --trace-shutdown=base,net) otherwise, all events are recorded. --trace-shutdown-file can be used to control where the trace log gets stored to since there is otherwise no way to access the result. ↪ |
--trace-shutdown-file ⊗ | If supplied, sets the file which shutdown tracing will be stored into, if omitted the default will be used "chrometrace.log" in the current directory. Has no effect unless --trace-shutdown is also supplied. Example: --trace-shutdown --trace-shutdown-file=/tmp/trace_event.log ↪ |
--trace-startup ⊗ | No description ↪ |
--trace-startup-duration ⊗ | Sets the time in seconds until startup tracing ends. If omitted a default of 5 seconds is used. Has no effect without --trace-startup, or if --startup-trace-file=none was supplied. ↪ |
--trace-startup-file ⊗ | If supplied, sets the file which startup tracing will be stored into, if omitted the default will be used "chrometrace.log" in the current directory. Has no effect unless --trace-startup is also supplied. Example: --trace-startup --trace-startup-file=/tmp/trace_event.log As a special case, can be set to 'none' - this disables automatically saving the result to a file and the first manually recorded trace will then receive all events since startup. ↪ |
--trace-to-console ⊗ | Sends a pretty-printed version of tracing info to the console. ↪ |
--trace-to-file ⊗ | Sends trace events from these categories to a file. --trace-to-file on its own sends to default categories. ↪ |
--trace-to-file-name ⊗ | Specifies the file name for --trace-to-file. If unspecified, it will go to a default file name. ↪ |
--trace-upload-url ⊗ | Sets the target URL for uploading tracing data. ↪ |
--translate-script-url ⊗ | Overrides the default server used for Google Translate. ↪ |
--translate-security-origin ⊗ | Overrides security-origin with which Translate runs in an isolated world. ↪ |
--trusted-spdy-proxy ⊗ | Disables same-origin check on HTTP resources pushed via a SPDY proxy. The value is the host:port of the trusted proxy. ↪ |
--try-chrome-again ⊗ | Experimental. Shows a dialog asking the user to try chrome. This flag is to be used only by the upgrade process. ↪ |
Instead of always using the hardware channel layout, check if a driver supports the source channel layout. Avoids outputting empty channels and permits drivers to enable stereo to multichannel expansion. Kept behind a flag since some drivers lie about supported layouts and hang when used. See http://crbug.com/259165 for more details. ↪ | |
--ttl ⊗ | No description ↪ |
--type ⊗ | No description ↪ |
--ui-disable-partial-swap ⊗ | Disable partial swap which is needed for some OpenGL drivers / emulators. ↪ |
--ui-enable-compositor-animation-timelines ⊗ | No description ↪ |
--ui-enable-rgba-4444-textures ⊗ | No description ↪ |
本文转载自异步社区
原文链接:
https://www.epubit.com/articleDetails?id=N5b90f55b-6312-48ed-9829-592eb31e0dc2 |
- 点赞
- 收藏
- 关注作者
评论(0)