MCPcopy Create free account
hub / github.com/angular/dev-infra / error

Method error

github-actions/browserstack/set-browserstack-env.js:12684–12687  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12682 webidl.brandCheck(this, _Headers);
12683 webidl.argumentLengthCheck(arguments, 1, "Headers.has");
12684 const prefix = "Headers.has";
12685 name = webidl.converters.ByteString(name, prefix, "name");
12686 if (!isValidHeaderName(name)) {
12687 throw webidl.errors.invalidArgument({
12688 prefix,
12689 value: name,
12690 type: "header name"

Callers 4

index.tsFile · 0.45
onAbortedFunction · 0.45
main.tsFile · 0.45

Calls 2

fromInnerResponseFunction · 0.70
makeNetworkErrorFunction · 0.70

Tested by

no test coverage detected