:warning:
This repository is related to Chrome DevTools Protocol, but does not track issues regarding its definition or implementation.
If you want to file an issue for the Chrome DevTools Protocol, please open an issue on https://crbug.com under component: Platform>DevTools>Platform.
The .pdl files, the json/ files and the TypeScript definitions in types/
are all generated by scripts/update-to-latest.sh,
which runs daily. Do not edit them by hand.
The TypeScript generator itself lives in Chromium, at
//third_party/blink/public/devtools_protocol/scripts/protocol_dts_generator.ts,
so that Chromium and this repo share a single source of truth. It is fetched
into tmp/chromium/ by the sparse checkout in update-to-latest.sh. Changes to
the generator should be made in Chromium.
To regenerate types/ against an existing local Chromium checkout:
cd scriptsCHROMIUM_PROTOCOL_SCRIPTS_DIR=/path/to/src/third_party/blink/public/devtools_protocol/scripts \ npm run build-protocol-dts