List of Chromium Command Line Switches

2024-04-01 05:08

本文主要是介绍List of Chromium Command Line Switches,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

详情请转到原文:https://peter.sh/experiments/chromium-command-line-switches/

There are lots of command lines which can be used with the Google Chrome browser. Some change behavior of features, others are for debugging or experimenting. This page lists the available switches including their conditions and descriptions. Last automated update occurred on 2019-08-12.

ConditionExplanation
--/prefetch:1[1] ⊗/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. ↪
--/prefetch:2[1] ⊗No description ↪
--/prefetch:3[1] ⊗No description ↪
--/prefetch:4[1] ⊗No description ↪
--/prefetch:5[1] ⊗/prefetch:# arguments for the browser process launched in background mode and for the watcher process. Use profiles 5, 6 and 7 as documented on kPrefetchArgument* in content_switches.cc. ↪
--/prefetch:6[1] ⊗No description ↪
--/prefetch:8[1] ⊗Prefetch arguments are used by the Windows prefetcher to disambiguate different execution modes (i.e. process types) of the same executable image so that different types of processes don't trample each others' prefetch behavior. Legal values are integers in the range [1, 8]. We reserve 8 to mean "whatever", and this will ultimately lead to processes with /prefetch:8 having inconsistent behavior thus disabling prefetch in practice. TODO(rockot): Make it possible for embedders to override this argument on a per-service basis. ↪
--10000 ⊗No description ↪
--100000 ⊗No description ↪
--1000000 ⊗No description ↪
--3d-display-mode[1] ⊗No description ↪
--50000 ⊗No description ↪
--500000 ⊗No description ↪
--5000000 ⊗No description ↪
--? ⊗No description ↪
--accept-resource-provider ⊗Flag indicating that a resource provider must be set up to provide cast receiver with resources. Apps cannot start until provided resources. This flag implies --alsa-check-close-timeout=0. ↪
--account-consistency[2] ⊗Command line flag for enabling account consistency. Default mode is disabled. Mirror is a legacy mode in which Google accounts are always addded to Chrome, and Chrome then adds them to the Google authentication cookies. Dice is a new experiment in which Chrome is aware of the accounts in the Google authentication cookies. ↪
--adaboost ⊗No description ↪
--add-gpu-appcontainer-caps[1] ⊗Add additional capabilities to the AppContainer sandbox on the GPU process. ↪
--add-xr-appcontainer-caps[1] ⊗Add additional capabilities to the AppContainer sandbox used for XR compositing. ↪
--agc-startup-min-volume ⊗Override the default minimum starting volume of the Automatic Gain Control algorithm in WebRTC used with audio tracks from getUserMedia. The valid range is 12-255. Values outside that range will be clamped to the lowest or highest valid value inside WebRTC. TODO(tommi): Remove this switch when crbug.com/555577 is fixed. ↪
--aggressive ⊗No description ↪
--aggressive-cache-discard ⊗No description ↪
--aggressive-tab-discard ⊗No description ↪
--all ⊗No description ↪
--all-renderers ⊗No description ↪
--allarticles ⊗No description ↪
--allow-cross-origin-auth-prompt ⊗Allows third-party content included on a page to prompt for a HTTP basic auth username/password pair. ↪
--allow-external-pages ⊗Allow access to external pages during web tests. ↪
--allow-failed-policy-fetch-for-test ⊗If this flag is passed, failed policy fetches will not cause profile initialization to fail. This is useful for tests because it means that tests don't have to mock out the policy infrastructure. ↪
  

How to use a command line switch?

The Chromium Team has made a page on which they briefly explain how to use these switches.

Conditions

These are rather technical. While most are pretty self-explanatory, keep in mind that any condition means that a switch isn't always available.

  1. The constant OS_WIN must be defined.
  2. The constant !BUILDFLAG(ENABLE_MIRROR) must not be defined.
  3. The constant BUILDFLAG(ENABLE_PLUGINS) must be defined.
  4. The constant !BUILDFLAG(IS_OFFICIAL_CHROME_CLEANER_BUILD) must not be defined.
  5. The constants OS_FREEBSD, OS_LINUX and OS_SOLARIS must be defined.
  6. The constant OS_CHROMEOS must be defined.
  7. The constant OS_MACOSX must be defined.
  8. The constant OS_ANDROID must be defined.
  9. The constants OS_CHROMEOS and OS_MACOSX must not be defined, and the constant OS_POSIX must be defined.
  10. The constant OFFICIAL_BUILD must not be defined, and the constant BUILDFLAG(ENABLE_PRINT_PREVIEW) must be defined.
  11. The constant OS_IOS must not be defined, and the constant OS_MACOSX must be defined.
  12. The constants USE_OZONE and USE_X11 must be defined.
  13. The constant OS_CHROMEOS must not be defined, and the constant OS_LINUX must be defined.
  14. The constant OS_CHROMEOS must not be defined.
  15. The constant OS_POSIX must be defined.
  16. The constants OS_ANDROID and OS_CHROMEOS must not be defined, and the constant \ must be defined.
  17. The constants OS_LINUX, OS_MACOSX and OS_WIN must be defined.
  18. The constant OS_LINUX must be defined.
  19. The constant ENABLE_IPC_FUZZER must be defined.
  20. The constant USE_CRAS must be defined.
  21. The constants OS_ANDROID and OS_CHROMEOS must not be defined.

Based on top-of-tree Chromium code, updated daily and open source. RSS Feed?
Append ?date=YYYY-MM-DD to the URL to get a snapshot of the supported switches at a certain date.

这篇关于List of Chromium Command Line Switches的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/866274

相关文章

【C++】_list常用方法解析及模拟实现

相信自己的力量,只要对自己始终保持信心,尽自己最大努力去完成任何事,就算事情最终结果是失败了,努力了也不留遗憾。💓💓💓 目录   ✨说在前面 🍋知识点一:什么是list? •🌰1.list的定义 •🌰2.list的基本特性 •🌰3.常用接口介绍 🍋知识点二:list常用接口 •🌰1.默认成员函数 🔥构造函数(⭐) 🔥析构函数 •🌰2.list对象

Collection List Set Map的区别和联系

Collection List Set Map的区别和联系 这些都代表了Java中的集合,这里主要从其元素是否有序,是否可重复来进行区别记忆,以便恰当地使用,当然还存在同步方面的差异,见上一篇相关文章。 有序否 允许元素重复否 Collection 否 是 List 是 是 Set AbstractSet 否

jenkins 插件执行shell命令时,提示“Command not found”处理方法

首先提示找不到“Command not found,可能我们第一反应是查看目标机器是否已支持该命令,不过如果相信能找到这里来的朋友估计遇到的跟我一样,其实目标机器是没有问题的通过一些远程工具执行shell命令是可以执行。奇怪的就是通过jenkinsSSH插件无法执行,经一番折腾各种搜索发现是jenkins没有加载/etc/profile导致。 【解决办法】: 需要在jenkins调用shell脚

【Python报错已解决】AttributeError: ‘list‘ object has no attribute ‘text‘

🎬 鸽芷咕:个人主页  🔥 个人专栏: 《C++干货基地》《粉丝福利》 ⛺️生活的理想,就是为了理想的生活! 文章目录 前言一、问题描述1.1 报错示例1.2 报错分析1.3 解决思路 二、解决方法2.1 方法一:检查属性名2.2 步骤二:访问列表元素的属性 三、其他解决方法四、总结 前言 在Python编程中,属性错误(At

List list = new ArrayList();和ArrayList list=new ArrayList();的区别?

List是一个接口,而ArrayList 是一个类。 ArrayList 继承并实现了List。 List list = new ArrayList();这句创建了一个ArrayList的对象后把上溯到了List。此时它是一个List对象了,有些ArrayList有但是List没有的属性和方法,它就不能再用了。而ArrayList list=new ArrayList();创建一对象则保留了A

处理List采用并行流处理时,通过ForkJoinPool来控制并行度失控的问题

在使用parallelStream进行处理list时,如不指定线程池,默认的并行度采用cpu核数进行并行,这里采用ForJoinPool来控制,但循环中使用了redis获取key时,出现失控。具体上代码。 @RunWith(SpringRunner.class)@SpringBootTest(classes = Application.class)@Slf4jpublic class Fo

Java中集合类Set、List和Map的区别

Java中的集合包括三大类,它们是Set、List和Map,它们都处于java.util包中,Set、List和Map都是接口,它们有各自的实现类。Set的实现类主要有HashSet和TreeSet,List的实现类主要有ArrayList,Map的实现类主要有HashMap和TreeMap。那么它们有什么区别呢? Set中的对象不按特定方式排序,并且没有重复对象。但它的有些实现类能对集合中的对

List对象过滤

List materialInventoryList = materialInventories.stream().filter(mat -> mat.getQty().compareTo(BigDecimal.ZERO) > 0).collect(Collectors.toList()); stream().filter()方法可以过滤掉List的数据

c++stack和list 介绍

stack介绍 堆栈是一种容器适配器,专门设计用于在 LIFO 上下文(后进先出)中运行,其中元素仅从容器的一端插入和提取。 堆栈作为容器适配器实现,容器适配器是使用特定容器类的封装对象作为其基础容器 的类,提供一组特定的成员函数来访问其元素。元素从特定容器的 “back” 推送或弹出,这称为堆栈的顶部。 stack接口 stack() 构造空的栈 empty() 检测stack是否为

C++——list的实现

目录 0.前言 1.节点类  2.迭代器类  ①普通迭代器 ②const迭代器  ③模板迭代器 3.list类  3.1 clear、析构函数、swap ①clear ② 析构函数  ③ swap 3.2构造函数  ①无参构造  ②赋值构造 3.3 迭代器 3.4插入函数 ①insert插入 ②头插 ③尾插 3.5 删除函数 ①erase删除 ②头删