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

Function isErrorLike

github-actions/saucelabs/set-saucelabs-env.js:4284–4287  ·  view source on GitHub ↗
(object)

Source from the content-addressed store, hash-verified

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)) {
4287 return "blocked";
4288 }
4289 return "allowed";
4290 }

Callers 2

makeNetworkErrorFunction · 0.70
onAbortedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected