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

Function isTextBinaryFrame

github-actions/saucelabs/set-saucelabs-env.js:17360–17362  ·  view source on GitHub ↗
(opcode)

Source from the content-addressed store, hash-verified

17358 return;
17359 }
17360 let dataForEvent;
17361 if (type === opcodes.TEXT) {
17362 try {
17363 dataForEvent = utf8Decode(data);
17364 } catch (e) {
17365 failWebsocketConnection(ws, "Received invalid UTF-8 in text frame.");

Callers 2

isValidOpcodeFunction · 0.70
runMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected