chromium/third_party/blink/web_tests/FlagSpecificConfig

[
  {
    "name": "back-forward-cache",
    "args": ["--enable-features=BackForwardCache"]
  },
  {
    "name": "background-resource-fetch",
    "args": ["--enable-features=BackgroundResourceFetch"],
    "smoke_file": "TestLists/background-resource-fetch"
  },
  {
    "name": "chrome-for-testing",
    "args": [],
    "comments": [
      "Used to gate Chrome for Testing (goo.gle/chrome-for-testing) ",
      "expectation differences. Does not require a runtime flag."
    ]
  },
  {
    "name": "devtools-tab-target",
    "args": ["--content-shell-devtools-tab-target"]
  },
  {
    "name": "disable-site-isolation-trials",
    "args": ["--disable-site-isolation-trials"]
  },
  {
    "name": "enable-blink-heap-concurrent-marking",
    "args": ["--enable-features=BlinkHeapConcurrentMarking"]
  },
  {
    "name": "enable-percent-based-scrolling",
    "args": ["--enable-features=PercentBasedScrolling"]
  },
  {
    "name": "force-renderer-accessibility",
    "args": ["--force-renderer-accessibility"]
  },
  {
    "name": "future-js",
    "args": ["--js-flags=--future"]
  },
  {
    "name": "new-system-colors",
    "args": ["--enable-blink-features=NewSystemColors"]
  },
  {
    "name": "highdpi",
    "args": ["--force-device-scale-factor=1.5"],
    "smoke_file": "TestLists/highdpi"
  },
  {
    "name": "skia-vulkan-swiftshader",
    "args": [
          "--enable-gpu-rasterization",
          "--enable-features=Vulkan",
          "--use-vulkan=swiftshader",
          "--disable-vulkan-fallback-to-gl-for-testing"
    ],
    "smoke_file": "TestLists/skia-vulkan-swiftshader"
  },
  {
    "name": "webgpu",
    "args": [
          "--enable-unsafe-webgpu",
          "--enable-dawn-features=allow_unsafe_apis",
          "--disable-dawn-features=use_dxc",
          "--enable-webgpu-developer-features",
          "--use-gpu-in-tests",
          "--enable-accelerated-2d-canvas",
          "--use-webgpu-power-preference=default-high-performance"
    ],
    "comments": [
          "--enable-unsafe-webgpu makes sure WebGPU is enabled even if it",
          "isn't launched in stable on that configuration yet",
          "--enable-dawn-features=allow_unsafe_apis is added so 'unsafe'",
          "APIs can be tested with WebGPU CTS",
          "--enable-webgpu-developer-features exposes extra WebGPU API",
          "features useful for testing but not generally available.",
          "--use-gpu-in-tests is needed to initialize ANGLE, which in turn is",
          "needed to tell Dawn which ANGLE adapter Chromium is using. This",
          "helps match the test behavior with the browser.",
          "--enable-accelerated-2d-canvas ensures that the canvas reference",
          "tests are using GPU rather than CPU",
          "--use-webgpu-power-preference=default-high-performance indicates",
          "it uses high-performance gpu when not explicitly specified"
    ]
  },
  {
    "name": "webgpu-swiftshader",
    "args": [
          "--enable-unsafe-webgpu",
          "--use-webgpu-adapter=swiftshader",
          "--enable-dawn-features=allow_unsafe_apis",
          "--disable-dawn-features=use_dxc",
          "--enable-webgpu-developer-features",
          "--use-gpu-in-tests",
          "--enable-accelerated-2d-canvas"
    ],
    "comments": [
          "--enable-unsafe-webgpu makes sure WebGPU is enabled even if it",
          "isn't launched in stable on that configuration yet",
          "--enable-dawn-features=allow_unsafe_apis is added so 'unsafe'",
          "APIs can be tested with WebGPU CTS",
          "--enable-webgpu-developer-features exposes extra WebGPU API",
          "features useful for testing but not generally available.",
          "--use-webgpu-adapter=swiftshader forces usage for the SwiftShader adapter",
          "--use-gpu-in-tests is needed to initialize ANGLE, which in turn is",
          "needed to tell Dawn which ANGLE adapter Chromium is using. This",
          "helps match the test behavior with the browser.",
          "--enable-accelerated-2d-canvas ensures that the canvas reference",
          "tests are using GPU rather than CPU"
    ]
  },
  {
    "name": "webgpu-swiftshader-with-backend-validation",
    "args": [
          "--enable-unsafe-webgpu",
          "--use-webgpu-adapter=swiftshader",
          "--enable-dawn-backend-validation",
          "--enable-dawn-features=allow_unsafe_apis",
          "--disable-dawn-features=use_dxc",
          "--enable-webgpu-developer-features",
          "--use-gpu-in-tests",
          "--enable-accelerated-2d-canvas"
    ],
    "comments": [
          "--enable-unsafe-webgpu makes sure WebGPU is enabled even if it",
          "isn't launched in stable on that configuration yet",
          "--enable-dawn-features=allow_unsafe_apis is added so 'unsafe'",
          "APIs can be tested with WebGPU CTS",
          "--enable-webgpu-developer-features exposes extra WebGPU API",
          "features useful for testing but not generally available.",
          "--use-webgpu-adapter=swiftshader forces usage for the SwiftShader adapter",
          "--use-gpu-in-tests is needed to initialize ANGLE, which in turn is",
          "needed to tell Dawn which ANGLE adapter Chromium is using. This",
          "helps match the test behavior with the browser.",
          "--enable-accelerated-2d-canvas ensures that the canvas reference",
          "tests are using GPU rather than CPU"
    ]
  },
  {
    "name": "webgpu-with-backend-validation",
    "args": [
          "--enable-unsafe-webgpu",
          "--enable-dawn-backend-validation",
          "--enable-dawn-features=allow_unsafe_apis",
          "--disable-dawn-features=use_dxc",
          "--enable-webgpu-developer-features",
          "--use-gpu-in-tests",
          "--enable-accelerated-2d-canvas",
          "--use-webgpu-power-preference=default-high-performance"
    ],
    "comments": [
          "--enable-unsafe-webgpu makes sure WebGPU is enabled even if it",
          "isn't launched in stable on that configuration yet",
          "--enable-dawn-features=allow_unsafe_apis is added so 'unsafe'",
          "APIs can be tested with WebGPU CTS",
          "--enable-webgpu-developer-features exposes extra WebGPU API",
          "features useful for testing but not generally available.",
          "--use-gpu-in-tests is needed to initialize ANGLE, which in turn is",
          "needed to tell Dawn which ANGLE adapter Chromium is using. This",
          "helps match the test behavior with the browser.",
          "--enable-accelerated-2d-canvas ensures that the canvas reference",
          "tests are using GPU rather than CPU",
          "--use-webgpu-power-preference=default-high-performance indicates",
          "it uses high-performance gpu when not explicitly specified"
    ]
  },
  {
    "name": "webgpu-with-partial-backend-validation",
    "args": [
          "--enable-unsafe-webgpu",
          "--enable-dawn-backend-validation=partial",
          "--enable-dawn-features=allow_unsafe_apis",
          "--disable-dawn-features=use_dxc",
          "--enable-webgpu-developer-features",
          "--use-gpu-in-tests",
          "--enable-accelerated-2d-canvas",
          "--use-webgpu-power-preference=default-high-performance"
    ],
    "comments": [
          "--enable-unsafe-webgpu makes sure WebGPU is enabled even if it",
          "isn't launched in stable on that configuration yet",
          "--enable-dawn-features=allow_unsafe_apis is added so 'unsafe'",
          "APIs can be tested with WebGPU CTS",
          "--enable-webgpu-developer-features exposes extra WebGPU API",
          "features useful for testing but not generally available.",
          "--use-gpu-in-tests is needed to initialize ANGLE, which in turn is",
          "needed to tell Dawn which ANGLE adapter Chromium is using. This",
          "helps match the test behavior with the browser.",
          "--enable-accelerated-2d-canvas ensures that the canvas reference",
          "tests are using GPU rather than CPU",
          "--use-webgpu-power-preference=default-high-performance indicates",
          "it uses high-performance gpu when not explicitly specified"
    ]
  },
  {
    "name": "enable-skia-graphite",
    "args": [
      "--enable-skia-graphite"
    ],
    "comments": [
      "Used to test Chrome with Skia Graphite."
    ]
  }
]