← all corpora

whatwg-webidl

reference corpus · status live · domain WEB (Web and frontend platform) · lane A · refresh pinned · tags GLOBAL · WEBIDL · INTERFACE-DEFINITION · BINDINGS · WHATWG · SPEC

What an agent uses it for

an agent implementing or calling web APIs queries this for Web IDL's type system and the binding rules every browser interface is defined with.

Use it
curl -fsSLO https://raw.githubusercontent.com/xerj-org/xerj/corpus-hub/tools/xerj-code/hub/whatwg-webidl.json
xerj corpus add --from ./whatwg-webidl.json
xerj corpus index whatwg-webidl then xerj code whatwg-webidl "your question"

Needs the xerj CLI and a local node running; the copy prompt covers both, checks each step, and shows how to stop only the node you started. No shell: the MCP tool xerj_code_search with corpus: "whatwg-webidl", once the corpus is indexed on the node.

Sources and pins

sourcepinlicencesizereview note
webidl 0620cf171d1bCC-BY-4.0 7.2 MB / 26 files Decoded LICENSE byte-identical to whatwg-html (md5 7c81f45): CC-BY-4.0 prose + BSD-3-Clause code snippets. Live, not archived. Attribute WHATWG.

7.2 MB across 26 files. Added 2026-10-13.

Rights

CC-BY-4.0. Redistribution permitted with attribution per the licence review. The review block records a human opening each licence file at the pin. Detector output is a hint, never the verdict.

Retrieval spot-check (G7)

Not yet spot-checked. Queries are pre-registered in the registry before grading.