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

Function leak

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

Source from the content-addressed store, hash-verified

807 .map(([n]) => n),
808 )
809 const leak = (where, r) =>
810 errors.push(`${where}: correlated union ${r} is reachable as a value (needs a payload selector)`)
811 for (const [name, node] of Object.entries(schema.types)) {
812 if (node.kind === 'record') {
813 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