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

Method json

github-actions/browserstack/set-browserstack-env.js:12689–12701  ·  view source on GitHub ↗
(data, init = {})

Source from the content-addressed store, hash-verified

12687 return getHeadersList(V).entriesList;
12688 } catch (e) {
12689 }
12690 }
12691 if (typeof iterator === "function") {
12692 return webidl.converters["sequence<sequence<ByteString>>"](V, prefix, argument, iterator.bind(V));
12693 }
12694 return webidl.converters["record<ByteString, ByteString>"](V, prefix, argument);
12695 }
12696 throw webidl.errors.conversionFailed({
12697 prefix: "Headers constructor",
12698 argument: "Argument 1",
12699 types: ["sequence<sequence<ByteString>>", "record<ByteString, ByteString>"]
12700 });
12701 };
12702 module.exports = {
12703 fill,
12704 // for test.

Callers

nothing calls this directly

Calls 5

extractBodyFunction · 0.70
fromInnerResponseFunction · 0.70
makeResponseFunction · 0.70
initializeResponseFunction · 0.70

Tested by

no test coverage detected