Chrome的启动参数集锦(五)
--enable-tab-audio-muting ⊗ | Enables user control over muting tab audio from the tab strip. ↪ |
--enable-tab-switcher ⊗ | Enables the tab switcher. ↪ |
Enabled tab switcher in document mode. ↪ | |
--enable-tcp-fastopen ⊗ | Enable use of experimental TCP sockets API for sending data in the SYN packet. ↪ |
--enable-threaded-compositing ⊗ | Enabled threaded compositing for layout tests. ↪ |
--enable-threaded-texture-mailboxes ⊗ | Simulates shared textures when share groups are not available. Not available everywhere. ↪ |
--enable-thumbnail-retargeting ⊗ | Enables fanciful thumbnail processing. Used with NTP for instant-extended-api, where thumbnails are generally smaller. ↪ |
--enable-tile-compression ⊗ | Compress tile textures for GPUs supporting it. ↪ |
--enable-touch-drag-drop ⊗ | Enables touch event based drag and drop. ↪ |
Enables the observation of accelerometer events to enter touch-view mode. ↪ | |
--enable-trace-app-source ⊗ | Pass launch source to platform apps. ↪ |
--enable-tracing ⊗ | Enable tracing during the execution of browser tests. ↪ |
--enable-tracing-output ⊗ | The filename to write the output of the test tracing to. ↪ |
Enables Translate experimental new UX which replaces the infobar. ↪ | |
When enabled, tries to get a transparent X11 visual so that we can have per-pixel alpha in windows. TODO(erg): Remove this switch once we've stabilized the code path. http://crbug.com/369209 ↪ | |
Use WebMediaPlayerImpl instead of WebMediaPlayerAndroid. This is a temporary switch for experimenting with unifying the Android playback pipeline. ↪ | |
--enable-unsafe-es3-apis ⊗ | Enable OpenGL ES 3 APIs without proper service side validation. ↪ |
--enable-use-zoom-for-dsf ⊗ | Enable the mode that uses zooming to implment device scale factor behavior. ↪ |
--enable-user-controlled-alternate-protocol-ports ⊗ | Enables Alternate-Protocol when the port is user controlled (> 1024). ↪ |
--enable-usermedia-screen-capturing ⊗ | Enable screen capturing support for MediaStream API. ↪ |
--enable-video-player-chromecast-support⊗ | Enables the chromecast support for video player app. ↪ |
--enable-viewport ⊗ | 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. ↪ |
--enable-virtual-keyboard ⊗ | No description ↪ |
--enable-virtualized-time ⊗ | Enable Virtualized time where the render thread's time source skips forward to the next scheduled delayed time if there is no more non-delayed work to be done. ↪ |
--enable-vtune-support ⊗ | Enable the Vtune profiler support. ↪ |
Enables Wayland display server support. ↪ | |
--enable-web-app-frame ⊗ | Enables a new "web app" style frame for hosted apps (including bookmark apps). ↪ |
--enable-web-bluetooth ⊗ | Enable Web Bluetooth. ↪ |
--enable-web-notification-custom-layouts⊗ | Enables Web Notification custom layouts. ↪ |
--enable-webgl-draft-extensions ⊗ | Enables WebGL extensions not yet approved by the community. ↪ |
--enable-webgl-image-chromium ⊗ | Enables WebGL rendering into a scanout buffer for overlay support. ↪ |
Enables negotiation of DTLS 1.2 for WebRTC. ↪ | |
Enables H264 HW encode acceleration for WebRTC. ↪ | |
Enables Origin header in Stun messages for WebRTC. ↪ | |
--enable-webvr ⊗ | Enables interaction with virtual reality devices. ↪ |
--enable-wifi-credential-sync ⊗ | Enables synchronizing WiFi credentials across devices, using Chrome Sync. ↪ |
Enables the Win32K process mitigation policy for certain PPAPI mime types. Each mime type is separated by a comma. Specify * to enable the policy for all mime types. ↪ | |
--enable-wkwebview ⊗ | Enables the use of WKWebView instead of UIWebView. ↪ |
--enable-zero-copy ⊗ | Enable rasterizer that writes directly to GPU memory associated with tiles. ↪ |
--enabled ⊗ | enabled: touch events always enabled. ↪ |
--encode-binary ⊗ | Encode binary layout test results (images, audio) using base64. ↪ |
--enforce ⊗ | No description ↪ |
--enforce-gl-minimums ⊗ | Enforce GL minimums. ↪ |
Enforce IP Permission check. TODO(guoweis): Remove this once the feature is not under finch and becomes the default. ↪ | |
--enforce_strict ⊗ | No description ↪ |
--enhanced-bookmarks-experiment ⊗ | Enable Enhanced Bookmarks. ↪ |
--enterprise-enable-forced-re-enrollment⊗ | Whether to enable forced enterprise re-enrollment. ↪ |
--enterprise-enrollment-initial-modulus ⊗ | Power of the power-of-2 initial modulus that will be used by the auto-enrollment client. E.g. "4" means the modulus will be 2^4 = 16. ↪ |
--enterprise-enrollment-modulus-limit ⊗ | Power of the power-of-2 maximum modulus that will be used by the auto-enrollment client. ↪ |
--error-console ⊗ | Allows the ErrorConsole to collect runtime and manifest errors, and display them in the chrome:extensions page. ↪ |
--explicitly-allowed-ports ⊗ | Explicitly allows additional ports using a comma-separated list of port numbers. ↪ |
--expose-internals-for-testing ⊗ | Exposes the window.internals object to JavaScript for interactive development and debugging of layout tests that rely on it. ↪ |
--extended-response ⊗ | No description ↪ |
--extension-action-redesign ⊗ | Whether to switch to extension action redesign mode (experimental). ↪ |
--extension-content-verification ⊗ | Name of the command line flag to force content verification to be on in one of various modes. ↪ |
--extension-process ⊗ | Marks a renderer as extension process. ↪ |
--extensions-install-verification ⊗ | Turns on extension install verification if it would not otherwise have been turned on. ↪ |
--extensions-multi-account ⊗ | Enables multiple account versions of chrome.identity APIs. ↪ |
--extensions-not-webstore ⊗ | Specifies a comma-separated list of extension ids that should be forced to be treated as not from the webstore when doing install verification. ↪ |
--extensions-on-chrome-urls ⊗ | Enables extensions running scripts on chrome:// URLs. Extensions still need to explicitly request access to chrome:// URLs in the manifest. ↪ |
--extensions-update-frequency ⊗ | Frequency in seconds for Extensions auto-update. ↪ |
--extra-plugin-dir ⊗ | Load NPAPI plugins from the specified directory. ↪ |
--extra-search-query-params ⊗ | Additional query params to insert in the search and instant URLs. Useful for testing. ↪ |
--fake-variations-channel ⊗ | Fakes the channel of the browser for purposes of Variations filtering. This is to be used for testing only. Possible values are "stable", "beta", "dev" and "canary". Note that this only applies if the browser's reported channel is UNKNOWN. ↪ |
--fast ⊗ | Defines that Material Design visual feedback animations should be fast. ↪ |
--fast-start ⊗ | If this flag is present then this command line is being delegated to an already running chrome process via the fast path, ie: before chrome.dll is loaded. It is useful to tell the difference for tracking purposes. ↪ |
--feedback-server ⊗ | Alternative feedback server to use when submitting user feedback ↪ |
--first-exec-after-boot ⊗ | Passed to Chrome the first time that it's run after the system boots. Not passed on restart after sign out. ↪ |
--flag-switches-begin ⊗ | These two flags are added around the switches about:flags adds to the command line. This is useful to see which switches were added by about:flags on about:version. They don't have any effect. ↪ |
--flag-switches-end ⊗ | No description ↪ |
DirectWrite FontCache is shared by browser to renderers using shared memory. This switch allows us to pass the shared memory handle to the renderer. ↪ | |
--force-app-mode ⊗ | Forces application mode. This hides certain system UI elements and forces the app to be installed if it hasn't been already. ↪ |
For the DelegateExecute verb handler to launch Chrome in desktop mode on Windows 8 and higher. Used when relaunching metro Chrome. ↪ | |
--force-dev-mode-highlighting ⊗ | Whether to force developer mode extensions highlighting. ↪ |
--force-device-scale-factor ⊗ | Overrides the device scale factor for the browser UI and the contents. ↪ |
Used to troubleshoot problems with different video capture implementations on Windows. By default we use the Media Foundation API on Windows 7 and up, but specifying this switch will force use of DirectShow always. See bug: http://crbug.com/268412 ↪ | |
--force-display-list-2d-canvas ⊗ | No description ↪ |
--force-fieldtrial-params ⊗ | This option can be used to force parameters of field trials when testing changes locally. The argument is a list of key/value pairs prefixed by Trial/Group pair. The following shows setting parameters to 2 experiments where in the first, it forces "id" to be "foo" for the "Enabled" group of the "EnhancedBookmarks" trial: "EnhancedBookmarks.Enabled:id/foo,Experiment2.Group1:key1/value1" Trial names, groups names, parameter names, and value should all be URL escaped for all non-alphanumeric characters. ↪ |
--force-fieldtrials ⊗ | 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. ↪ |
--force-first-run ⊗ | Displays the First Run experience when the browser is started, regardless of whether or not it's actually the First Run (this overrides kNoFirstRun). ↪ |
--force-first-run-ui ⊗ | Forces first-run UI to be shown for every login. ↪ |
--force-gpu-mem-available-mb ⊗ | Sets the total amount of memory that may be allocated for GPU resources ↪ |
--force-gpu-rasterization ⊗ | Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU accelerated compositing + impl-side painting. Overrides the kEnableGpuRasterization flag. ↪ |
For the DelegateExecute verb handler to launch Chrome in metro mode on Windows 8 and higher. Used when relaunching metro Chrome. ↪ | |
--force-in-process ⊗ | In multiprocess mode, force these apps to be loaded in the main process. This is a comma-separated list of URLs. Example: --force-in-process=mojo:native_viewport_service,mojo:network_service ↪ |
--force-load-easy-unlock-app-in-tests ⊗ | Force easy unlock app loading in test. TODO(xiyuan): Remove this when app could be bundled with Chrome. ↪ |
--force-local-ntp ⊗ | Forces Chrome to use localNTP instead of server (GWS) NTP. ↪ |
--force-login-manager-in-tests ⊗ | Usually in browser tests the usual login manager bringup is skipped so that tests can change how it's brought up. This flag disables that. ↪ |
Force the use of MediaFoundation for video capture. This is only supported in Windows 7 and above. Used, like |kForceDirectShowVideoCapture|, to troubleshoot problems in Windows platforms. ↪ | |
--force-overlay-fullscreen-video ⊗ | Forces use of hardware overlay for fullscreen video playback. Useful for testing the Android overlay fullscreen functionality on other platforms. ↪ |
QTKit is the media capture API predecessor to AVFoundation, available up and until Mac OS X 10.9 (despite being deprecated in this last one). This flag is used for troubleshooting and testing, and forces QTKit in builds and configurations where AVFoundation would be used otherwise. ↪ | |
--force-renderer-accessibility ⊗ | 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. ↪ |
--force-ui-direction ⊗ | Force the UI to a specific direction. Valid values are "ltr" (left-to-right) and "rtl" (right-to-left). ↪ |
--force-variation-ids ⊗ | Forces additional Chrome Variation Ids that will be sent in X-Client-Data header, specified as a 64-bit encoded list of numeric experiment ids. Ids prefixed with the character "t" will be treated as Trigger Variation Ids. ↪ |
Use Windows WaveOut/In audio API even if Core Audio is supported. ↪ | |
Override WebRTC IP handling policy to mimic the behavior when WebRTC IP handling policy is specified in Preferences. ↪ | |
--full-memory-crash-report ⊗ | Generates full memory crash dump. ↪ |
--gaia-url ⊗ | No description ↪ |
--gcm-checkin-url ⊗ | Sets the checkin service endpoint that will be used for performing Google Cloud Messaging checkins.↪ |
--gcm-mcs-endpoint ⊗ | Sets the Mobile Connection Server endpoint that will be used for Google Cloud Messaging. ↪ |
--gcm-registration-url ⊗ | Sets the registration endpoint that will be used for creating new Google Cloud Messaging registrations. ↪ |
--generate-accessibility-test-expectations⊗ | 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. ↪ |
--gl ⊗ | No description ↪ |
--gl-shader-interm-output ⊗ | Include ANGLE's intermediate representation (AST) output in shader compilation info logs. ↪ |
--gles ⊗ | No description ↪ |
--golden-screenshots-dir ⊗ | Screenshot testing: specifies the directory where the golden screenshots are stored. ↪ |
--google-apis-url ⊗ | No description ↪ |
--google-base-url ⊗ | Specifies an alternate URL to use for speaking to Google. Useful for testing. ↪ |
--google-profile-info ⊗ | Enables using GAIA information to populate profile name and icon. ↪ |
--google-url ⊗ | No description ↪ |
--gpu-device-id ⊗ | Passes gpu device_id from browser process to GPU process. ↪ |
--gpu-driver-bug-workarounds ⊗ | Pass a set of GpuDriverBugWorkaroundType ids, seperated by ','. ↪ |
--gpu-driver-vendor ⊗ | Passes gpu driver_vendor from browser process to GPU process. ↪ |
--gpu-driver-version ⊗ | Passes gpu driver_version from browser process to GPU process. ↪ |
--gpu-launcher ⊗ | Extra command line options for launching the GPU process (normally used for debugging). Use like renderer-cmd-prefix. ↪ |
--gpu-no-context-lost ⊗ | Inform Chrome that a GPU context will not be lost in power saving mode, screen saving mode, etc. Note that this flag does not ensure that a GPU context will never be lost in any situations, say, a GPU reset. ↪ |
--gpu-process ⊗ | Makes this process a GPU sub-process. ↪ |
--gpu-program-cache-size-kb ⊗ | Sets the maximum size of the in-memory gpu program cache, in kb ↪ |
--gpu-rasterization-msaa-sample-count ⊗ | The number of multisample antialiasing samples for GPU rasterization. Requires MSAA support on GPU to have an effect. 0 disables MSAA. ↪ |
--gpu-sandbox-allow-sysv-shm ⊗ | Allows shmat() system call in the GPU sandbox. ↪ |
--gpu-sandbox-failures-fatal ⊗ | Makes GPU sandbox failures fatal. ↪ |
--gpu-sandbox-start-early ⊗ | Starts the GPU sandbox before creating a GL context. ↪ |
--gpu-startup-dialog ⊗ | Causes the GPU process to display a dialog on launch. ↪ |
--gpu-vendor-id ⊗ | Passes gpu vendor_id from browser process to GPU process. ↪ |
--guest-wallpaper-large ⊗ | Wallpaper to use in guest mode (as paths to trusted, non-user-writable JPEG files). ↪ |
--guest-wallpaper-small ⊗ | No description ↪ |
--h ⊗ | No description ↪ |
--has-chromeos-diamond-key ⊗ | If true, the Chromebook has a keyboard with a diamond key. ↪ |
--hdmi-sink-supported-codecs ⊗ | The bitmask of codecs (media_caps.h) supported by the current HDMI sink. ↪ |
--help ⊗ | No description ↪ |
--hide ⊗ | No description ↪ |
Makes Windows happy by allowing it to show "Enable access to this program" checkbox in Add/Remove Programs->Set Program Access and Defaults. This only shows an error box because the only way to hide Chrome is by uninstalling it. ↪ | |
--homedir ⊗ | Defines user homedir. This defaults to primary user homedir. ↪ |
--homepage ⊗ | Specifies which page will be displayed in newly-opened tabs. We need this for testing purposes so that the UI tests don't depend on what comes up for http://google.com. ↪ |
--host ⊗ | No description ↪ |
--host-pairing-oobe ⊗ | With this switch, start remora OOBE with the pairing screen. ↪ |
--host-resolver-retry-attempts ⊗ | The maximum number of retry attempts to resolve the host. Set this to zero to disable host resolver retry attempts. ↪ |
--host-resolver-rules ⊗ | These mappings only apply to the host resolver. ↪ |
--host-rules ⊗ | Comma-separated list of rules that control how hostnames are mapped. For example: "MAP * 127.0.0.1" --> Forces all hostnames to be mapped to 127.0.0.1 "MAP *.google.com proxy" --> Forces all google.com subdomains to be resolved to "proxy". "MAP test.com [::1]:77 --> Forces "test.com" to resolve to IPv6 loopback. Will also force the port of the resulting socket address to be 77. "MAP * baz, EXCLUDE www.google.com" --> Remaps everything to "baz", except for "www.google.com". These mappings apply to the endpoint host in a net::URLRequest (the TCP connect and host resolver in a direct connection, and the CONNECT in an http proxy connection, and the endpoint host in a SOCKS proxy connection). ↪ |
--http-port ⊗ | No description ↪ |
--ignore-autocomplete-off-autofill ⊗ | Ignores autocomplete="off" for Autofill data (profiles + credit cards). ↪ |
--ignore-certificate-errors ⊗ | Ignores certificate-related errors. ↪ |
--ignore-gpu-blacklist ⊗ | Ignores GPU blacklist. ↪ |
--ignore-urlfetcher-cert-requests ⊗ | Causes net::URLFetchers to ignore requests for SSL client certificates, causing them to attempt an unauthenticated SSL/TLS session. This is intended for use when testing various service URLs (eg: kPromoServerURL, kSbURLPrefix, kSyncServiceURL, etc) ↪ |
--ignore-user-profile-mapping-for-tests ⊗ | If true, profile selection in UserManager will always return active user's profile. TODO(nkostlyev): http://crbug.com/364604 - Get rid of this switch after we turn on multi-profile feature on ChromeOS.↪ |
--in-process-gpu ⊗ | Run the GPU process as a thread in the browser process. ↪ |
--incognito ⊗ | Causes the browser to launch directly in incognito mode. ↪ |
--install ⊗ | No description ↪ |
--install-chrome-app ⊗ | Causes Chrome to initiate an installation flow for the given app. ↪ |
--install-supervised-user-whitelists ⊗ | A list of whitelists to install for a supervised user, for testing. The list is of the following form: <id>[:<name>],[<id>[:<name>],...] ↪ |
--instant-process ⊗ | Marks a renderer as an Instant process. ↪ |
--interests-url ⊗ | The URL for the interests API. ↪ |
--invalidation-use-gcm-channel ⊗ | Invalidation service should use GCM network channel even if experiment is not enabled. ↪ |
--ipc-connection-timeout ⊗ | Overrides the timeout, in seconds, that a child process waits for a connection from the browser before killing itself. ↪ |
--ipc-dump-directory ⊗ | Dumps IPC messages sent from renderer processes to the browser process to the given directory. Used primarily to gather samples for IPC fuzzing. ↪ |
Specifies the testcase used by the IPC fuzzer. ↪ | |
Enable IPC-based synchronous compositing. Used by Android WebView. ↪ | |
--isolate-extensions ⊗ | Enables site isolation for all chrome-extension:// urls. ↪ |
--isolate-sites-for-testing ⊗ | Enable site isolation (--site-per-process style isolation) for a subset of sites. The argument is a wildcard pattern which will be matched against the site URL to determine which sites to isolate. This can be used to isolate just one top-level domain, or just one scheme. Example usages: --isolate-sites-for-testing=*.com --isolate-sites-for-testing=https://* ↪ |
本文转载自异步社区
原文链接:
https://www.epubit.com/articleDetails?id=N5b90f55b-6312-48ed-9829-592eb31e0dc2 |
- 点赞
- 收藏
- 关注作者
评论(0)