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

Function requestBadPort

github-actions/browserstack/set-browserstack-env.js:4277–4283  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

4275 }
4276 return true;
4277 }
4278 function normalizeBinaryStringToUtf8(value) {
4279 return Buffer.from(value, "binary").toString("utf8");
4280 }
4281 function requestCurrentURL(request) {
4282 return request.urlList[request.urlList.length - 1];
4283 }
4284 function requestBadPort(request) {
4285 const url = requestCurrentURL(request);
4286 if (urlIsHttpHttpsScheme(url) && badPortsSet.has(url.port)) {

Callers 1

mainFetchFunction · 0.70

Calls 3

requestCurrentURLFunction · 0.70
urlIsHttpHttpsSchemeFunction · 0.70
hasMethod · 0.45

Tested by

no test coverage detected