docs(conformance): the README advertised two things the kit does not do #53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/conformance-readme-media"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Self-review of what I merged in #51. The conformance README advertised two things the kit does not do.
1. A
mediarole that doesn't exist. The suites table listsmedia/media-sanity, butrun.mjs'sROLESmap is{signaling, cdp, full}. So--role=mediaexits 2 with "must be one of signaling | cdp | full" — a reader following the table hits a usage error on their first command.2. "
Cb.*presence" attributed to the cdp suite. It doesn't check that. The only mentions ofCb.*incdp-surface.mjsare comments explaining why/json/protocol— the natural way to enumerate them — is deliberately not probed, because it CHECK-FATALs the worker.Fixed by making the doc match the code, not by adding hand-wave checks to match the doc. The media suite is now described as not-implemented, with why (it needs a real PeerConnection against the running deployment — a bigger lift that belongs with wiring
verification/'s boot harness into a live media path) and what happens meanwhile (usage error, not a silent no-op).A conformance kit whose own README overstates its coverage is precisely the failure mode it exists to catch. Worth fixing before anyone runs it.
node --test conformance/__tests__/*.test.mjsstill 23/23.