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

Function coarsenTime

github-actions/browserstack/set-browserstack-env.js:4364–4366  ·  view source on GitHub ↗
(timestamp, crossOriginIsolatedCapability)

Source from the content-addressed store, hash-verified

4362 var _a, _b;
4363 return object instanceof Error || (((_a = object == null ? void 0 : object.constructor) == null ? void 0 : _a.name) === "Error" || ((_b = object == null ? void 0 : object.constructor) == null ? void 0 : _b.name) === "DOMException");
4364 }
4365 function isValidReasonPhrase(statusText) {
4366 for (let i = 0; i < statusText.length; ++i) {
4367 const c = statusText.charCodeAt(i);
4368 if (!(c === 9 || // HTAB
4369 c >= 32 && c <= 126 || // SP / VCHAR

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected