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

Function onSocketError

github-actions/browserstack/set-browserstack-env.js:17672–17679  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

17670 this.frameData = data;
17671 }
17672 createFrame(opcode) {
17673 var _a;
17674 const frameData = this.frameData;
17675 const maskKey = generateMask();
17676 const bodyLength = (_a = frameData == null ? void 0 : frameData.byteLength) != null ? _a : 0;
17677 let payloadLength = bodyLength;
17678 let offset = 6;
17679 if (bodyLength > maxUnsigned16Bit) {
17680 offset += 8;
17681 payloadLength = 127;
17682 } else if (bodyLength > 125) {

Callers

nothing calls this directly

Calls 1

destroyMethod · 0.45

Tested by

no test coverage detected