2024年1月12日发(作者:)
Specifies a command that should be used to launch the plugin process. Usefulfor running the plugin process through purify or quantify. Ex:–plugin-launcher=”pathtopurify /Run=yes.–plugin-launche.–channelThe value of this switch tells the child process whichIPC channel the browser expects to use to communicate with it.–testing-channelThe value of this switch tells the app to listen for and broadcasttesting-related messages on IPC channel with the given ID.–homepageThe value of this switch specifies which page will be displayedin newly-opened tabs. We need this for testing purposes so–start-renderers-manuallyWhen this switch is present, the browser will throw up a dialog boxasking the user to start a renderer process independently ratherthan launching the renderer itself. (This is useful for debugging..–rendererCauses the process to run as renderer instead of as browser.–renderer-pathPath to the executable to run for the renderer subproces.–pluginCauses the process to run as plugin hos.–single-processRuns the renderer and plugins in the same process as the browse.–process-per-tabRuns each set of script-connected tabs (i.e., a BrowsingInstance) in its ownrenderer process. We default to using a renderer process for eachsite instance (i.e., group of pages from the same registered domain withscript connections to each other).–process-per-siteRuns a single process for each site (i.e., group of pages from the sameregistered domain) the user visits. We default to using a renderer processfor each site instance (i.e., group of pages from the same registereddomain with script connections to each other).
–in-process-pluginsRuns plugins inside the renderer proces.–no-sandboxRuns the renderer outside the sandbox.–safe-pluginsRuns the plugin processes inside the sandbox.–trusted-pluginsExcludes these plugins from the plugin is a comma separated list of plugin dlls name and activex clsid.–test-sandboxRuns the security test for the sandbox.–user-data-dirSpecifies the user data directory, which is where the browser will lookfor all of its state.–appSpecifies that the associated value should be launched in “application” mode.–upload-fileSpecifies the file that should be uploaded to the provided application. Thisswitch is expected to be used with –app option.–dom-automationSpecifies if the dom_automation_controller_ needs to be bound in therenderer. This binding happens on per-frame basis and hence can potentiallybe a performance bottleneck. One should only enable it when automatingdom based tests.–plugin-pathTells the plugin process the path of the plugin to loa.–js-flagsSpecifies the flags passed to JS engin.–geoidThe GeoID we should use. This is normally obtained from the operating systemduring first run and cached in the preferences afterwards. This is a numeric–langThe language file that we want to try to open. Of the formlanguage[-country] where language is the 2 letter code from ISO-639.–debug-children
Will add kDebugOnStart to every child processes. If a value is passed, itwill be used as a filter to determine if the child process should have thekDebugOnStart flag passed on or not.–debug-on-startCauses the process to start the JIT debugger on itself (mainly used by –debug-children.–wait-for-debugger-childrenWill add kWaitForDebugger to every child processes. If a value is passed, itwill be used as a filter to determine if the child process should have thekWaitForDebugger flag passed on or not.–wait-for-debuggerWaits for a debugger for 60 second.–log-filter-prefixWill filter log messages to show only the messages that are prefixedwith the specified valu.–enable-loggingForce logging to be enabled. Logging is disabled by default in releasebuilds.–dump-histograms-on-exitDump any accumualted histograms to the log when browser terminates (requireslogging to be enabled to really do anything). Used by developers and testscripts.–disable-loggingForce logging to be disabled. Logging is enabled by default in debugbuilds.–log-levelSets the minimum log level. Valid values are from 0 to 3:INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3.–remote-shell-portEnable remote debug / automation shell on the specified por.–uninstallRuns un-installation steps that were done by chrome first-run.–omnibox-popup-countNumber of entries to show in the omnibox popup.–uninstallomnibox-popup-countRemoves the previous set suggestion coun.
–automation-channelThe value of this switch tells the app to listen for and broadcastautomation-related messages on IPC channel with the given ID.–restore-last-sessionIndicates the last session should be restored on startup. This overridesthe preferences value and is primarily intended for testing.–record-mode–playback-modeChrome supports a playback and record mode. Record mode saves *everything*to the cache. Playback mode reads data exclusively from the cache. Thisallows us to record a session into the cache and then replay it at will.–no-eventsDon't record/playback events when using record & playback.–hide-icons–show-iconsMake Windows happy by allowing it to show “Enable access to this program”checkbox in Add/Remove Programs->Set Program Access and Defaults. Thisonly shows an error box because the only way to hide Chrome is byuninstalling it.–make-default-browserMake Chrome default browse.–proxy-serverUse a specified proxy server, overrides system settings. This switch onlyaffects HTTP and HTTPS requests.–dns-log-details–dns-prefetch-disableChrome will support prefetching of DNS information. Until this becomesthe default, we'll provide a command line switch.–debug-printEnables support to debug printing subsystem.–allow-all-activexAllow initialization of all activex controls. This is only to help websitedevelopers test their controls to see if they are compatible in there's a duplicate value in activex_ (to avoiddependency on chrome module). Please change both locations at the same time.
–disable-dev-toolsBrowser flag to disable the web inspector for all renderers.–always-enable-dev-toolsEnable web inspector for all windows, even if they're part of the us to use our dev tools to debug browser windows itself.–memory-modelConfigure Chrome's memory chrome really need multiple memory models? No. But we get a lotof concerns from individuals about how the changes work on *their*system, and we need to be able to experiment with a few choices.–tab-count-to-load-on-session-restoreUsed to set the value of SessionRestore::num_tabs_to_load_. See session_restore.h for wchar_t kTabCountToLoadOnSessionRestore[] .–memory-profileEnable dynamic loading of the Memory Profiler DLL, which will traceall memory allocations during the run.–enable-file-cookiesBy default, cookies are not allowed on file://. They are needed in fortesting, for example page cycler and layout tests. See bug 1157243.–start-maximizedStart the browser maximized, regardless of any previous (pjohnson): Remove this once bug 1137420 is fixed. We are using thisas a workaround for not being able to use moveTo and resizeTo on atop-level window.–enable-watchdogSpawn threads to watch for excessive delays in specified message should set breakpoints on Alarm() to examine problematic : -enable-watchdog=[ui][io]Order of the listed sub-arguments does not matter.–first-runDisplay the First Run experience when the browser is started, regardless ofwhether or not it's actually the first run.–message-loop-strategy–message-loop-histogrammerEnable histograming of tasks served by MessageLoop. See about:histograms/Loop


发布评论