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

Function isValidOpcode

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

Source from the content-addressed store, hash-verified

17361 if (type === opcodes.TEXT) {
17362 try {
17363 dataForEvent = utf8Decode(data);
17364 } catch (e) {
17365 failWebsocketConnection(ws, "Received invalid UTF-8 in text frame.");
17366 return;
17367 }
17368 } else if (type === opcodes.BINARY) {

Callers 1

runMethod · 0.70

Calls 3

isTextBinaryFrameFunction · 0.70
isContinuationFrameFunction · 0.70
isControlFrameFunction · 0.70

Tested by

no test coverage detected