update command-line backlist switches

part of the diff comes from the fact that we've bumped
to a new version of libcc.

another part comes from adding network_switch_list.h, whose
switch definitions follow a slightly different format.
This commit is contained in:
Charles Kerr 2018-05-02 20:58:22 -05:00
parent 82329124ff
commit 1b8b73ce71

View file

@ -43,12 +43,12 @@ bool IsUrlArg(const base::CommandLine::CharType* arg) {
* Update the list by pasting the following command into bash
* in libchromiumcontent/src/:
(find ./ -name "*switches.cc" | \
xargs grep -P --no-filename "\"\S+\";" | \
perl -pe 's|^.*?"(\S+)";| "$1",|'; \
echo ' "inspect",'; \
echo ' "inspect-brk",') | \
LANG=C sort | \
(find ./ \( -name "*switches.cc" -o -name "*switch_list.h" \) | \
xargs grep -P --no-filename '"\S+"[);]$' | \
perl -pe 's|^.*?"(\S+)"[);]$| "$1",|'; \
echo ' "inspect",'; \
echo ' "inspect-brk",') | \
LANG="C" sort | \
uniq > blacklist-switches.txt
*/
@ -60,9 +60,11 @@ const char* kBlacklist[] = {
"/prefetch:5",
"/prefetch:6",
"/prefetch:8",
"0",
"?",
"BlacklistOnly",
"ChromeOSMemoryPressureHandling",
"Disabled",
"OnlineCheckOnly",
"SafeSites",
"accept-resource-provider",
"account-consistency",
@ -144,6 +146,7 @@ const char* kBlacklist[] = {
"ash-constrain-pointer-to-root",
"ash-debug-shortcuts",
"ash-dev-shortcuts",
"ash-disable-shelf-model-synchronization",
"ash-disable-smooth-screen-rotation",
"ash-disable-tablet-autohide-titlebars",
"ash-disable-touch-exploration-mode",
@ -154,6 +157,7 @@ const char* kBlacklist[] = {
"ash-enable-scale-settings-tray",
"ash-enable-software-mirroring",
"ash-enable-unified-desktop",
"ash-enable-wayland-server",
"ash-estimated-presentation-delay",
"ash-hide-notifications-for-factory",
"ash-host-window-bounds",
@ -174,7 +178,6 @@ const char* kBlacklist[] = {
"autoplay-policy",
"blink-settings",
"bootstrap",
"browser",
"browser-startup-dialog",
"browser-subprocess-path",
"browser-test",
@ -186,6 +189,7 @@ const char* kBlacklist[] = {
"cc-layer-tree-test-long-timeout",
"cc-layer-tree-test-no-timeout",
"cc-rebaseline-pixeltests",
"cdm",
"cellular-first",
"cellular-only",
"check-for-update-interval",
@ -196,6 +200,7 @@ const char* kBlacklist[] = {
"cipher-suite-blacklist",
"clamshell",
"class",
"clear-key-cdm-path-for-testing",
"clear-token-service",
"cloud-print-file",
"cloud-print-file-type",
@ -211,6 +216,7 @@ const char* kBlacklist[] = {
"connectivity-check-url",
"conservative",
"content-image-texture-target",
"content-shell-hide-toolbar",
"content-shell-host-window-size",
"controller",
"crash-dumps-dir",
@ -291,6 +297,7 @@ const char* kBlacklist[] = {
"disable-blink-features",
"disable-boot-animation",
"disable-breakpad",
"disable-browser-side-navigation",
"disable-browser-task-scheduler",
"disable-bundled-ppapi-flash",
"disable-canvas-aa",
@ -305,7 +312,9 @@ const char* kBlacklist[] = {
"disable-component-update",
"disable-composited-antialiasing",
"disable-contextual-search",
"disable-crash-reporter",
"disable-d3d11",
"disable-data-reduction-proxy-warmup-url-fetch",
"disable-databases",
"disable-datasaver-prompt",
"disable-default-apps",
@ -324,7 +333,6 @@ const char* kBlacklist[] = {
"disable-dwm-composition",
"disable-encryption-migration",
"disable-eol-notification",
"disable-es3-apis",
"disable-es3-gl-context",
"disable-extensions",
"disable-extensions-except",
@ -347,6 +355,7 @@ const char* kBlacklist[] = {
"disable-gl-extensions",
"disable-glsl-translator",
"disable-gpu",
"disable-gpu-async-worker-context",
"disable-gpu-compositing",
"disable-gpu-driver-bug-workarounds",
"disable-gpu-early-init",
@ -364,6 +373,7 @@ const char* kBlacklist[] = {
"disable-histogram-customizer",
"disable-hosted-app-shim-creation",
"disable-hosted-apps-in-windows",
"disable-http2",
"disable-in-process-stack-traces",
"disable-infobars",
"disable-input-ime-api",
@ -431,6 +441,7 @@ const char* kBlacklist[] = {
"disable-proximity-auth-bluetooth-low-energy-discovery",
"disable-pull-to-refresh-effect",
"disable-push-api-background-mode",
"disable-quic",
"disable-reading-from-canvas",
"disable-remote-core-animation",
"disable-remote-fonts",
@ -447,12 +458,10 @@ const char* kBlacklist[] = {
"disable-setuid-sandbox",
"disable-shader-name-hashing",
"disable-shared-workers",
"disable-signin-promo",
"disable-signin-scoped-device-id",
"disable-single-click-autofill",
"disable-skia-runtime-opts",
"disable-slim-navigation-manager",
"disable-slimming-paint-invalidation",
"disable-smooth-scrolling",
"disable-software-rasterizer",
"disable-speech-api",
@ -477,11 +486,13 @@ const char* kBlacklist[] = {
"disable-virtual-keyboard-overscroll",
"disable-voice-input",
"disable-volume-adjust-sound",
"disable-vsync-for-tests",
"disable-wake-on-wifi",
"disable-web-notification-custom-layouts",
"disable-web-security",
"disable-webgl",
"disable-webgl-image-chromium",
"disable-webgl2",
"disable-webrtc-encryption",
"disable-webrtc-hw-decoding",
"disable-webrtc-hw-encoding",
@ -507,8 +518,6 @@ const char* kBlacklist[] = {
"dump-blink-runtime-call-stats",
"dump-browser-histograms",
"dump-dom",
"eafe-path",
"eafe-url",
"easy-unlock-app-path",
"edge-touch-filtering",
"egl",
@ -539,12 +548,14 @@ const char* kBlacklist[] = {
"enable-bookmark-undo",
"enable-browser-side-navigation",
"enable-browser-task-scheduler",
"enable-captive-portal-random-url",
"enable-cast-receiver",
"enable-checker-imaging",
"enable-chromevox-arc-support",
"enable-clear-browsing-data-counters",
"enable-cloud-print-proxy",
"enable-cloud-print-xps",
"enable-compositor-image-animations",
"enable-consumer-kiosk",
"enable-contextual-search",
"enable-crash-reporter",
@ -568,7 +579,6 @@ const char* kBlacklist[] = {
"enable-embedded-extension-options",
"enable-encryption-migration",
"enable-encryption-selection",
"enable-es3-apis",
"enable-exclusive-audio",
"enable-experimental-accessibility-features",
"enable-experimental-canvas-features",
@ -610,7 +620,6 @@ const char* kBlacklist[] = {
"enable-hung-renderer-infobar",
"enable-inband-text-tracks",
"enable-input-ime-api",
"enable-instant-tethering",
"enable-internal-media-session",
"enable-ios-handoff-to-other-devices",
"enable-layer-lists",
@ -624,10 +633,8 @@ const char* kBlacklist[] = {
"enable-low-res-tiling",
"enable-mac-views-native-app-windows",
"enable-main-frame-before-activation",
"enable-md-feedback",
"enable-media-suspend",
"enable-merge-key-char-events",
"enable-message-center-always-scroll-up-upon-notification-removal",
"enable-nacl",
"enable-nacl-debug",
"enable-nacl-nonsfi-mode",
@ -655,7 +662,6 @@ const char* kBlacklist[] = {
"enable-physical-keyboard-autocorrect",
"enable-picture-in-picture",
"enable-pinch",
"enable-pixel-canvas-recording",
"enable-pixel-output-in-tests",
"enable-plugin-placeholder-testing",
"enable-potentially-annoying-security-features",
@ -665,8 +671,8 @@ const char* kBlacklist[] = {
"enable-print-browser",
"enable-print-preview-register-promos",
"enable-profile-shortcut-manager",
"enable-profiling",
"enable-push-api-background-mode",
"enable-quic",
"enable-refresh-token-annotation-request",
"enable-request-tablet-site",
"enable-rgba-4444-textures",
@ -677,12 +683,11 @@ const char* kBlacklist[] = {
"enable-scroll-prediction",
"enable-service-manager-tracing",
"enable-sgi-video-sync",
"enable-signin-promo",
"enable-single-click-autofill",
"enable-site-settings",
"enable-skia-benchmarking",
"enable-slim-navigation-manager",
"enable-slimming-paint-invalidation",
"enable-slimming-paint-v175",
"enable-slimming-paint-v2",
"enable-smooth-scrolling",
"enable-spatial-navigation",
@ -696,7 +701,6 @@ const char* kBlacklist[] = {
"enable-strict-powerful-feature-restrictions",
"enable-suggestions-ui",
"enable-suggestions-with-substring-match",
"enable-supervised-user-managed-bookmarks-folder",
"enable-surface-synchronization",
"enable-swap-buffers-with-bounds",
"enable-sync-app-list",
@ -718,6 +722,7 @@ const char* kBlacklist[] = {
"enable-translate-new-ux",
"enable-ui-devtools",
"enable-use-zoom-for-dsf",
"enable-user-controlled-alternate-protocol-ports",
"enable-user-metrics",
"enable-usermedia-screen-capturing",
"enable-video-player-chromecast-support",
@ -728,8 +733,6 @@ const char* kBlacklist[] = {
"enable-vulkan",
"enable-wayland-server",
"enable-web-notification-custom-layouts",
"enable-webfonts-intervention-trigger",
"enable-webfonts-intervention-v2",
"enable-webgl-draft-extensions",
"enable-webgl-image-chromium",
"enable-webrtc-event-logging-from-extension",
@ -743,18 +746,15 @@ const char* kBlacklist[] = {
"enable-zero-copy",
"enable-zip-archiver-on-file-manager",
"enabled",
"enabled-2g",
"enabled-3g",
"enabled-new-style-notification",
"enabled-slow2g",
"encode-binary",
"enforce",
"enforce-gl-minimums",
"enforce-webrtc-ip-permission-check",
"enforce_strict",
"enterprise-disable-arc",
"enterprise-disable-license-type-selection",
"enterprise-enable-forced-re-enrollment",
"enterprise-enable-license-type-selection",
"enterprise-enable-zero-touch-enrollment",
"enterprise-enrollment-initial-modulus",
"enterprise-enrollment-modulus-limit",
@ -762,6 +762,8 @@ const char* kBlacklist[] = {
"evaluate-type",
"evaluate_capability",
"experiment",
"experiment2",
"experiment3",
"explicitly-allowed-ports",
"expose-internals-for-testing",
"extension-content-verification",
@ -881,6 +883,7 @@ const char* kBlacklist[] = {
"host",
"host-pairing-oobe",
"host-resolver-rules",
"host-rules",
"icu-data-dir",
"ignore-autocomplete-off-autofill",
"ignore-autoplay-restrictions",
@ -922,6 +925,7 @@ const char* kBlacklist[] = {
"local-heuristics-only-for-password-generation",
"local-ntp-reload",
"local-sync-backend-dir",
"log-file",
"log-gpu-control-list-decisions",
"log-level",
"log-net-log",
@ -944,6 +948,7 @@ const char* kBlacklist[] = {
"market-url-for-testing",
"mash",
"material",
"material-auto",
"material-design-ink-drop-animation-speed",
"material-hybrid",
"max-gum-fps",
@ -956,11 +961,12 @@ const char* kBlacklist[] = {
"memory-pressure-off",
"memory-pressure-thresholds",
"memory-pressure-thresholds-mb",
"message-center-changes-while-open",
"message-loop-type-ui",
"method",
"metrics-client-id",
"metrics-recording-only",
"mhtml-generator-option",
"minimal",
"mirror",
"mock",
"mojo-local-storage",
@ -969,7 +975,6 @@ const char* kBlacklist[] = {
"mse-audio-buffer-size-limit",
"mse-video-buffer-size-limit",
"mus",
"mus-config",
"mute-audio",
"nacl-broker",
"nacl-dangerous-no-sandbox-nonsfi",
@ -983,6 +988,7 @@ const char* kBlacklist[] = {
"need-arc-migration-policy-check",
"net-log-capture-mode",
"netifs-to-ignore",
"network",
"network-country-iso",
"network-settings-config",
"new-window",
@ -996,7 +1002,6 @@ const char* kBlacklist[] = {
"no-referrers",
"no-sandbox",
"no-service-autorun",
"no-session-id",
"no-startup-window",
"no-user-gesture-required",
"no-wifi",
@ -1024,8 +1029,8 @@ const char* kBlacklist[] = {
"oobe-guest-session",
"oobe-skip-postlogin",
"oobe-timer-interval",
"open-ash",
"opengraph",
"origin-to-force-quic-on",
"origin-trial-disabled-features",
"origin-trial-disabled-tokens",
"origin-trial-public-key",
@ -1046,6 +1051,8 @@ const char* kBlacklist[] = {
"parent-window",
"passive-listeners-default",
"password-store",
"pdf_compositor",
"pen-devices",
"permission-request-api-scope",
"permission-request-api-url",
"ppapi",
@ -1066,7 +1073,7 @@ const char* kBlacklist[] = {
"process-per-tab",
"product-version",
"profile-directory",
"profiler-timing",
"profiling",
"profiling-at-start",
"profiling-file",
"profiling-flush",
@ -1079,11 +1086,13 @@ const char* kBlacklist[] = {
"proxy-server",
"pull-to-refresh",
"q",
"quic-connection-options",
"quic-max-packet-length",
"quic-version",
"rdp_desktop_session",
"reader-mode-feedback",
"reader-mode-heuristics",
"rebaseline-pixel-tests",
"record-type",
"reduce-security-for-testing",
"reduced-referrer-granularity",
"register-font-files",
@ -1119,6 +1128,7 @@ const char* kBlacklist[] = {
"safebrowsing-manual-download-blacklist",
"sandbox-ipc",
"save-page-as-mhtml",
"save-previous-document-resources",
"screen-config",
"screenshot",
"script-executable",
@ -1133,12 +1143,12 @@ const char* kBlacklist[] = {
"service-pipe-token",
"service-request-channel-token",
"service-runner",
"service-sandbox-type",
"shared-files",
"shill-stub",
"show-app-list",
"show-autofill-signatures",
"show-autofill-type-predictions",
"show-cert-link",
"show-component-extension-options",
"show-composited-layer-borders",
"show-fps-counter",
@ -1258,6 +1268,7 @@ const char* kBlacklist[] = {
"touch-noise-filtering",
"touch-selection-strategy",
"touch_view",
"touchscreen-usable-while-screen-off",
"trace-config-file",
"trace-export-events-to-etw",
"trace-shutdown",
@ -1279,6 +1290,7 @@ const char* kBlacklist[] = {
"try-supported-channel-layouts",
"type",
"ui-disable-partial-swap",
"ui-disable-zero-copy",
"ui-enable-layer-lists",
"ui-enable-rgba-4444-textures",
"ui-enable-zero-copy",
@ -1312,6 +1324,7 @@ const char* kBlacklist[] = {
"use-mobile-user-agent",
"use-mock-keychain",
"use-passthrough-cmd-decoder",
"use-simple-cache-backend",
"use-skia-renderer",
"use-system-default-printer",
"use-test-config",
@ -1325,7 +1338,6 @@ const char* kBlacklist[] = {
"utility-allowed-dir",
"utility-cmd-prefix",
"utility-run-elevated",
"utility-sandbox-type",
"utility-startup-dialog",
"v",
"v2-sandbox",
@ -1350,6 +1362,7 @@ const char* kBlacklist[] = {
"watcher",
"waveout-buffers",
"webapk-server-url",
"webrtc-max-cpu-consumption-percentage",
"webrtc-stun-probe-trial",
"webview-enable-safebrowsing-support",
"webview-sandboxed-renderer",