MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / leak

Function leak

javascript/selenium-webdriver/project_bidi_schema.mjs:519–520  ·  view source on GitHub ↗
(where, r)

Source from the content-addressed store, hash-verified

517 .map(([n]) => n),
518 )
519 const leak = (where, r) =>
520 errors.push(`${where}: correlated union ${r} is reachable as a value (needs a payload selector)`)
521 for (const [name, node] of Object.entries(schema.types)) {
522 if (node.kind === 'record') {
523 const envelopeRoot = envelopeResultUnion(node, schema.types)

Callers 2

new_with_nameMethod · 0.85
checkSchemaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected