CEF3 命令行 CefCommandLine 所有选项 与 开发中使用的测试网址

转自: https://blog.csdn.net/xiezhongyuan07/article/details/86640413

 

1.cef3 commandLine设置

 

在cef3开发过程中,在OnBeforeCommandLineProcessing 函数中,我们可以通过命令行添加一些命令,来对浏览器进行一些设置:

 

void BrowserApp::OnBeforeCommandLineProcessing(const CefString& process_type,     CefRefPtr<CefCommandLine> command_line)  

 

不过都有哪些命令可以设置呢? 找了很久,才发现,官方其实进行了总结:

 

https://peter.sh/experiments/chromium-command-line-switches/#allow-external-pages 

 

2. cef3 各种查看配置、测试方法,我们可以参考chrome 的urls

 1 List of Chrome URLs
 2  
 3 chrome://about
 4 chrome://accessibility
 5 chrome://appcache-internals
 6 chrome://apps
 7 chrome://blob-internals
 8 chrome://bluetooth-internals
 9 chrome://bookmarks
10 chrome://chrome
11 chrome://chrome-urls
12 chrome://components
13 chrome://conflicts
14 chrome://crashes
15 chrome://credits
16 chrome://device-log
17 chrome://devices
18 chrome://dino
19 chrome://discards
20 chrome://download-internals
21 chrome://downloads
22 chrome://extensions
23 chrome://flags
24 chrome://flash
25 chrome://gcm-internals
26 chrome://gpu
27 chrome://help
28 chrome://histograms
29 chrome://history
30 chrome://indexeddb-internals
31 chrome://inspect
32 chrome://interstitials
33 chrome://interventions-internals
34 chrome://invalidations
35 chrome://local-state
36 chrome://media-engagement
37 chrome://media-internals
38 chrome://nacl
39 chrome://net-export
40 chrome://net-internals
41 chrome://network-error
42 chrome://network-errors
43 chrome://newtab
44 chrome://ntp-tiles-internals
45 chrome://omnibox
46 chrome://password-manager-internals
47 chrome://policy
48 chrome://predictors
49 chrome://print
50 chrome://quota-internals
51 chrome://safe-browsing
52 chrome://serviceworker-internals
53 chrome://settings
54 chrome://signin-internals
55 chrome://site-engagement
56 chrome://suggestions
57 chrome://supervised-user-internals
58 chrome://sync-internals
59 chrome://system
60 chrome://taskscheduler-internals
61 chrome://terms
62 chrome://thumbnails
63 chrome://tracing
64 chrome://translate-internals
65 chrome://usb-internals
66 chrome://user-actions
67 chrome://version
68 chrome://webrtc-internals
69 chrome://webrtc-logs
70  
71  
72 For Debug
73 The following pages are for debugging purposes only. Because they crash or hang the renderer, they're not linked directly; you can type them into the address bar if you need them.
74 chrome://badcastcrash/
75 chrome://inducebrowsercrashforrealz/
76 chrome://crash/
77 chrome://crashdump/
78 chrome://kill/
79 chrome://hang/
80 chrome://shorthang/
81 chrome://gpuclean/
82 chrome://gpucrash/
83 chrome://gpuhang/
84 chrome://memory-exhaust/
85 chrome://ppapiflashcrash/
86 chrome://ppapiflashhang/
87 chrome://inducebrowserheapcorruption/
88 chrome://heapcorruptioncrash/
89 chrome://quit/
90 chrome://restart/

 

--------------------- 作者:漫步繁华街 来源:CSDN 原文:https://blog.csdn.net/xiezhongyuan07/article/details/86640413 版权声明:本文为博主原创文章,转载请附上博文链接!

 

转载于:https://www.cnblogs.com/h2285409/p/10471470.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值