The documentation for this directory is at:

WPT Configuration

There are some special files under this directory for adapting web platform tests for Blink:

  • web_tests/external/wpt/config.json: wptserve configuration file for overriding default routes and ports. Note that filesystem paths are relative to blink/web_tests, where wptserve runs. When changing the ports (HTTP/S, WS/S), make sure to also:
    • Update WPT_HOST_AND_PORTS in //third_party/blink/tools/blinkpy/web_tests/port/driver.py
    • Update WebTestContentBrowserClient::GetOriginsRequiringDedicatedProcess
  • web_tests/wptrunner.blink.ini: Describes WPT tests other than external/wpt, which is automatically mapped to the document root http://web-platform.test/. Note that this config is only ingested by wptrunner; run_web_tests.py automatically recognizes all tests under web_tests/.